projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
392947c
)
Make sure we have a show_usage function prototype
author
Eric Andersen
<andersen@codepoet.org>
Wed, 11 Dec 2002 07:46:30 +0000
(07:46 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 11 Dec 2002 07:46:30 +0000
(07:46 -0000)
-Erik
networking/udhcp/dhcpc.c
patch
|
blob
|
history
diff --git
a/networking/udhcp/dhcpc.c
b/networking/udhcp/dhcpc.c
index b50b1ed030ce9469f3827655bb99ebd90a5a0a99..c55ebbb09a65c32ff5e9fdf431bbddb3921814d2 100644
(file)
--- 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