]> git.armaanb.net Git - slock.git/commitdiff
move config.h inclusion after type declarations
authorMarkus Teich <markus.teich@stusta.mhn.de>
Sat, 19 Nov 2016 23:29:01 +0000 (00:29 +0100)
committerMarkus Teich <markus.teich@stusta.mhn.de>
Sat, 19 Nov 2016 23:29:01 +0000 (00:29 +0100)
slock.c

diff --git a/slock.c b/slock.c
index ad539dc123c169e46a43322104fd38cee0d14b48..d2f08862453615c3131332273fbd1d0187f4195c 100644 (file)
--- a/slock.c
+++ b/slock.c
@@ -31,8 +31,6 @@ enum {
        NUMCOLS
 };
 
-#include "config.h"
-
 struct lock {
        int screen;
        Window root, win;
@@ -46,6 +44,8 @@ struct xrandr {
        int errbase;
 };
 
+#include "config.h"
+
 static void
 die(const char *errstr, ...)
 {