From 4a4595707441f0617776629068c0c4598809f6d4 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 7 Aug 2020 06:45:56 -0700 Subject: Change noreturn to NORETURN. The noreturn macro is respelled to harmonize with the upper-case INLINE and NOINLINE. * lib.h (noreturn): Rename to NORETURN. * arith.c (not_number, not_integer, invalid_ops, invalid_op): Declaration updated. * arith.c (do_mp_error): Likewise. * eval.c (eval_error, no_bindable_error, dotted_form_error): Likewise. * eval.h (eval_error): Likewise. * lib.c (unsup_obj, callerror, wrongargs): Likewise. * match.c (sem_error): Likewise. * stream.c (unimpl, unimpl_put_string, unimpl_put_char, unimpl_put_byte, unimpl_get_line, unimpl_get_char, unimpl_get_byte, unimpl_unget_char, unimpl_unget_byte, unimpl_put_buf, unimpl_fill_buf, unimpl_seek, unimpl_truncate, unimpl_get_sock_family, unimpl_get_sock_type, unimpl_get_sock_peer, unimpl_set_sock_peer): Likewise. * struct.c (no_such_struct, no_such_slot, no_such_static_slot): Likewise. * unwind.h (jmp_restore, uw_throw, uw_throwf, uw_errorf, uw_errorfv, type_mismatch): Likewise. --- lib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib.h') diff --git a/lib.h b/lib.h index f23eb36f..e74ed15f 100644 --- a/lib.h +++ b/lib.h @@ -57,10 +57,10 @@ typedef double_uintptr_t dbl_ucnum; #define PTR_BIT (SIZEOF_PTR * CHAR_BIT) #ifdef __GNUC__ -#define noreturn __attribute__((noreturn)) +#define NORETURN __attribute__((noreturn)) #define NOINLINE __attribute__((noinline)) #else -#define noreturn +#define NORETURN #define NOINLINE #endif -- cgit v1.2.3