ruby-changes:44999
From: usa <ko1@a...>
Date: Tue, 13 Dec 2016 14:17:54 +0900 (JST)
Subject: [ruby-changes:44999] usa:r57072 (trunk): declare `rb_w32_sysinit` in header.
usa 2016-12-13 14:17:48 +0900 (Tue, 13 Dec 2016) New Revision: 57072 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57072 Log: declare `rb_w32_sysinit` in header. * include/ruby/win32.h (rb_w32_sysinit): declare. [ruby-core:78444] [Bug #12994] * ruby.c (ruby_sysinit): follow above change. Modified files: trunk/include/ruby/win32.h trunk/ruby.c Index: include/ruby/win32.h =================================================================== --- include/ruby/win32.h (revision 57071) +++ include/ruby/win32.h (revision 57072) @@ -233,6 +233,7 @@ struct ifaddrs { https://github.com/ruby/ruby/blob/trunk/include/ruby/win32.h#L233 #define IFF_POINTOPOINT IFF_POINTTOPOINT #endif +extern void rb_w32_sysinit(int *, char ***); extern DWORD rb_w32_osid(void); extern rb_pid_t rb_w32_pipe_exec(const char *, const char *, int, int *, int *); extern int flock(int fd, int oper); Index: ruby.c =================================================================== --- ruby.c (revision 57071) +++ ruby.c (revision 57072) @@ -2256,7 +2256,6 @@ void https://github.com/ruby/ruby/blob/trunk/ruby.c#L2256 ruby_sysinit(int *argc, char ***argv) { #if defined(_WIN32) - void rb_w32_sysinit(int *argc, char ***argv); rb_w32_sysinit(argc, argv); #endif origarg.argc = *argc; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/