Properly declare buf as extern and fix all unused-warnings
This commit is contained in:
parent
eea99fc0ac
commit
914440b4fc
3 changed files with 6 additions and 3 deletions
2
util.h
2
util.h
|
@ -1,4 +1,4 @@
|
|||
static char buf[1024];
|
||||
extern char buf[1024];
|
||||
|
||||
#define LEN(x) (sizeof (x) / sizeof *(x))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue