summaryrefslogtreecommitdiff
path: root/mjit.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-01 20:26:28 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-01 20:26:28 +0900
commit4e03a7298b3a99de9c57f9a4934d38445cad1b10 (patch)
treeb2b386a938cb26414b642d4d9e8d7a4919a08c4d /mjit.c
parentcb760f36aae42a63738394f170444b6ae4405b82 (diff)
downloadruby-4e03a7298b3a99de9c57f9a4934d38445cad1b10.tar.gz
Constified mjit_init
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit.c b/mjit.c
index 8094127074..93845cdb04 100644
--- a/mjit.c
+++ b/mjit.c
@@ -741,7 +741,7 @@ split_flags(const char *flags)
// processing ISeqs. The function should be called first for using MJIT.
// If everything is successful, MJIT_INIT_P will be TRUE.
void
-mjit_init(struct mjit_options *opts)
+mjit_init(const struct mjit_options *opts)
{
mjit_opts = *opts;
mjit_enabled = true;