summaryrefslogtreecommitdiff
path: root/extcap/randpktdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'extcap/randpktdump.c')
-rw-r--r--extcap/randpktdump.c8
1 files changed, 6 insertions, 2 deletions
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