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

This commit is contained in:
Jim Monte 2019-06-01 17:22:08 +02:00 committed by Holger Vogt
parent 8f2677438b
commit 9e5b0e8f82
1 changed files with 2 additions and 1 deletions

View File

@ -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 */