[前][次][番号順一覧][スレッド一覧]

ruby-changes:50159

From: nobu <ko1@a...>
Date: Wed, 7 Feb 2018 16:29:08 +0900 (JST)
Subject: [ruby-changes:50159] nobu:r62277 (trunk): mjit.c: fix declaration of ruby_null_device

nobu	2018-02-07 16:29:02 +0900 (Wed, 07 Feb 2018)

  New Revision: 62277

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62277

  Log:
    mjit.c: fix declaration of ruby_null_device

  Modified files:
    trunk/mjit.c
Index: mjit.c
===================================================================
--- mjit.c	(revision 62276)
+++ mjit.c	(revision 62277)
@@ -204,7 +204,7 @@ static VALUE valid_class_serials; https://github.com/ruby/ruby/blob/trunk/mjit.c#L204
 /* 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. */

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]