diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-05 10:17:08 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-05 10:17:08 +0000 |
commit | 7d219aab70e6951ab82c27c202cac05016696723 (patch) | |
tree | 4c0679bfa391f71aee9b51505a5d3dc8f60a0cf7 /libbb/printf.c | |
parent | 8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (diff) | |
download | busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.tar.gz busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.tar.bz2 busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.zip |
build system overhaul
Diffstat (limited to 'libbb/printf.c')
-rw-r--r-- | libbb/printf.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libbb/printf.c b/libbb/printf.c index 2e79555b5..f0ddb862e 100644 --- a/libbb/printf.c +++ b/libbb/printf.c | |||
@@ -37,7 +37,6 @@ | |||
37 | #include <errno.h> | 37 | #include <errno.h> |
38 | #include "libbb.h" | 38 | #include "libbb.h" |
39 | 39 | ||
40 | #ifdef L_bb_vfprintf | ||
41 | int bb_vfprintf(FILE * __restrict stream, | 40 | int bb_vfprintf(FILE * __restrict stream, |
42 | const char * __restrict format, | 41 | const char * __restrict format, |
43 | va_list arg) | 42 | va_list arg) |
@@ -65,16 +64,12 @@ int bb_vfprintf(FILE * __restrict stream, | |||
65 | 64 | ||
66 | return rv; | 65 | return rv; |
67 | } | 66 | } |
68 | #endif | ||
69 | 67 | ||
70 | #ifdef L_bb_vprintf | ||
71 | int bb_vprintf(const char * __restrict format, va_list arg) | 68 | int bb_vprintf(const char * __restrict format, va_list arg) |
72 | { | 69 | { |
73 | return bb_vfprintf(stdout, format, arg); | 70 | return bb_vfprintf(stdout, format, arg); |
74 | } | 71 | } |
75 | #endif | ||
76 | 72 | ||
77 | #ifdef L_bb_fprintf | ||
78 | int bb_fprintf(FILE * __restrict stream, | 73 | int bb_fprintf(FILE * __restrict stream, |
79 | const char * __restrict format, ...) | 74 | const char * __restrict format, ...) |
80 | { | 75 | { |
@@ -87,9 +82,7 @@ int bb_fprintf(FILE * __restrict stream, | |||
87 | 82 | ||
88 | return rv; | 83 | return rv; |
89 | } | 84 | } |
90 | #endif | ||
91 | 85 | ||
92 | #ifdef L_bb_printf | ||
93 | int bb_printf(const char * __restrict format, ...) | 86 | int bb_printf(const char * __restrict format, ...) |
94 | { | 87 | { |
95 | va_list arg; | 88 | va_list arg; |
@@ -101,4 +94,3 @@ int bb_printf(const char * __restrict format, ...) | |||
101 | 94 | ||
102 | return rv; | 95 | return rv; |
103 | } | 96 | } |
104 | #endif | ||