From b87a48e40bf623ea9735c61f75c24b0a28a89308 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 8 Sep 2021 15:42:15 -0400 Subject: [PATCH] re-apply clang-format --- src/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils.cpp b/src/utils.cpp index b45868baba..8455c334de 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -33,8 +33,8 @@ #endif #if defined(__APPLE__) +#include // for fcntl #include -#include // for fcntl #endif /*! \file utils.cpp */ @@ -170,7 +170,7 @@ const char *utils::guesspath(char *buf, int len, FILE *fp) #elif defined(__APPLE__) int fd = fileno(fp); char filepath[PATH_MAX]; - if (fcntl(fd,F_GETPATH,filepath) != -1) + if (fcntl(fd, F_GETPATH, filepath) != -1) strncpy(buf, filepath, len - 1); else strncpy(buf, "(unknown)", len - 1);