diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-01-22 22:55:11 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-01-22 22:55:11 +0000 |
commit | 86f5c9906beac527f3d7966f24811b571a589e08 (patch) | |
tree | 1c9eba853c728b5d734506e1c66c269d96fe46ea /networking/udhcp/dumpleases.c | |
parent | 2edf52643d3eb3d13f26d31f9678cf122f2063bc (diff) | |
download | busybox-w32-86f5c9906beac527f3d7966f24811b571a589e08.tar.gz busybox-w32-86f5c9906beac527f3d7966f24811b571a589e08.tar.bz2 busybox-w32-86f5c9906beac527f3d7966f24811b571a589e08.zip |
- add platform.h.
- use shorter boilerplate while at it.
Diffstat (limited to 'networking/udhcp/dumpleases.c')
-rw-r--r-- | networking/udhcp/dumpleases.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/networking/udhcp/dumpleases.c b/networking/udhcp/dumpleases.c index a9036dfbd..ca5c6059e 100644 --- a/networking/udhcp/dumpleases.c +++ b/networking/udhcp/dumpleases.c | |||
@@ -1,3 +1,7 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
2 | /* | ||
3 | Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | ||
4 | */ | ||
1 | #include <fcntl.h> | 5 | #include <fcntl.h> |
2 | #include <string.h> | 6 | #include <string.h> |
3 | #include <stdlib.h> | 7 | #include <stdlib.h> |
@@ -21,7 +25,7 @@ | |||
21 | 25 | ||
22 | 26 | ||
23 | #ifndef IN_BUSYBOX | 27 | #ifndef IN_BUSYBOX |
24 | static void __attribute__ ((noreturn)) show_usage(void) | 28 | static void ATTRIBUTE_NORETURN show_usage(void) |
25 | { | 29 | { |
26 | printf( | 30 | printf( |
27 | "Usage: dumpleases -f <file> -[r|a]\n\n" | 31 | "Usage: dumpleases -f <file> -[r|a]\n\n" |