diff options
-rw-r--r-- | networking/udhcp/dhcpc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index b50b1ed03..c55ebbb09 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c | |||
@@ -77,7 +77,7 @@ struct client_config_t client_config = { | |||
77 | }; | 77 | }; |
78 | 78 | ||
79 | #ifndef BB_VER | 79 | #ifndef BB_VER |
80 | static void show_usage(void) | 80 | static void __attribute__ ((noreturn)) show_usage(void) |
81 | { | 81 | { |
82 | printf( | 82 | printf( |
83 | "Usage: udhcpc [OPTIONS]\n\n" | 83 | "Usage: udhcpc [OPTIONS]\n\n" |
@@ -99,6 +99,8 @@ static void show_usage(void) | |||
99 | ); | 99 | ); |
100 | exit(0); | 100 | exit(0); |
101 | } | 101 | } |
102 | #else | ||
103 | extern void show_usage(void) __attribute__ ((noreturn)); | ||
102 | #endif | 104 | #endif |
103 | 105 | ||
104 | 106 | ||