From f71ff79980d39d954ea388fdef622ff7fa736ef0 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 23 Aug 2009 11:11:36 +0000 Subject: [PATCH] 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 --- coregrind/pub_core_debuglog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.2