ruby-changes:31082
From: nobu <ko1@a...>
Date: Mon, 7 Oct 2013 14:03:36 +0900 (JST)
Subject: [ruby-changes:31082] nobu:r43161 (trunk): win32.c: internal functions
nobu 2013-10-07 14:03:29 +0900 (Mon, 07 Oct 2013) New Revision: 43161 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43161 Log: win32.c: internal functions * win32/win32.c (w32_spawn, w32_aspawn_flags): make internal functions static. Modified files: trunk/win32/win32.c Index: win32/win32.c =================================================================== --- win32/win32.c (revision 43160) +++ win32/win32.c (revision 43161) @@ -1207,7 +1207,7 @@ static char *wstr_to_mbstr(UINT, const W https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L1207 #define wstr_to_utf8(str, plen) wstr_to_mbstr(CP_UTF8, str, -1, plen) /* License: Artistic or GPL */ -rb_pid_t +static rb_pid_t w32_spawn(int mode, const char *cmd, const char *prog, UINT cp) { char fbuf[MAXPATHLEN]; @@ -1346,7 +1346,7 @@ rb_w32_uspawn(int mode, const char *cmd, https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L1346 } /* License: Artistic or GPL */ -rb_pid_t +static rb_pid_t w32_aspawn_flags(int mode, const char *prog, char *const *argv, DWORD flags, UINT cp) { int c_switch = 0; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/