more ATTNORETURN
A recent commit to alloc.c by Keni drew attention to the fact that there are extern prototypes scattered around in various .c files. Those can make use of ATTRNORETURN (non-gcc compilers and C23) the same way the prototypes in extern.h can, and they were overlooked when ATTRNORETURN was first added.
This commit is contained in:
@@ -53,7 +53,7 @@ Version _WIN_32IE Platform/IE
|
||||
/*#define COMCTL_URL
|
||||
* "http://www.microsoft.com/msdownload/ieplatform/ie/comctrlx86.asp"*/
|
||||
|
||||
extern void nethack_exit(int) NORETURN;
|
||||
ATTRNORETURN extern void nethack_exit(int) NORETURN;
|
||||
static TCHAR *_get_cmd_arg(TCHAR *pCmdLine);
|
||||
static HRESULT GetComCtlVersion(LPDWORD pdwMajor, LPDWORD pdwMinor);
|
||||
BOOL WINAPI
|
||||
|
||||
Reference in New Issue
Block a user