summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-05-17 18:29:25 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-17 18:29:25 +0200
commitfc8b6f81a54810faa844ea21d08ef47f95b8f4e0 (patch)
treea93c8731d9892dfe862f8ea2e178f06512da4ef6 /util.h
parent977be0cf4f369f586d0606887498066ee0565e2f (diff)
Mark unused parameters, fix compiler warnings
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index e90c29d..53e4104 100644
--- a/util.h
+++ b/util.h
@@ -3,5 +3,7 @@ extern char buf[1024];
#define LEN(x) (sizeof (x) / sizeof *(x))
+#define UNUSED(x) (void)x
+
const char *bprintf(const char *fmt, ...);
int pscanf(const char *path, const char *fmt, ...);