summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger2005-09-24 06:07:15 +0000
committerMike Frysinger2005-09-24 06:07:15 +0000
commit0d65565210dbdd472335d504e2fe7039c179b68a (patch)
tree4b02a9b9a6613053227b09755a75a5a65647f50d
parent0d4ee68be56a0a43770756d43c0c6e8d98b106f1 (diff)
downloadbusybox-0d65565210dbdd472335d504e2fe7039c179b68a.zip
busybox-0d65565210dbdd472335d504e2fe7039c179b68a.tar.gz
add a attribute_noreturn macro
-rw-r--r--include/libbb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index c380ed7..c92d972 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -63,6 +63,8 @@
# define __restrict /* Ignore */
#endif
+#define attribute_noreturn __attribute__ ((__noreturn__))
+
/* Some useful definitions */
#define FALSE ((int) 0)
#define TRUE ((int) 1)