summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-24 06:07:15 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-24 06:07:15 +0000
commit0d65565210dbdd472335d504e2fe7039c179b68a (patch)
tree4b02a9b9a6613053227b09755a75a5a65647f50d
parent0d4ee68be56a0a43770756d43c0c6e8d98b106f1 (diff)
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 c380ed739..c92d97240 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)