aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib.in.h
diff options
context:
space:
mode:
authorStefan Monnier2012-03-25 16:37:21 -0400
committerStefan Monnier2012-03-25 16:37:21 -0400
commit699c782b7668c44d0fa4446331b0590a6d5dac82 (patch)
tree5dcce364741d0761920a3d274b0fc8aba4103d45 /lib/stdlib.in.h
parent98fb480ee31bf74cf554044f60f21df16566dd7f (diff)
parente99a9b8bdccadded1f6fae88ee7a2a93dfd4eacf (diff)
downloademacs-pending.tar.gz
emacs-pending.zip
Merge from trunkpending
Diffstat (limited to 'lib/stdlib.in.h')
-rw-r--r--lib/stdlib.in.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h
index 62a2ce920e6..047fac18b83 100644
--- a/lib/stdlib.in.h
+++ b/lib/stdlib.in.h
@@ -89,11 +89,7 @@ struct random_data
89# include <unistd.h> 89# include <unistd.h>
90#endif 90#endif
91 91
92#if 3 <= __GNUC__ || __GNUC__ == 2 && 8 <= __GNUC_MINOR__ 92/* The definition of _Noreturn is copied here. */
93# define _GL_ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
94#else
95# define _GL_ATTRIBUTE_NORETURN
96#endif
97 93
98/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ 94/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */
99 95
@@ -120,7 +116,7 @@ struct random_data
120/* Terminate the current process with the given return code, without running 116/* Terminate the current process with the given return code, without running
121 the 'atexit' handlers. */ 117 the 'atexit' handlers. */
122# if !@HAVE__EXIT@ 118# if !@HAVE__EXIT@
123_GL_FUNCDECL_SYS (_Exit, void, (int status) _GL_ATTRIBUTE_NORETURN); 119_GL_FUNCDECL_SYS (_Exit, _Noreturn void, (int status));
124# endif 120# endif
125_GL_CXXALIAS_SYS (_Exit, void, (int status)); 121_GL_CXXALIAS_SYS (_Exit, void, (int status));
126_GL_CXXALIASWARN (_Exit); 122_GL_CXXALIASWARN (_Exit);