ruby-changes:58353
From: Alan <ko1@a...>
Date: Tue, 22 Oct 2019 12:21:23 +0900 (JST)
Subject: [ruby-changes:58353] 9c553139ae (master): Fix build for CPDEBUG=1
https://git.ruby-lang.org/ruby.git/commit/?id=9c553139ae From 9c553139ae7275f7f24694e54a35266c5c5d5e1c Mon Sep 17 00:00:00 2001 From: Alan Wu <XrXr@u...> Date: Mon, 21 Oct 2019 12:29:47 -0400 Subject: Fix build for CPDEBUG=1 The declarations went out-of-sync in dcfb7f6. diff --git a/compile.c b/compile.c index 53d88ee..c25ffbe 100644 --- a/compile.c +++ b/compile.c @@ -370,7 +370,7 @@ static void iseq_add_setlocal(rb_iseq_t *iseq, LINK_ANCHOR *const seq, int line, https://github.com/ruby/ruby/blob/trunk/compile.c#L370 /* error */ #if CPDEBUG > 0 -NORETURN(static void append_compile_error(rb_iseq_t *iseq, int line, const char *fmt, ...)); +NORETURN(static void append_compile_error(const rb_iseq_t *iseq, int line, const char *fmt, ...)); #endif static void -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/