[hackers] [slock] move config.h inclusion after type declarations || Markus Teich

From: <git_AT_suckless.org>
Date: Sun, 20 Nov 2016 01:04:19 +0100 (CET)

commit 7d31ff65a0b0388f788ca6932c815ab29e5fb10f
Author: Markus Teich <markus.teich_AT_stusta.mhn.de>
AuthorDate: Sun Nov 20 00:29:01 2016 +0100
Commit: Markus Teich <markus.teich_AT_stusta.mhn.de>
CommitDate: Sun Nov 20 00:29:01 2016 +0100

    move config.h inclusion after type declarations

diff --git a/slock.c b/slock.c
index ad539dc..d2f0886 100644
--- a/slock.c
+++ b/slock.c
_AT_@ -31,8 +31,6 @@ enum {
         NUMCOLS
 };
 
-#include "config.h"
-
 struct lock {
         int screen;
         Window root, win;
_AT_@ -46,6 +44,8 @@ struct xrandr {
         int errbase;
 };
 
+#include "config.h"
+
 static void
 die(const char *errstr, ...)
 {
Received on Sun Nov 20 2016 - 01:04:19 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 20 2016 - 01:12:18 CET