diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-07-05 19:22:28 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-07-05 19:22:28 -0700 |
commit | 84280bbf8878573af3c88970397889ad7f240564 (patch) | |
tree | f20478ce42136a691b7e9e095c9baec86ac5414c /nasmlib.c | |
parent | 86eb8b057f6e5a9daf5c2f36420bbf245836d2ac (diff) | |
download | nasm-84280bbf8878573af3c88970397889ad7f240564.tar.gz nasm-84280bbf8878573af3c88970397889ad7f240564.tar.bz2 nasm-84280bbf8878573af3c88970397889ad7f240564.zip |
Change noreturn macro to no_return to avoid header file problems
Change the "noreturn" macro to "no_return", to avoid problems with
system header files which use __attribute__((noreturn)) rather than
__attribute__((__noreturn__)) as is appropriate for system headers.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'nasmlib.c')
-rw-r--r-- | nasmlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -205,7 +205,7 @@ char *nasm_strndup(const char *s, size_t len) return p; } -noreturn nasm_assert_failed(const char *file, int line, const char *msg) +no_return nasm_assert_failed(const char *file, int line, const char *msg) { nasm_malloc_error(ERR_FATAL, "assertion %s failed at %s:%d", msg, file, line); |