consistent ATTRNORETURN prefix and NORETURN suffix

This commit is contained in:
nhmall
2025-05-30 22:01:20 -04:00
parent 50e5715ca5
commit 9ef5e886ee
10 changed files with 13 additions and 13 deletions

View File

@@ -90,10 +90,10 @@ int util_strncmpi(const char *s1, const char *s2, size_t sz);
#ifdef UNIX
#define nethack_exit exit
void nh_terminate(int) NORETURN; /* bwrite() calls this */
ATTRNORETURN void nh_terminate(int) NORETURN; /* bwrite() calls this */
static void chdirx(const char *);
#else
extern void nethack_exit(int) NORETURN;
ATTRNORETURN extern void nethack_exit(int) NORETURN;
#ifdef WIN32
boolean get_user_home_folder(char *homebuf, size_t sz);
int GUILaunched;