aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/dbg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dbg.h b/src/dbg.h
index b6569ff..2f78c6e 100644
--- a/src/dbg.h
+++ b/src/dbg.h
@@ -44,4 +44,7 @@
} \
})
+/* A neat macro that silences unused parameter warnings compiler independant */
+#define UNUSED(x) (void)(x)
+
#endif