From: Dagobert Michelsen Date: Tue, 18 Feb 2020 15:56:21 +0000 (+0100) Subject: Apply clang-format to src/nfs.c X-Git-Tag: collectd-5.11.0~43^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9e6f480e56f79b2e6eeeb8ea09c2b04d54a349f;p=thirdparty%2Fcollectd.git Apply clang-format to src/nfs.c --- diff --git a/src/nfs.c b/src/nfs.c index b7c74df91..cbb4d1df9 100644 --- a/src/nfs.c +++ b/src/nfs.c @@ -28,12 +28,17 @@ #include "utils/common/common.h" #if KERNEL_NETBSD +// clang-format off +/* + * Explicit order is required or it will not compile, see GitHub issue #3333 + */ #include #include #include #include #include #include +// clang-format on #endif #if HAVE_KSTAT_H @@ -633,7 +638,7 @@ static int nfs_read(void) { return 0; } -/* #endif KERNEL_NETBSD */ + /* #endif KERNEL_NETBSD */ #elif HAVE_LIBKSTAT static int nfs_read(void) {