X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Flibc-extension.hh;h=9191d6476a2ecb29e1192e74e5c59abe9fe477f4;hb=41d87651a93844bceca9a8ccb6417642aca24457;hp=2a5924ef373320086e2247cb94570b34dc98f800;hpb=161b1f2747316ea1652f080d3b7d0ae7848ed441;p=lilypond.git diff --git a/flower/include/libc-extension.hh b/flower/include/libc-extension.hh index 2a5924ef37..9191d6476a 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--2007 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. */