commit | d7e1a6c6ebfeecc1e7ff3982235b6edb84d9a017 | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Wed Dec 11 07:46:30 2002 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Wed Dec 11 07:46:30 2002 +0000 |
tree | c3e1e1a5bea79e771f82671f3c9e63d4bbed23c6 | |
parent | 392947c86012bb003cff218745d0f9b8bbcbf35a [diff] [blame] |
Make sure we have a show_usage function prototype -Erik
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index b50b1ed..c55ebbb 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c
@@ -77,7 +77,7 @@ }; #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 @@ ); exit(0); } +#else +extern void show_usage(void) __attribute__ ((noreturn)); #endif