Properly declare buf as extern and fix all unused-warnings

This commit is contained in:
Laslo Hunhold
2017-09-17 17:21:54 +02:00
committed by Aaron Marcher
parent eea99fc0ac
commit 914440b4fc
3 changed files with 6 additions and 3 deletions

2
util.h
View File

@ -1,4 +1,4 @@
static char buf[1024];
extern char buf[1024];
#define LEN(x) (sizeof (x) / sizeof *(x))