aboutsummaryrefslogtreecommitdiff
path: root/include/sys/cdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/cdefs.h')
-rw-r--r--include/sys/cdefs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/cdefs.h b/include/sys/cdefs.h
new file mode 100644
index 0000000..70258b8
--- /dev/null
+++ b/include/sys/cdefs.h
@@ -0,0 +1,5 @@
+/* only needed for C++ */
+#define __BEGIN_DECLS
+#define __END_DECLS
+
+#define __dead __attribute__((__noreturn__))