summaryrefslogtreecommitdiffstats
path: root/unwind.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-08-07 06:45:56 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-08-07 06:45:56 -0700
commit4a4595707441f0617776629068c0c4598809f6d4 (patch)
treee04169001a50f326639315ec97bd3e6126dede8e /unwind.h
parentc870cb387621f6f6cf12c312133a18473d5e785f (diff)
downloadtxr-4a4595707441f0617776629068c0c4598809f6d4.tar.gz
txr-4a4595707441f0617776629068c0c4598809f6d4.tar.bz2
txr-4a4595707441f0617776629068c0c4598809f6d4.zip
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.
Diffstat (limited to 'unwind.h')
-rw-r--r--unwind.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/unwind.h b/unwind.h
index 074d6169..efd51f4d 100644
--- a/unwind.h
+++ b/unwind.h
@@ -167,7 +167,7 @@ extern "C" {
#endif
int jmp_save(struct jmp *);
-noreturn void jmp_restore(struct jmp *, int);
+NORETURN void jmp_restore(struct jmp *, int);
#ifdef __cplusplus
}
@@ -344,10 +344,10 @@ void uw_push_expand(uw_frame_t *, val form, val env);
val uw_rthrow(val sym, val exception);
val uw_rthrowv(val sym, struct args *);
val uw_rthrowfv(val sym, val fmt, struct args *);
-noreturn val uw_throw(val sym, val exception);
-noreturn val uw_throwf(val sym, val fmt, ...);
-noreturn val uw_errorf(val fmt, ...);
-noreturn val uw_errorfv(val fmt, struct args *args);
+NORETURN val uw_throw(val sym, val exception);
+NORETURN val uw_throwf(val sym, val fmt, ...);
+NORETURN val uw_errorf(val fmt, ...);
+NORETURN val uw_errorfv(val fmt, struct args *args);
val uw_warningf(val fmt, ...);
val uw_defer_warning(val args);
val uw_warning_exists(val tag);
@@ -383,7 +383,7 @@ void uw_push_cont_copy(uw_frame_t *, mem_t *ptr,
void uw_init(void);
void uw_late_init(void);
-noreturn val type_mismatch(val, ...);
+NORETURN val type_mismatch(val, ...);
#define uw_mark_frame \
uw_frame_t *uw_top = uw_current_frame()