diff options
author | Ron Yorston <rmy@pobox.com> | 2014-03-20 15:36:27 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-03-20 15:36:27 +0000 |
commit | c9d700f3a93db02035d0a3b28b660a1299b4658a (patch) | |
tree | bd13fc49a22e6607c040c6b2ae4cab58687323a7 /win32 | |
parent | 88deb9583290c2a4880903249eb9c5ed6ac05466 (diff) | |
download | busybox-w32-c9d700f3a93db02035d0a3b28b660a1299b4658a.tar.gz busybox-w32-c9d700f3a93db02035d0a3b28b660a1299b4658a.tar.bz2 busybox-w32-c9d700f3a93db02035d0a3b28b660a1299b4658a.zip |
Implement vprintf replacement
Diffstat (limited to 'win32')
-rw-r--r-- | win32/winansi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/winansi.c b/win32/winansi.c index e2b18b274..d929bcc66 100644 --- a/win32/winansi.c +++ b/win32/winansi.c | |||
@@ -9,6 +9,7 @@ | |||
9 | /* | 9 | /* |
10 | Functions to be wrapped: | 10 | Functions to be wrapped: |
11 | */ | 11 | */ |
12 | #undef vprintf | ||
12 | #undef printf | 13 | #undef printf |
13 | #undef fprintf | 14 | #undef fprintf |
14 | #undef fputs | 15 | #undef fputs |
@@ -466,7 +467,7 @@ int winansi_fputs(const char *str, FILE *stream) | |||
466 | return EOF; | 467 | return EOF; |
467 | } | 468 | } |
468 | 469 | ||
469 | static int winansi_vfprintf(FILE *stream, const char *format, va_list list) | 470 | int winansi_vfprintf(FILE *stream, const char *format, va_list list) |
470 | { | 471 | { |
471 | int len, rv; | 472 | int len, rv; |
472 | char small_buf[256]; | 473 | char small_buf[256]; |