Merge branch 'NetHack-3.6.2'

This commit is contained in:
nhmall
2018-12-19 06:47:30 -05:00
8 changed files with 103 additions and 85 deletions

View File

@@ -405,6 +405,10 @@ typedef genericptr genericptr_t; /* (void *) or (char *) */
#if __GNUC__ >= 3
#define UNUSED __attribute__((unused))
#define NORETURN __attribute__((noreturn))
/* disable gcc's __attribute__((__warn_unused_result__)) since explicitly
discarding the result by casting to (void) is not accepted as a 'use' */
#define __warn_unused_result__ /*empty*/
#define warn_unused_result /*empty*/
#endif
#endif