diff --git a/common/exports.c b/common/exports.c
index 60bba750f75990cc4f0b644ec49df6c42db55cc0..ceee73a13ef4d74d739463c293c63ade9395d58b 100644
--- a/common/exports.c
+++ b/common/exports.c
@@ -3,7 +3,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-static void dummy(void)
+__attribute__((unused)) static void dummy(void)
 {
 }