diff --git a/re.c b/re.c index c821349763..408b5e5295 100644 --- a/re.c +++ b/re.c @@ -1346,6 +1346,7 @@ static VALUE rb_reg_preprocess(const char *p, const char *end, rb_encoding *enc, rb_encoding **fixed_enc, onig_errmsg_buffer err); +NORETURN(static void reg_enc_error(VALUE re, VALUE str)); static void reg_enc_error(VALUE re, VALUE str)