summaryrefslogtreecommitdiff
path: root/win32/winmain.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-09 23:15:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-09 23:15:08 +0000
commita64266a72837c350ac6552ac5cb14591b5cb2b05 (patch)
tree8fc8ade904dee168adf5d78483b31e9008442641 /win32/winmain.c
parent0e3d10173bec301c075555e20a0fc1da853ab35c (diff)
* configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert),
ext/digest/md5/md5.c, ext/openssl/ossl.c (main), ext/socket/extconf.rb (ipv6, wide-getaddrinfo): main should be int. * main.c (main), win32/winmain.c, wince/wincemain.c (WinMain): envp is no longer used so long time. based on a patch from Peter Bowen at [ruby-core:18208] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/winmain.c')
-rw-r--r--win32/winmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/winmain.c b/win32/winmain.c
index 4902d1d..467a835 100644
--- a/win32/winmain.c
+++ b/win32/winmain.c
@@ -1,10 +1,10 @@
#include <windows.h>
#include <stdio.h>
-extern int main(int, char**, char**);
+extern int main(int, char**);
int WINAPI
WinMain(HINSTANCE current, HINSTANCE prev, LPSTR cmdline, int showcmd)
{
- return main(0, NULL, NULL);
+ return main(0, NULL);
}