From 72db853bb825775b65e20af2b610c557426ed768 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 7 Oct 2013 05:03:29 +0000 Subject: 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 --- win32/win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win32/win32.c') diff --git a/win32/win32.c b/win32/win32.c index f374bfa209..7f5d736c79 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; -- cgit v1.2.3