From: Eric Andersen Date: Wed, 11 Dec 2002 07:46:30 +0000 (-0000) Subject: Make sure we have a show_usage function prototype X-Git-Tag: 1_00_pre1~304 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d7e1a6c6ebfeecc1e7ff3982235b6edb84d9a017;p=oweals%2Fbusybox.git Make sure we have a show_usage function prototype -Erik --- 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 = { }; #ifndef BB_VER -static void show_usage(void) +static void __attribute__ ((noreturn)) show_usage(void) { printf( "Usage: udhcpc [OPTIONS]\n\n" @@ -99,6 +99,8 @@ static void show_usage(void) ); exit(0); } +#else +extern void show_usage(void) __attribute__ ((noreturn)); #endif