aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-12-11 07:46:30 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-12-11 07:46:30 +0000
commit32f91317f6774ae5a96401ae86e6961a79e1b0fd (patch)
treec3e1e1a5bea79e771f82671f3c9e63d4bbed23c6 /networking
parent75bb26c0e60102b5e2a48bff754cbc2c87920115 (diff)
downloadbusybox-w32-32f91317f6774ae5a96401ae86e6961a79e1b0fd.tar.gz
busybox-w32-32f91317f6774ae5a96401ae86e6961a79e1b0fd.tar.bz2
busybox-w32-32f91317f6774ae5a96401ae86e6961a79e1b0fd.zip
Make sure we have a show_usage function prototype
-Erik git-svn-id: svn://busybox.net/trunk/busybox@6166 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking')
-rw-r--r--networking/udhcp/dhcpc.c4
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
80static void show_usage(void) 80static 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
103extern void show_usage(void) __attribute__ ((noreturn));
102#endif 104#endif
103 105
104 106