aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2006-08-29 19:41:06 +0000
committerGravatar Rob Landley <rob@landley.net>2006-08-29 19:41:06 +0000
commit88621d73980a3cb53c1f35e64a06d7cd64188987 (patch)
treec0398d52bf44783d2dc330b4b33a908a58d2d55b /init
parent8c1eda528a19b8af18568649e8d2b1ba5bda772e (diff)
downloadbusybox-88621d73980a3cb53c1f35e64a06d7cd64188987.tar.gz
busybox-88621d73980a3cb53c1f35e64a06d7cd64188987.tar.bz2
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).
Diffstat (limited to 'init')
-rw-r--r--init/init.c5
1 files changed, 1 insertions, 4 deletions
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)));