Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
Properly declare buf as extern and fix all unused-warnings
[slstatus.git]
/
util.h
diff --git
a/util.h
b/util.h
index
6f47e85
..
8321f9d
100644
(file)
--- a/
util.h
+++ b/
util.h
@@
-1,4
+1,4
@@
-
static
char buf[1024];
+
extern
char buf[1024];
#define LEN(x) (sizeof (x) / sizeof *(x))