aboutsummaryrefslogtreecommitdiffstats
path: root/mjit.c
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
commit515dbda07875a7ae37a3d9de6d6f994b5f04f629 (patch)
tree1a1801c34aaf5fb276f66c7cfb66fb56326a5b28 /mjit.c
parentf5226452ab5126ff6db70e5a8808e41b95522930 (diff)
downloadruby-515dbda07875a7ae37a3d9de6d6f994b5f04f629.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
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 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. */