aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-02-12 21:29:23 +0100
committeremersion <contact@emersion.fr>2018-02-12 21:29:23 +0100
commitc2e147401048aa53aebd52f1851b1da8c91043a3 (patch)
tree8ea1a2b6a0414fd7904824ffac330cd4e1e96ca2 /util
parent36ead80cd19b4c1773b894750ecf7fcec63f9b9b (diff)
Reformat all #include directives
Diffstat (limited to 'util')
-rw-r--r--util/log.c2
-rw-r--r--util/os-compatibility.c10
-rw-r--r--util/region.c2
3 files changed, 7 insertions, 7 deletions
diff --git a/util/log.c b/util/log.c
index e0b6a132..327402e6 100644
--- a/util/log.c
+++ b/util/log.c
@@ -3,9 +3,9 @@
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
#include <string.h>
#include <time.h>
+#include <unistd.h>
#include <wlr/util/log.h>
static bool colored = true;
diff --git a/util/os-compatibility.c b/util/os-compatibility.c
index 98aeab3d..bd3067d2 100644
--- a/util/os-compatibility.c
+++ b/util/os-compatibility.c
@@ -24,13 +24,13 @@
*/
#define _XOPEN_SOURCE 700
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <unistd.h>
-#include <fcntl.h>
#include <errno.h>
-#include <string.h>
+#include <fcntl.h>
#include <stdlib.h>
+#include <string.h>
+#include <sys/socket.h>
+#include <sys/types.h>
+#include <unistd.h>
#include "util/os-compatibility.h"
int os_fd_set_cloexec(int fd) {
diff --git a/util/region.c b/util/region.c
index 1bde0cb8..88e38fd2 100644
--- a/util/region.c
+++ b/util/region.c
@@ -1,5 +1,5 @@
-#include <stdlib.h>
#include <math.h>
+#include <stdlib.h>
#include <wlr/util/region.h>
void wlr_region_scale(pixman_region32_t *dst, pixman_region32_t *src,