|
From: <sv...@va...> - 2009-08-23 11:11:49
|
Author: bart
Date: 2009-08-23 12:11:36 +0100 (Sun, 23 Aug 2009)
New Revision: 10861
Log:
Fixed a declaration: function attributes must be inserted after the return type instead of before, otherwise gcc 4.4 ignores the attribute declaration.
Modified:
trunk/coregrind/pub_core_debuglog.h
Modified: trunk/coregrind/pub_core_debuglog.h
===================================================================
--- trunk/coregrind/pub_core_debuglog.h 2009-08-23 09:53:27 UTC (rev 10860)
+++ trunk/coregrind/pub_core_debuglog.h 2009-08-23 11:11:36 UTC (rev 10861)
@@ -69,9 +69,9 @@
/* Send debugging output. Nothing happens unless 'level'
does not exceed the logging threshold level. */
extern
-__attribute__((format(__printf__, 3, 4)))
void VG_(debugLog) ( Int level, const HChar* modulename,
- const HChar* format, ... );
+ const HChar* format, ... )
+ __attribute__((format(__printf__, 3, 4)));
/* A simple vprintf(). For each emitted byte, (*send_fn) is called with
|