summaryrefslogtreecommitdiff
path: root/slstatus.c
diff options
context:
space:
mode:
Diffstat (limited to 'slstatus.c')
-rw-r--r--slstatus.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/slstatus.c b/slstatus.c
index b4eb761..89a3268 100644
--- a/slstatus.c
+++ b/slstatus.c
@@ -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;
}