mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
win32.c: internal functions
* win32/win32.c (w32_spawn, w32_aspawn_flags): make internal functions static. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e51c62454d
commit
72db853bb8
1 changed files with 2 additions and 2 deletions
|
@ -1207,7 +1207,7 @@ static char *wstr_to_mbstr(UINT, const WCHAR *, int, long *);
|
|||
#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, const char *prog)
|
|||
}
|
||||
|
||||
/* 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;
|
||||
|
|
Loading…
Add table
Reference in a new issue