From 4571248f624d2daefefbc565a3fcc96c4e22c547 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 28 Nov 2016 22:52:10 -0800 Subject: Eliminate duplicated warning-suppressing function. * eval.c (warning_continue): Static function removed. (no_warn_expand): Use uw_muffle_warning instead of removed function. * parser.y (warning_continue): Static function removed. (parse_once): Use uw_muffle_warning instead of removed function. * unwind.c (uw_muffle_warning): New function. * unwind.h (uw_muffle_warning): Declared. --- unwind.h | 1 + 1 file changed, 1 insertion(+) (limited to 'unwind.h') diff --git a/unwind.h b/unwind.h index 20e3c987..ea8af20b 100644 --- a/unwind.h +++ b/unwind.h @@ -143,6 +143,7 @@ uw_frame_t *uw_current_exit_point(void); val uw_get_frames(void); val uw_find_frame(val extype, val frtype); val uw_invoke_catch(val catch_frame, val sym, struct args *); +val uw_muffle_warning(val exc, struct args *); val uw_capture_cont(val tag, val fun, val ctx_form); void uw_push_cont_copy(uw_frame_t *, mem_t *ptr, void (*copy)(mem_t *ptr, int parent)); -- cgit v1.2.3