aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-07 07:29:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-07 07:29:02 +0000
commitc5e114528bf9ad1a57c6ba895e499c539b75fe42 (patch)
tree1a1801c34aaf5fb276f66c7cfb66fb56326a5b28
parent76c5787c38a51d42331009f7f02f85dbb8f68217 (diff)
downloadruby-c5e114528bf9ad1a57c6ba895e499c539b75fe42.tar.gz
mjit.c: fix declaration of ruby_null_device
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--mjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit.c b/mjit.c
index ea3935bfc9..a938b990cc 100644
--- a/mjit.c
+++ b/mjit.c
@@ -204,7 +204,7 @@ static VALUE valid_class_serials;
/* Ruby level interface module. */
VALUE rb_mMJIT;
/* Portable /dev/null, defined in file.c */
-extern const char *ruby_null_device;
+extern const char ruby_null_device[];
#ifdef _WIN32
/* Linker option to enable libruby in the build directory. */