build warning for noreturn function that does return
The warning showed up with gcc on msdos (__DJGPP__) end.c: In function 'nh_terminate': end.c:1729:1: warning: 'noreturn' function does return } ^
This commit is contained in:
@@ -28,7 +28,7 @@ char *FDECL(translate_path_variables, (const char *, char *));
|
||||
char *NDECL(exename);
|
||||
boolean NDECL(fakeconsole);
|
||||
void NDECL(freefakeconsole);
|
||||
E void FDECL(nethack_exit, (int));
|
||||
E void FDECL(nethack_exit, (int)) NORETURN;
|
||||
#if defined(MSWIN_GRAPHICS)
|
||||
E void NDECL(mswin_destroy_reg);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user