From 88621d73980a3cb53c1f35e64a06d7cd64188987 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 29 Aug 2006 19:41:06 +0000 Subject: Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damage (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit). --- init/init.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'init/init.c') diff --git a/init/init.c b/init/init.c index cad64f63a..607a1f3e0 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))); -- cgit v1.2.3