From: Markus Teich Date: Sat, 19 Nov 2016 23:29:01 +0000 (+0100) Subject: move config.h inclusion after type declarations X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=7d31ff65a0b0388f788ca6932c815ab29e5fb10f;p=slock.git 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 @@ -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, ...) {