X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Flibc-extension.hh;h=51e5b20373131a3373509218081e0a9c1e40627b;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=abf5a549d1a68bf5888834da3277122adb4e6495;hpb=4ecdbd7d70ca7441be4dddd15ac01cc255bc2a35;p=lilypond.git diff --git a/flower/include/libc-extension.hh b/flower/include/libc-extension.hh index abf5a549d1..51e5b20373 100644 --- a/flower/include/libc-extension.hh +++ b/flower/include/libc-extension.hh @@ -3,7 +3,7 @@ source file of the flowerlib - (c) 1997--2005 Han-Wen Nienhuys + (c) 1997--2008 Han-Wen Nienhuys */ #ifndef LIBC_EXTENSION_HH @@ -37,6 +37,7 @@ double my_round (double); #if ! HAVE_SNPRINTF /* GNU extension. */ int snprintf (char *str, size_t n, char const *format, ...); + __attribute__ ((format (printf, 3, 4))); #endif #if ! HAVE_VSNPRINTF /* GNU extension. */