summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index cb5e16c..00af94d 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -70,6 +70,12 @@
#define STYLE_NORMAL 0
#define STYLE_INVERSE 1
+#ifdef __GNUC__
+#define UNUSED __attribute__ ((unused))
+#else
+#define UNUSED
+#endif
+
/* The list of groups. */
extern struct list_head rp_groups;