diff --git a/dwmblocks.c b/dwmblocks.c index bcdcede..7b048e0 100644 --- a/dwmblocks.c +++ b/dwmblocks.c @@ -23,6 +23,8 @@ typedef struct { char cmdoutprv[CMDLENGTH]; } Block; +#include "blocks.h" + static void buttonhandler(int signal, siginfo_t *si, void *ucontext); static void getcmd(Block *block, int *sigval); static void setroot(); @@ -33,8 +35,6 @@ static void termhandler(int signum); static int updatestatus(); static void writepid(); -#include "blocks.h" - static int statusContinue = 1; static char statusstr[STTLENGTH]; static size_t delimlength;