From: Bart Van Assche Date: Sun, 23 Aug 2009 11:14:12 +0000 (+0000) Subject: The format attribute may be repeated in the function definition but does not have to. X-Git-Tag: svn/VALGRIND_3_6_0~532 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbdfae4cedab3b6217c0dafb087fd91af47d10cf;p=thirdparty%2Fvalgrind.git The format attribute may be repeated in the function definition but does not have to. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10862 --- diff --git a/coregrind/m_debuglog.c b/coregrind/m_debuglog.c index cf61731831..5b409da031 100644 --- a/coregrind/m_debuglog.c +++ b/coregrind/m_debuglog.c @@ -932,7 +932,6 @@ static void add_to_buf ( HChar c, void* p ) /* Send a logging message. Nothing is output unless 'level' is <= the current loglevel. */ /* EXPORTED */ -__attribute__((format(__printf__, 3, 4))) void VG_(debugLog) ( Int level, const HChar* modulename, const HChar* format, ... ) {