mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5dad4ef825
commit
42d9712e78
2 changed files with 1 additions and 1 deletions
|
@ -233,6 +233,7 @@ struct ifaddrs {
|
|||
#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);
|
||||
|
|
1
ruby.c
1
ruby.c
|
@ -2256,7 +2256,6 @@ void
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue