summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-07 05:03:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-07 05:03:29 +0000
commit72db853bb825775b65e20af2b610c557426ed768 (patch)
tree17b2c2065276eea7932017015aaf7fd7d8d3562f /win32/win32.c
parente51c62454d50d9a22d8176457243dbb6480ba218 (diff)
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
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c
index f374bfa..7f5d736 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -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;