]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
clang-format 3497/head
authorEdgar Fuß <ef@math.uni-bonn.de>
Thu, 9 Jul 2020 14:30:02 +0000 (16:30 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2020 14:30:02 +0000 (16:30 +0200)
Re-order #includes for the sake of appeasing clang-format. Fortunately, it still compiles that way.

src/entropy.c

index 8e0a5a955e5e7e44372c986c1434e2288ca2d1c6..393f14b74efc87309c92349c376acb12e52b1860 100644 (file)
@@ -60,10 +60,10 @@ static int entropy_read(void) {
  * will end up opening /dev/urandom lots of times.
  */
 
-#include <sys/types.h>
 #include <sys/ioctl.h>
 #include <sys/param.h>
 #include <sys/rnd.h>
+#include <sys/types.h>
 #if HAVE_SYS_RNDIO_H
 #include <sys/rndio.h>
 #endif