move config.h inclusion after type declarations - slock - simple X display lock… | |
git clone git://git.suckless.org/slock | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 7d31ff65a0b0388f788ca6932c815ab29e5fb10f | |
parent 597469541c10fdb8920ed190b72763b0719e5cb5 | |
Author: Markus Teich <[email protected]> | |
Date: Sun, 20 Nov 2016 00:29:01 +0100 | |
move config.h inclusion after type declarations | |
Diffstat: | |
M slock.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git 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, ...) | |
{ |