mirror of
https://github.com/sheumann/hush.git
synced 2025-01-16 09:30:29 +00:00
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.
This commit is contained in:
parent
da9d1d079e
commit
69115c656d
@ -220,9 +220,6 @@ extern int bb_fprintf(FILE * __restrict stream, const char * __restrict format,
|
|||||||
extern int bb_printf(const char * __restrict format, ...)
|
extern int bb_printf(const char * __restrict format, ...)
|
||||||
__attribute__ ((format (printf, 1, 2)));
|
__attribute__ ((format (printf, 1, 2)));
|
||||||
|
|
||||||
#if ENABLE_NITPICK
|
|
||||||
#warning rename to xferror_filename?
|
|
||||||
#endif
|
|
||||||
extern void xferror(FILE *fp, const char *fn);
|
extern void xferror(FILE *fp, const char *fn);
|
||||||
extern void xferror_stdout(void);
|
extern void xferror_stdout(void);
|
||||||
extern void xfflush_stdout(void);
|
extern void xfflush_stdout(void);
|
||||||
@ -276,9 +273,6 @@ extern long bb_xgetlarg_bnd_sfx(const char *arg, int base,
|
|||||||
extern long bb_xgetlarg10_sfx(const char *arg, const struct suffix_mult *suffixes);
|
extern long bb_xgetlarg10_sfx(const char *arg, const struct suffix_mult *suffixes);
|
||||||
|
|
||||||
|
|
||||||
#if ENABLE_NITPICK
|
|
||||||
#warning pitchable now?
|
|
||||||
#endif
|
|
||||||
extern unsigned long bb_xparse_number(const char *numstr,
|
extern unsigned long bb_xparse_number(const char *numstr,
|
||||||
const struct suffix_mult *suffixes);
|
const struct suffix_mult *suffixes);
|
||||||
|
|
||||||
@ -340,9 +334,6 @@ char *concat_path_file(const char *path, const char *filename);
|
|||||||
char *concat_subpath_file(const char *path, const char *filename);
|
char *concat_subpath_file(const char *path, const char *filename);
|
||||||
char *last_char_is(const char *s, int c);
|
char *last_char_is(const char *s, int c);
|
||||||
|
|
||||||
#if ENABLE_NITPICK
|
|
||||||
#warning yuk!
|
|
||||||
#endif
|
|
||||||
char *fgets_str(FILE *file, const char *terminating_string);
|
char *fgets_str(FILE *file, const char *terminating_string);
|
||||||
|
|
||||||
extern int uncompress(int fd_in, int fd_out);
|
extern int uncompress(int fd_in, int fd_out);
|
||||||
@ -356,9 +347,9 @@ extern int xconnect(struct sockaddr_in *s_addr);
|
|||||||
extern unsigned short bb_lookup_port(const char *port, const char *protocol, unsigned short default_port);
|
extern unsigned short bb_lookup_port(const char *port, const char *protocol, unsigned short default_port);
|
||||||
extern void bb_lookup_host(struct sockaddr_in *s_in, const char *host);
|
extern void bb_lookup_host(struct sockaddr_in *s_in, const char *host);
|
||||||
|
|
||||||
#if ENABLE_NITPICK
|
// This is declared here rather than #including <libgen.h> in order to avoid
|
||||||
#warning wrap this?
|
// confusing the two versions of basename. See the dirname/basename man page
|
||||||
#endif
|
// for details.
|
||||||
char *dirname (char *path);
|
char *dirname (char *path);
|
||||||
|
|
||||||
int bb_make_directory (char *path, long mode, int flags);
|
int bb_make_directory (char *path, long mode, int flags);
|
||||||
@ -471,9 +462,6 @@ extern int bb_default_error_retval;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if ENABLE_NITPICK
|
|
||||||
#warning put these in .o files
|
|
||||||
#endif
|
|
||||||
/* The following devices are the same on devfs and non-devfs systems. */
|
/* The following devices are the same on devfs and non-devfs systems. */
|
||||||
#define CURRENT_TTY "/dev/tty"
|
#define CURRENT_TTY "/dev/tty"
|
||||||
#define CONSOLE_DEV "/dev/console"
|
#define CONSOLE_DEV "/dev/console"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user