summaryrefslogtreecommitdiff
path: root/networking/nameif.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-01-22 22:55:11 +0000
committerBernhard Reutner-Fischer2006-01-22 22:55:11 +0000
commit86f5c9906beac527f3d7966f24811b571a589e08 (patch)
tree1c9eba853c728b5d734506e1c66c269d96fe46ea /networking/nameif.c
parent2edf52643d3eb3d13f26d31f9678cf122f2063bc (diff)
downloadbusybox-86f5c9906beac527f3d7966f24811b571a589e08.zip
busybox-86f5c9906beac527f3d7966f24811b571a589e08.tar.gz
- add platform.h.
- use shorter boilerplate while at it.
Diffstat (limited to 'networking/nameif.c')
-rw-r--r--networking/nameif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/nameif.c b/networking/nameif.c
index a2c8b49..f28e5eb 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -5,7 +5,7 @@
* Busybox port 2002 by Nick Fedchik <nick@fedchik.org.ua>
* Glenn McGrath <bug1@iinet.net.au>
*
- * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
+ * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
*/
#include <sys/syslog.h>
@@ -48,7 +48,7 @@ typedef struct mactable_s {
static unsigned long flags;
-static void serror(const char *s, ...) __attribute__ ((noreturn));
+static void serror(const char *s, ...) ATTRIBUTE_NORETURN;
static void serror(const char *s, ...)
{