diff options
Diffstat (limited to 'lib/stdlib.in.h')
| -rw-r--r-- | lib/stdlib.in.h | 8 |
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); |