diff options
author | Rob Landley <rob@landley.net> | 2006-09-15 04:01:03 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-09-15 04:01:03 +0000 |
commit | 69115c656d7b16732f11bc5e92539ef441794c03 (patch) | |
tree | 8862f64100d026193201cb6408749740ecd48518 | |
parent | da9d1d079efe0b024cdedfd85bd4ffadfbe57abf (diff) | |
download | busybox-w32-69115c656d7b16732f11bc5e92539ef441794c03.tar.gz busybox-w32-69115c656d7b16732f11bc5e92539ef441794c03.tar.bz2 busybox-w32-69115c656d7b16732f11bc5e92539ef441794c03.zip |
Unbreak allbareconfig.
We've had -Werror in the tree for quite a while, so adding #warning
somewhat counterproductve way to make comments on the code that belong on the
mailing list anyway.
-rw-r--r-- | include/libbb.h | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/include/libbb.h b/include/libbb.h index 10309cff2..eee7d7dfa 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -220,9 +220,6 @@ extern int bb_fprintf(FILE * __restrict stream, const char * __restrict format, | |||
220 | extern int bb_printf(const char * __restrict format, ...) | 220 | extern int bb_printf(const char * __restrict format, ...) |
221 | __attribute__ ((format (printf, 1, 2))); | 221 | __attribute__ ((format (printf, 1, 2))); |
222 | 222 | ||
223 | #if ENABLE_NITPICK | ||
224 | #warning rename to xferror_filename? | ||
225 | #endif | ||
226 | extern void xferror(FILE *fp, const char *fn); | 223 | extern void xferror(FILE *fp, const char *fn); |
227 | extern void xferror_stdout(void); | 224 | extern void xferror_stdout(void); |
228 | extern void xfflush_stdout(void); | 225 | extern void xfflush_stdout(void); |
@@ -276,9 +273,6 @@ extern long bb_xgetlarg_bnd_sfx(const char *arg, int base, | |||
276 | extern long bb_xgetlarg10_sfx(const char *arg, const struct suffix_mult *suffixes); | 273 | extern long bb_xgetlarg10_sfx(const char *arg, const struct suffix_mult *suffixes); |
277 | 274 | ||
278 | 275 | ||
279 | #if ENABLE_NITPICK | ||
280 | #warning pitchable now? | ||
281 | #endif | ||
282 | extern unsigned long bb_xparse_number(const char *numstr, | 276 | extern unsigned long bb_xparse_number(const char *numstr, |
283 | const struct suffix_mult *suffixes); | 277 | const struct suffix_mult *suffixes); |
284 | 278 | ||
@@ -340,9 +334,6 @@ char *concat_path_file(const char *path, const char *filename); | |||
340 | char *concat_subpath_file(const char *path, const char *filename); | 334 | char *concat_subpath_file(const char *path, const char *filename); |
341 | char *last_char_is(const char *s, int c); | 335 | char *last_char_is(const char *s, int c); |
342 | 336 | ||
343 | #if ENABLE_NITPICK | ||
344 | #warning yuk! | ||
345 | #endif | ||
346 | char *fgets_str(FILE *file, const char *terminating_string); | 337 | char *fgets_str(FILE *file, const char *terminating_string); |
347 | 338 | ||
348 | extern int uncompress(int fd_in, int fd_out); | 339 | extern int uncompress(int fd_in, int fd_out); |
@@ -356,9 +347,9 @@ extern int xconnect(struct sockaddr_in *s_addr); | |||
356 | extern unsigned short bb_lookup_port(const char *port, const char *protocol, unsigned short default_port); | 347 | extern unsigned short bb_lookup_port(const char *port, const char *protocol, unsigned short default_port); |
357 | extern void bb_lookup_host(struct sockaddr_in *s_in, const char *host); | 348 | extern void bb_lookup_host(struct sockaddr_in *s_in, const char *host); |
358 | 349 | ||
359 | #if ENABLE_NITPICK | 350 | // This is declared here rather than #including <libgen.h> in order to avoid |
360 | #warning wrap this? | 351 | // confusing the two versions of basename. See the dirname/basename man page |
361 | #endif | 352 | // for details. |
362 | char *dirname (char *path); | 353 | char *dirname (char *path); |
363 | 354 | ||
364 | int bb_make_directory (char *path, long mode, int flags); | 355 | int bb_make_directory (char *path, long mode, int flags); |
@@ -471,9 +462,6 @@ extern int bb_default_error_retval; | |||
471 | #endif | 462 | #endif |
472 | 463 | ||
473 | 464 | ||
474 | #if ENABLE_NITPICK | ||
475 | #warning put these in .o files | ||
476 | #endif | ||
477 | /* The following devices are the same on devfs and non-devfs systems. */ | 465 | /* The following devices are the same on devfs and non-devfs systems. */ |
478 | #define CURRENT_TTY "/dev/tty" | 466 | #define CURRENT_TTY "/dev/tty" |
479 | #define CONSOLE_DEV "/dev/console" | 467 | #define CONSOLE_DEV "/dev/console" |