diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:21:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:21:47 +0000 |
commit | f0ed376eda5d5c25d270e5100a881fb2d801bee6 (patch) | |
tree | 79166b700c497fbe798b6031e5bbff97e0933573 /include | |
parent | 670a6626cabc1498f32b35f959591f8621d8447e (diff) | |
download | busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.tar.gz busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.tar.bz2 busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.zip |
remove bb_printf and the like
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/include/libbb.h b/include/libbb.h index a2267f942..f435a5915 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -227,7 +227,7 @@ extern int recursive_action(const char *fileName, int recurse, | |||
227 | int (*dirAction) (const char *fileName, struct stat* statbuf, void* userData), | 227 | int (*dirAction) (const char *fileName, struct stat* statbuf, void* userData), |
228 | void* userData); | 228 | void* userData); |
229 | 229 | ||
230 | extern int bb_parse_mode( const char* s, mode_t* theMode); | 230 | extern int bb_parse_mode(const char* s, mode_t* theMode); |
231 | 231 | ||
232 | extern unsigned int tty_baud_to_value(speed_t speed); | 232 | extern unsigned int tty_baud_to_value(speed_t speed); |
233 | extern speed_t tty_value_to_baud(unsigned int value); | 233 | extern speed_t tty_value_to_baud(unsigned int value); |
@@ -253,7 +253,7 @@ extern FILE *bb_wfopen_input(const char *filename); | |||
253 | extern FILE *xfopen(const char *path, const char *mode); | 253 | extern FILE *xfopen(const char *path, const char *mode); |
254 | 254 | ||
255 | extern int bb_fclose_nonstdin(FILE *f); | 255 | extern int bb_fclose_nonstdin(FILE *f); |
256 | extern void bb_fflush_stdout_and_exit(int retval) ATTRIBUTE_NORETURN; | 256 | extern void fflush_stdout_and_exit(int retval) ATTRIBUTE_NORETURN; |
257 | 257 | ||
258 | extern void xstat(char *filename, struct stat *buf); | 258 | extern void xstat(char *filename, struct stat *buf); |
259 | extern int xsocket(int domain, int type, int protocol); | 259 | extern int xsocket(int domain, int type, int protocol); |
@@ -278,17 +278,8 @@ extern const struct option *applet_long_options; | |||
278 | extern uint32_t option_mask32; | 278 | extern uint32_t option_mask32; |
279 | extern uint32_t getopt32(int argc, char **argv, const char *applet_opts, ...); | 279 | extern uint32_t getopt32(int argc, char **argv, const char *applet_opts, ...); |
280 | 280 | ||
281 | extern int bb_vfprintf(FILE * __restrict stream, const char * __restrict format, | 281 | extern void die_if_ferror(FILE *fp, const char *fn); |
282 | va_list arg) __attribute__ ((format (printf, 2, 0))); | 282 | extern void die_if_ferror_stdout(void); |
283 | extern int bb_vprintf(const char * __restrict format, va_list arg) | ||
284 | __attribute__ ((format (printf, 1, 0))); | ||
285 | extern int bb_fprintf(FILE * __restrict stream, const char * __restrict format, ...) | ||
286 | __attribute__ ((format (printf, 2, 3))); | ||
287 | extern int bb_printf(const char * __restrict format, ...) | ||
288 | __attribute__ ((format (printf, 1, 2))); | ||
289 | |||
290 | extern void xferror(FILE *fp, const char *fn); | ||
291 | extern void xferror_stdout(void); | ||
292 | extern void xfflush_stdout(void); | 283 | extern void xfflush_stdout(void); |
293 | 284 | ||
294 | extern void bb_warn_ignoring_args(int n); | 285 | extern void bb_warn_ignoring_args(int n); |