summaryrefslogtreecommitdiff
path: root/firmware/include/asm/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/asm/compiler.h')
-rw-r--r--firmware/include/asm/compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/include/asm/compiler.h b/firmware/include/asm/compiler.h
index de4dfaa..08b6bae 100644
--- a/firmware/include/asm/compiler.h
+++ b/firmware/include/asm/compiler.h
@@ -4,4 +4,6 @@
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
+#define __unused __attribute__((unused))
+
#endif
personal git repositories of Harald Welte. Your mileage may vary