summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-05 11:46:03 +0000
committerRoy Marples <roy@marples.name>2008-09-05 11:46:03 +0000
commit0ce8caf249d3f477eacbcb45cf31322798551b2d (patch)
tree786d1c9b66d04ee02d90df0ba98345bce915354f /common.h
parente7eeaf88da7f1512b33847d180288f4158ef6bd4 (diff)
downloaddhcpcd-0ce8caf249d3f477eacbcb45cf31322798551b2d.tar.xz
Mark functions as _noreturn.
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common.h b/common.h
index a9715d63..82adbada 100644
--- a/common.h
+++ b/common.h
@@ -47,8 +47,10 @@
} while (0 /* CONSTCOND */);
#if __GNUC__ > 2 || defined(__INTEL_COMPILER)
-# define _unused __attribute__((__unused__))
+# define _noreturn __attribute__((__noreturn__))
+# define _unused __attribute__((__unused__))
#else
+# define _noreturn
# define _unused
#endif