summaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/init/init.c b/init/init.c
index cad64f6..607a1f3 100644
--- a/init/init.c
+++ b/init/init.c
@@ -173,10 +173,7 @@ static void loop_forever(void)
#if ENABLE_DEBUG_INIT
#define messageD message
#else
-static inline void messageD(int ATTRIBUTE_UNUSED device,
- const char ATTRIBUTE_UNUSED *fmt, ...)
-{
-}
+#define messageD(...) do {;} while(0);
#endif
static void message(int device, const char *fmt, ...)
__attribute__ ((format(printf, 2, 3)));