summaryrefslogtreecommitdiffstats
path: root/power-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'power-common.h')
-rw-r--r--power-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/power-common.h b/power-common.h
index 697302a..f586f09 100644
--- a/power-common.h
+++ b/power-common.h
@@ -62,6 +62,8 @@ void power_init(void);
void power_hint(power_hint_t hint, void *data);
void set_interactive(int on);
+#define UNUSED(x) UNUSED_ ## x __attribute__((__unused__))
+
#ifdef __cplusplus
}
#endif