aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-26 23:21:47 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-26 23:21:47 +0000
commitf0ed376eda5d5c25d270e5100a881fb2d801bee6 (patch)
tree79166b700c497fbe798b6031e5bbff97e0933573 /include
parent670a6626cabc1498f32b35f959591f8621d8447e (diff)
downloadbusybox-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.h17
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
230extern int bb_parse_mode( const char* s, mode_t* theMode); 230extern int bb_parse_mode(const char* s, mode_t* theMode);
231 231
232extern unsigned int tty_baud_to_value(speed_t speed); 232extern unsigned int tty_baud_to_value(speed_t speed);
233extern speed_t tty_value_to_baud(unsigned int value); 233extern speed_t tty_value_to_baud(unsigned int value);
@@ -253,7 +253,7 @@ extern FILE *bb_wfopen_input(const char *filename);
253extern FILE *xfopen(const char *path, const char *mode); 253extern FILE *xfopen(const char *path, const char *mode);
254 254
255extern int bb_fclose_nonstdin(FILE *f); 255extern int bb_fclose_nonstdin(FILE *f);
256extern void bb_fflush_stdout_and_exit(int retval) ATTRIBUTE_NORETURN; 256extern void fflush_stdout_and_exit(int retval) ATTRIBUTE_NORETURN;
257 257
258extern void xstat(char *filename, struct stat *buf); 258extern void xstat(char *filename, struct stat *buf);
259extern int xsocket(int domain, int type, int protocol); 259extern int xsocket(int domain, int type, int protocol);
@@ -278,17 +278,8 @@ extern const struct option *applet_long_options;
278extern uint32_t option_mask32; 278extern uint32_t option_mask32;
279extern uint32_t getopt32(int argc, char **argv, const char *applet_opts, ...); 279extern uint32_t getopt32(int argc, char **argv, const char *applet_opts, ...);
280 280
281extern int bb_vfprintf(FILE * __restrict stream, const char * __restrict format, 281extern void die_if_ferror(FILE *fp, const char *fn);
282 va_list arg) __attribute__ ((format (printf, 2, 0))); 282extern void die_if_ferror_stdout(void);
283extern int bb_vprintf(const char * __restrict format, va_list arg)
284 __attribute__ ((format (printf, 1, 0)));
285extern int bb_fprintf(FILE * __restrict stream, const char * __restrict format, ...)
286 __attribute__ ((format (printf, 2, 3)));
287extern int bb_printf(const char * __restrict format, ...)
288 __attribute__ ((format (printf, 1, 2)));
289
290extern void xferror(FILE *fp, const char *fn);
291extern void xferror_stdout(void);
292extern void xfflush_stdout(void); 283extern void xfflush_stdout(void);
293 284
294extern void bb_warn_ignoring_args(int n); 285extern void bb_warn_ignoring_args(int n);