diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-09 22:22:28 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-09 22:22:28 +0000 |
commit | c921d8a2c5cc4e31aad8f9c16fe8d8a7f3d9a4f9 (patch) | |
tree | dc5eacaa7a73ade8785dec398adf12bbaacadc64 /libc/stdio/vsnprintf.c | |
parent | 18e006e1d2b88d00bc2c3314ba1c315fde8b055b (diff) |
fix breakage in old_vfprintf case
Diffstat (limited to 'libc/stdio/vsnprintf.c')
-rw-r--r-- | libc/stdio/vsnprintf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/stdio/vsnprintf.c b/libc/stdio/vsnprintf.c index 132959dcf..b54d54d20 100644 --- a/libc/stdio/vsnprintf.c +++ b/libc/stdio/vsnprintf.c @@ -10,12 +10,18 @@ libc_hidden_proto(vsnprintf) +#ifdef __USE_OLD_VFPRINTF__ +libc_hidden_proto(vfprintf) +#endif + #ifdef __UCLIBC_MJN3_ONLY__ #warning WISHLIST: Implement vsnprintf for non-buffered and no custom stream case. #endif /* __UCLIBC_MJN3_ONLY__ */ #ifdef __STDIO_BUFFERS +/* NB: __USE_OLD_VFPRINTF__ is not defined in this case */ + int vsnprintf(char *__restrict buf, size_t size, const char * __restrict format, va_list arg) { |