diff options
Diffstat (limited to 'libbb/perror_nomsg.c')
-rw-r--r-- | libbb/perror_nomsg.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/libbb/perror_nomsg.c b/libbb/perror_nomsg.c index a2a11cc8e..670ccbc0c 100644 --- a/libbb/perror_nomsg.c +++ b/libbb/perror_nomsg.c | |||
@@ -6,17 +6,9 @@ | |||
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | #include "libbb.h" | ||
9 | 10 | ||
10 | /* gcc warns about a null format string, therefore we provide | ||
11 | * modified definition without "attribute (format)" | ||
12 | * instead of including libbb.h */ | ||
13 | //#include "libbb.h" | ||
14 | #include "platform.h" | ||
15 | extern void bb_perror_msg(const char *s, ...) FAST_FUNC; | ||
16 | |||
17 | /* suppress gcc "no previous prototype" warning */ | ||
18 | void FAST_FUNC bb_perror_nomsg(void); | ||
19 | void FAST_FUNC bb_perror_nomsg(void) | 11 | void FAST_FUNC bb_perror_nomsg(void) |
20 | { | 12 | { |
21 | bb_perror_msg(0); | 13 | bb_simple_perror_msg(""); |
22 | } | 14 | } |