move config.h inclusion after type declarations - slock - simple X display locker utility
(HTM) git clone git://git.suckless.org/slock
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 7d31ff65a0b0388f788ca6932c815ab29e5fb10f
(DIR) parent 597469541c10fdb8920ed190b72763b0719e5cb5
(HTM) Author: Markus Teich <markus.teich@stusta.mhn.de>
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(-)
---
(DIR) 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, ...)
{