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).
This commit is contained in:
Rob Landley
2006-08-29 19:41:06 +00:00
parent 8c1eda528a
commit 88621d7398
14 changed files with 92 additions and 124 deletions

View File

@ -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)));