From: Bart Van Assche Date: Sun, 23 Aug 2009 11:11:36 +0000 (+0000) Subject: Fixed a declaration: function attributes must be inserted after the return type inste... X-Git-Tag: svn/VALGRIND_3_6_0~533 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f71ff79980d39d954ea388fdef622ff7fa736ef0;p=thirdparty%2Fvalgrind.git Fixed a declaration: function attributes must be inserted after the return type instead of before, otherwise gcc 4.4 ignores the attribute declaration. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10861 --- diff --git a/coregrind/pub_core_debuglog.h b/coregrind/pub_core_debuglog.h index 489aa0c033..6bf779a381 100644 --- a/coregrind/pub_core_debuglog.h +++ b/coregrind/pub_core_debuglog.h @@ -69,9 +69,9 @@ Int VG_(debugLog_getLevel) ( void ); /* 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