Skip to content

Commit

Permalink
Fix build for CPDEBUG=1
Browse files Browse the repository at this point in the history
The declarations went out-of-sync in dcfb7f6.
  • Loading branch information
XrXr authored and nobu committed Oct 22, 2019
1 parent fa8ac91 commit 9c55313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compile.c
Expand Up @@ -370,7 +370,7 @@ static void iseq_add_setlocal(rb_iseq_t *iseq, LINK_ANCHOR *const seq, int line,

/* 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
Expand Down

0 comments on commit 9c55313

Please sign in to comment.