summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h
index cc0e4562..414e8b6c 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -5,9 +5,11 @@
#ifdef __GNUC__
#define GCC_CHECK_FORMAT(a,b) __attribute__ ((format (printf, a, b)))
#define GCC_NORETURN __attribute__ ((__noreturn__))
+#define GCC_UNUSED __attribute__ ((__unused__))
#else
#define GCC_CHECK_FORMAT(a,b)
#define GCC_NORETURN
+#define GCC_UNUSED
#endif
/* admin */