diff options
Diffstat (limited to 'extcap')
-rw-r--r-- | extcap/androiddump.c | 8 | ||||
-rw-r--r-- | extcap/ciscodump.c | 8 | ||||
-rw-r--r-- | extcap/randpktdump.c | 8 | ||||
-rw-r--r-- | extcap/sshdump.c | 8 |
4 files changed, 24 insertions, 8 deletions
diff --git a/extcap/androiddump.c b/extcap/androiddump.c index 07a2f77ad8..442f15deac 100644 --- a/extcap/androiddump.c +++ b/extcap/androiddump.c @@ -2699,8 +2699,12 @@ int main(int argc, char **argv) { } #ifdef _WIN32 -int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, - LPSTR lpCmdLine, int nCmdShow) { +int _stdcall +WinMain (struct HINSTANCE__ *hInstance, + struct HINSTANCE__ *hPrevInstance, + char *lpszCmdLine, + int nCmdShow) +{ return main(__argc, __argv); } #endif diff --git a/extcap/ciscodump.c b/extcap/ciscodump.c index 5ca4581910..a519e0912b 100644 --- a/extcap/ciscodump.c +++ b/extcap/ciscodump.c @@ -729,8 +729,12 @@ end: } #ifdef _WIN32 -int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, - LPSTR lpCmdLine, int nCmdShow) { +int _stdcall +WinMain (struct HINSTANCE__ *hInstance, + struct HINSTANCE__ *hPrevInstance, + char *lpszCmdLine, + int nCmdShow) +{ return main(__argc, __argv); } #endif diff --git a/extcap/randpktdump.c b/extcap/randpktdump.c index d0cb4cf9d6..0235470883 100644 --- a/extcap/randpktdump.c +++ b/extcap/randpktdump.c @@ -335,8 +335,12 @@ end: } #ifdef _WIN32 -int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, - LPSTR lpCmdLine, int nCmdShow) { +int _stdcall +WinMain (struct HINSTANCE__ *hInstance, + struct HINSTANCE__ *hPrevInstance, + char *lpszCmdLine, + int nCmdShow) +{ return main(__argc, __argv); } #endif diff --git a/extcap/sshdump.c b/extcap/sshdump.c index 94cf27de19..ab6988450f 100644 --- a/extcap/sshdump.c +++ b/extcap/sshdump.c @@ -528,8 +528,12 @@ end: } #ifdef _WIN32 -int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, - LPSTR lpCmdLine, int nCmdShow) { +int _stdcall +WinMain (struct HINSTANCE__ *hInstance, + struct HINSTANCE__ *hPrevInstance, + char *lpszCmdLine, + int nCmdShow) +{ return main(__argc, __argv); } #endif |