Properly declare buf as extern and fix all unused-warnings
This commit is contained in:

committed by
Aaron Marcher

parent
eea99fc0ac
commit
914440b4fc
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user