summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-04-14 07:27:12 +0900
committerGitHub <[email protected]>2021-04-14 07:27:12 +0900
commit3c5467af6353238557dc7b303771dcd70722d64f (patch)
tree6fce8f2754e07c619676592bce22f2f572b99e36 /src
parent5a8f0bdaf25179a6b40f2cfd2c26dd53cb6203ab (diff)
parent7fe6f3976eca19a86fe533deb4c60b31cd80a236 (diff)
downloadmruby-3c5467af6353238557dc7b303771dcd70722d64f.tar.gz
mruby-3c5467af6353238557dc7b303771dcd70722d64f.zip
Merge pull request #5411 from artichoke/mrb_protect_atexit_prototype_mismatch
Fix incorrect prototype on declaration of mrb_protect_atexit
Diffstat (limited to 'src')
-rw-r--r--src/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c
index 1b50eec34..4dafc964a 100644
--- a/src/state.c
+++ b/src/state.c
@@ -183,7 +183,7 @@ mrb_free_context(mrb_state *mrb, struct mrb_context *c)
mrb_free(mrb, c);
}
-int mrb_protect_atexit(mrb_state *mrb);
+void mrb_protect_atexit(mrb_state *mrb);
MRB_API void
mrb_close(mrb_state *mrb)