Properly declare buf as extern and fix all unused-warnings

This commit is contained in:
Laslo Hunhold authored and Aaron Marcher committed 2017-09-17 17:38:07 +02:00
1 parent eea99fc0ac
commit 914440b4fc
3 files changed
+6 -3

No files matched your search

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