Skip to content

Commit

Permalink
declare rb_w32_sysinit in header.
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
unak committed Dec 13, 2016
1 parent 5dad4ef commit 42d9712
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions include/ruby/win32.h
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion ruby.c
Expand Up @@ -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;
Expand Down

0 comments on commit 42d9712

Please sign in to comment.