diff options
author | Laslo Hunhold <dev@frign.de> | 2017-09-17 17:21:54 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2017-09-17 17:38:07 +0200 |
commit | 914440b4fc3c5ecb7d9eedf4da6f2a1c7ec2e7a9 (patch) | |
tree | 71942ac1780cac03dc72b4a0326e220f1f293acb /slstatus.c | |
parent | eea99fc0ac0ca9333863fca80062f22fdd953468 (diff) |
Properly declare buf as extern and fix all unused-warnings
Diffstat (limited to 'slstatus.c')
-rw-r--r-- | slstatus.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -10,6 +10,7 @@ #include <X11/Xlib.h> #include "arg.h" +#include "slstatus.h" #include "util.h" struct arg { @@ -19,15 +20,17 @@ struct arg { }; char *argv0; +char buf[1024]; static unsigned short int done; static Display *dpy; -#include "slstatus.h" #include "config.h" static void terminate(const int signo) { + (void)signo; + done = 1; } |