summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorLaslo Hunhold <dev@frign.de>2017-09-17 17:21:54 +0200
committerAaron Marcher <me@drkhsh.at>2017-09-17 17:38:07 +0200
commit914440b4fc3c5ecb7d9eedf4da6f2a1c7ec2e7a9 (patch)
tree71942ac1780cac03dc72b4a0326e220f1f293acb /util.h
parenteea99fc0ac0ca9333863fca80062f22fdd953468 (diff)
Properly declare buf as extern and fix all unused-warnings
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 6f47e85..8321f9d 100644
--- 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))