]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
The format attribute may be repeated in the function definition but does not have to.
authorBart Van Assche <bvanassche@acm.org>
Sun, 23 Aug 2009 11:14:12 +0000 (11:14 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 23 Aug 2009 11:14:12 +0000 (11:14 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10862

coregrind/m_debuglog.c

index cf61731831ff099208760700ab1bab145dc7513d..5b409da031e3b16333fbae954fa9af4b4d67a798 100644 (file)
@@ -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, ... )
 {