ruby-changes:50188
From: nobu <ko1@a...>
Date: Thu, 8 Feb 2018 17:09:54 +0900 (JST)
Subject: [ruby-changes:50188] nobu:r62306 (trunk): internal.h: moved ruby_null_device declaration
nobu 2018-02-08 17:09:49 +0900 (Thu, 08 Feb 2018) New Revision: 62306 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62306 Log: internal.h: moved ruby_null_device declaration Modified files: trunk/internal.h trunk/mjit.c Index: internal.h =================================================================== --- internal.h (revision 62305) +++ internal.h (revision 62306) @@ -1242,6 +1242,7 @@ void rb_call_end_proc(VALUE data); https://github.com/ruby/ruby/blob/trunk/internal.h#L1242 void rb_mark_end_proc(void); /* file.c */ +extern const char ruby_null_device[]; VALUE rb_home_dir_of(VALUE user, VALUE result); VALUE rb_default_home_dir(VALUE result); VALUE rb_realpath_internal(VALUE basedir, VALUE path, int strict); Index: mjit.c =================================================================== --- mjit.c (revision 62305) +++ mjit.c (revision 62306) @@ -206,8 +206,6 @@ static char *tmp_dir; https://github.com/ruby/ruby/blob/trunk/mjit.c#L206 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[]; #ifdef _WIN32 /* Linker option to enable libruby in the build directory. */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/