switch source tree from k&r to c99

This commit is contained in:
nhmall
2021-01-26 21:06:16 -05:00
parent a2a9cb7b4f
commit f963c5aca7
232 changed files with 12099 additions and 17782 deletions

View File

@@ -53,7 +53,7 @@ Version _WIN_32IE Platform/IE
/*#define COMCTL_URL
* "http://www.microsoft.com/msdownload/ieplatform/ie/comctrlx86.asp"*/
extern void FDECL(nethack_exit, (int)) NORETURN;
extern void nethack_exit(int) NORETURN;
static TCHAR *_get_cmd_arg(TCHAR *pCmdLine);
static HRESULT GetComCtlVersion(LPDWORD pdwMajor, LPDWORD pdwMinor);
BOOL WINAPI
@@ -72,7 +72,7 @@ extern int GUILaunched; /* We tell shared startup code in windmain.c
#endif
// Foward declarations of functions included in this code module:
extern boolean FDECL(main, (int, char **));
extern boolean main(int, char **);
static void __cdecl mswin_moveloop(void *);
#define MAX_CMDLINE_PARAM 255
@@ -242,7 +242,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
}
PNHWinApp
GetNHApp()
GetNHApp(void)
{
return &_nethack_app;
}