X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Flibc-extension.hh;h=a9f04e1e7199391ca3a77c63178ea521cb60382a;hb=1cf3d59c1559fb9774c4c1c8cae155cfe54a927c;hp=051077b6e771620794a8083e302e721560468b92;hpb=1e95a0be01466d1c98644f7705c8e07e41cc645c;p=lilypond.git diff --git a/flower/include/libc-extension.hh b/flower/include/libc-extension.hh index 051077b6e7..a9f04e1e71 100644 --- a/flower/include/libc-extension.hh +++ b/flower/include/libc-extension.hh @@ -3,17 +3,17 @@ source file of the flowerlib - (c) 1997--1998 Han-Wen Nienhuys + (c) 1997--1998 Han-Wen Nienhuys */ #ifndef LIBC_EXTENSION_HH #define LIBC_EXTENSION_HH -#include "fproto.hh" +#include "fproto.hh" #include "config.hh" - #include +#include char* strnlwr (char* start_l ,int n); char* strnupr (char* start_l, int n); @@ -24,8 +24,11 @@ Byte *memmem (Byte const * haystack, int haystack_len, #endif HAVE_MEMMEM #if !HAVE_SNPRINTF // GNU extension. -int snprintf (char *str, size_t n, - char const *format, ...); +int snprintf (char *str, size_t n, char const *format, ...); +#endif + +#if !HAVE_VSNPRINTF // GNU extension. +int vsnprintf (char *str, size_t, char const *format, va_list args); #endif