Browse Source

[PATCH #58] Made annotations of WinMain() agree with its prototype

pre-master-46
Jim Monte 7 years ago
committed by Holger Vogt
parent
commit
9e5b0e8f82
  1. 3
      src/winmain.c

3
src/winmain.c

@ -845,7 +845,8 @@ MakeArgcArgv(char *cmdline, int *argc, char ***argv)
/* Main entry point for our Windows application */
int WINAPI
WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance,
_In_ LPSTR lpszCmdLine, _In_ int nCmdShow)
{
int ix, iy; /* width and height of screen */
int iyt; /* height of screen divided by 3 */

Loading…
Cancel
Save