aboutsummaryrefslogtreecommitdiff
path: root/libbb/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/printf.c')
-rw-r--r--libbb/printf.c8
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
41int bb_vfprintf(FILE * __restrict stream, 40int 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
71int bb_vprintf(const char * __restrict format, va_list arg) 68int 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
78int bb_fprintf(FILE * __restrict stream, 73int 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
93int bb_printf(const char * __restrict format, ...) 86int 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