Constified mjit_init

This commit is contained in:
Nobuyoshi Nakada 2019-12-01 20:26:28 +09:00
parent cb760f36aa
commit 4e03a7298b
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
2 changed files with 2 additions and 2 deletions

2
mjit.c
View file

@ -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;