aboutsummaryrefslogtreecommitdiffstats
path: root/extcap/randpktdump.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-07-16 12:09:27 -0400
committerMichael Mann <mmann78@netscape.net>2016-07-16 19:52:00 +0000
commit9a9c72cceab5d6cdd9bdd7650e038aac4f697013 (patch)
tree9a477bff1ad129b0dc05f04db88687326620ed24 /extcap/randpktdump.c
parent6d8ea38773a127fe68d967a3b724738e6c725dea (diff)
Have extcap executables mirror the GTK's WinMain signature.
This is for appeasing VS Code Analysis. Change-Id: Ib7b3d8a3025dd764da283335051d0f77b45f6dee Reviewed-on: https://code.wireshark.org/review/16499 Reviewed-by: Michael Mann <mmann78@netscape.net>
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