From 515dbda07875a7ae37a3d9de6d6f994b5f04f629 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 7 Feb 2018 07:29:02 +0000 Subject: 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 --- mjit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mjit.c') 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. */ -- cgit v1.2.3