aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-09-15 04:01:03 +0000
committerRob Landley <rob@landley.net>2006-09-15 04:01:03 +0000
commit69115c656d7b16732f11bc5e92539ef441794c03 (patch)
tree8862f64100d026193201cb6408749740ecd48518
parentda9d1d079efe0b024cdedfd85bd4ffadfbe57abf (diff)
downloadbusybox-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.h18
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,
220extern int bb_printf(const char * __restrict format, ...) 220extern 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
226extern void xferror(FILE *fp, const char *fn); 223extern void xferror(FILE *fp, const char *fn);
227extern void xferror_stdout(void); 224extern void xferror_stdout(void);
228extern void xfflush_stdout(void); 225extern void xfflush_stdout(void);
@@ -276,9 +273,6 @@ extern long bb_xgetlarg_bnd_sfx(const char *arg, int base,
276extern long bb_xgetlarg10_sfx(const char *arg, const struct suffix_mult *suffixes); 273extern 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
282extern unsigned long bb_xparse_number(const char *numstr, 276extern 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);
340char *concat_subpath_file(const char *path, const char *filename); 334char *concat_subpath_file(const char *path, const char *filename);
341char *last_char_is(const char *s, int c); 335char *last_char_is(const char *s, int c);
342 336
343#if ENABLE_NITPICK
344#warning yuk!
345#endif
346char *fgets_str(FILE *file, const char *terminating_string); 337char *fgets_str(FILE *file, const char *terminating_string);
347 338
348extern int uncompress(int fd_in, int fd_out); 339extern int uncompress(int fd_in, int fd_out);
@@ -356,9 +347,9 @@ extern int xconnect(struct sockaddr_in *s_addr);
356extern unsigned short bb_lookup_port(const char *port, const char *protocol, unsigned short default_port); 347extern unsigned short bb_lookup_port(const char *port, const char *protocol, unsigned short default_port);
357extern void bb_lookup_host(struct sockaddr_in *s_in, const char *host); 348extern 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.
362char *dirname (char *path); 353char *dirname (char *path);
363 354
364int bb_make_directory (char *path, long mode, int flags); 355int 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"