summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/sys/systm.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-03-24 09:36:14 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-03-24 09:36:14 +0000
commitee613aa252e5ee3c899f5b51e8a75d664423ba97 (patch)
treef764978f3ea072e3856ee45cccabbc750d9330e6 /cpukit/libnetworking/sys/systm.h
parent2011-03-24 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-ee613aa252e5ee3c899f5b51e8a75d664423ba97.tar.bz2
Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).
Diffstat (limited to 'cpukit/libnetworking/sys/systm.h')
-rw-r--r--cpukit/libnetworking/sys/systm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/libnetworking/sys/systm.h b/cpukit/libnetworking/sys/systm.h
index a66c746121..d28463ffcf 100644
--- a/cpukit/libnetworking/sys/systm.h
+++ b/cpukit/libnetworking/sys/systm.h
@@ -45,6 +45,10 @@
#include <rtems/rtems_bsdnet_internal.h> /* for __BSD_VA_LIST__ */
#include <machine/cpufunc.h>
+#if !defined(__dead2)
+#define __dead2 __attribute__((__noreturn__))
+#endif
+
extern int securelevel; /* system security level (see init(8)) */
extern int cold; /* nonzero if we are doing a cold boot */