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
No known key found for this signature in database
GPG key ID: 74B048E5C2474F9A
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))