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/nameif.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/nameif.c')
-rw-r--r-- | networking/nameif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/nameif.c b/networking/nameif.c index a2c8b4915..f28e5ebe3 100644 --- a/networking/nameif.c +++ b/networking/nameif.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * Busybox port 2002 by Nick Fedchik <nick@fedchik.org.ua> | 5 | * Busybox port 2002 by Nick Fedchik <nick@fedchik.org.ua> |
6 | * Glenn McGrath <bug1@iinet.net.au> | 6 | * Glenn McGrath <bug1@iinet.net.au> |
7 | * | 7 | * |
8 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 8 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <sys/syslog.h> | 11 | #include <sys/syslog.h> |
@@ -48,7 +48,7 @@ typedef struct mactable_s { | |||
48 | 48 | ||
49 | static unsigned long flags; | 49 | static unsigned long flags; |
50 | 50 | ||
51 | static void serror(const char *s, ...) __attribute__ ((noreturn)); | 51 | static void serror(const char *s, ...) ATTRIBUTE_NORETURN; |
52 | 52 | ||
53 | static void serror(const char *s, ...) | 53 | static void serror(const char *s, ...) |
54 | { | 54 | { |