=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for falcons-eye-1.9.3nb16
( cd src ; /opt/pkg/bin/bmake )
touch ../src/config.h-t
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -c monst.c
In file included from monst.c:5:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from monst.c:5:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from monst.c:5:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
4 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -c objects.c
In file included from objects.c:8:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from objects.c:8:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from objects.c:8:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
4 warnings generated.
clang -O -I../include -I/opt/pkg/include/SDL -I/opt/pkg/include -c makedefs.c
In file included from makedefs.c:10:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from makedefs.c:10:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from makedefs.c:10:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
makedefs.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
main(argc, argv)
^
makedefs.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_makedefs(options)
^
makedefs.c:321:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
char *xcrypt(str)
      ^
makedefs.c:353:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        Fprintf(ofp,Dont_Edit_Data);
                    ^~~~~~~~~~~~~~
makedefs.c:353:14: note: treat the string as an argument to avoid this
        Fprintf(ofp,Dont_Edit_Data);
                    ^
                    "%s", 
makedefs.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
version_string(outbuf)
^
makedefs.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
version_id_string(outbuf, build_date)
^
makedefs.c:540:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        Fprintf(ofp,Dont_Edit_Code);
                    ^~~~~~~~~~~~~~
makedefs.c:540:14: note: treat the string as an argument to avoid this
        Fprintf(ofp,Dont_Edit_Code);
                    ^
                    "%s", 
makedefs.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
d_filter(line)
^
makedefs.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
h_filter(line)
^
makedefs.c:1136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_control(s)
^
makedefs.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
without_control(s)
^
makedefs.c:1176:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        Fprintf(ofp,Dont_Edit_Data);
                    ^~~~~~~~~~~~~~
makedefs.c:1176:14: note: treat the string as an argument to avoid this
        Fprintf(ofp,Dont_Edit_Data);
                    ^
                    "%s", 
makedefs.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ranged_attk(ptr)        /* returns TRUE if monster can attack at range */
^
makedefs.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mstrength(ptr)
^
makedefs.c:1298:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    Fprintf(ofp,Dont_Edit_Code);
                ^~~~~~~~~~~~~~
makedefs.c:1298:17: note: treat the string as an argument to avoid this
    Fprintf(ofp,Dont_Edit_Code);
                ^
                "%s", 
makedefs.c:1339:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        Fprintf(ofp,Dont_Edit_Code);
                    ^~~~~~~~~~~~~~
makedefs.c:1339:14: note: treat the string as an argument to avoid this
        Fprintf(ofp,Dont_Edit_Code);
                    ^
                    "%s", 
makedefs.c:1377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
qt_comment(s)
^
makedefs.c:1385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
qt_control(s)
^
makedefs.c:1392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_hdr (code)
^
makedefs.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
new_id (code)
^
makedefs.c:1419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
known_msg(num, id)
^
makedefs.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
new_msg(s, num, id)
^
makedefs.c:1451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_qt_control(s)
^
makedefs.c:1490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_qt_text(s)
^
makedefs.c:1623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
limit(name,pref)        /* limit a name to 30 characters length */
^
makedefs.c:1652:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        Fprintf(ofp,Dont_Edit_Code);
                    ^~~~~~~~~~~~~~
makedefs.c:1652:14: note: treat the string as an argument to avoid this
        Fprintf(ofp,Dont_Edit_Code);
                    ^
                    "%s", 
makedefs.c:1753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tmpdup(str)
^
makedefs.c:1764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
eos(str)
^
makedefs.c:1807:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    Fprintf(ofp,Dont_Edit_Code);
                ^~~~~~~~~~~~~~
makedefs.c:1807:17: note: treat the string as an argument to avoid this
    Fprintf(ofp,Dont_Edit_Code);
                ^
                "%s", 
makedefs.c:1832:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    Fprintf(ofp,Dont_Edit_Code);
                ^~~~~~~~~~~~~~
makedefs.c:1832:17: note: treat the string as an argument to avoid this
    Fprintf(ofp,Dont_Edit_Code);
                ^
                "%s", 
makedefs.c:2073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
clear_path(you_row,you_col,y2,x2)
^
35 warnings generated.
clang  -o makedefs makedefs.o ../src/monst.o ../src/objects.o
./makedefs -p
./makedefs -o
touch ../src/hack.h-t
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c allmain.c
In file included from allmain.c:13:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from allmain.c:13:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from allmain.c:13:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
allmain.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
welcome(new_game)
^
5 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c alloc.c
In file included from alloc.c:11:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from alloc.c:11:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from alloc.c:11:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
alloc.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
alloc(lth)
^
alloc.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fmt_ptr(ptr, buf)
^
6 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c apply.c
In file included from apply.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from apply.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from apply.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
apply.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_camera(obj)
^
apply.c:61:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                pline(nothing_happens);
                      ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apply.c:61:9: note: treat the string as an argument to avoid this
                pline(nothing_happens);
                      ^
                      "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
apply.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_towel(obj)
^
apply.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
its_dead(rx, ry, resp)
^
apply.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_stethoscope(obj)
^
apply.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_whistle(obj)
^
apply.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_magic_whistle(obj)
^
apply.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
um_dist(x,y,n)
^
apply.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
o_unleash(otmp)         /* otmp is about to be destroyed or stolen */
^
apply.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_unleash(mtmp)         /* mtmp is about to die, or become untame */
^
apply.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_leash(obj)
^
apply.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_mleash(mtmp)        /* assuming mtmp->mleashed has been checked */
^
apply.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_leash(x, y)
^
apply.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wield_tool(obj)
^
apply.c:596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_mirror(obj)
^
apply.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_bell(obj)
^
apply.c:795:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    pline(nothing_happens);
                          ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apply.c:795:13: note: treat the string as an argument to avoid this
                    pline(nothing_happens);
                          ^
                          "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
apply.c:827:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                  case 0:  pline(nothing_happens); break;
                                 ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apply.c:827:20: note: treat the string as an argument to avoid this
                  case 0:  pline(nothing_happens); break;
                                 ^
                                 "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
apply.c:839:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                else pline(nothing_happens);
                           ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apply.c:839:14: note: treat the string as an argument to avoid this
                else pline(nothing_happens);
                           ^
                           "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
apply.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_candelabrum(obj)
^
apply.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_candle(obj)
^
apply.c:913:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                You(no_elbow_room);
                    ^~~~~~~~~~~~~
apply.c:913:7: note: treat the string as an argument to avoid this
                You(no_elbow_room);
                    ^
                    "%s", 
apply.c:967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
snuff_candle(otmp)  /* call in drop, throw, and put in box, etc. */
^
apply.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
snuff_lit(obj)
^
apply.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_lamp(obj)
^
apply.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
light_cocktail(obj)
^
apply.c:1074:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            You(no_elbow_room);
                ^~~~~~~~~~~~~
apply.c:1074:10: note: treat the string as an argument to avoid this
            You(no_elbow_room);
                ^
                "%s", 
apply.c:1138:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            else pline(nothing_happens);
                       ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apply.c:1138:17: note: treat the string as an argument to avoid this
            else pline(nothing_happens);
                       ^
                       "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
apply.c:1143:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        } else pline(nothing_happens);
                     ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apply.c:1143:15: note: treat the string as an argument to avoid this
        } else pline(nothing_happens);
                     ^
                     "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
apply.c:1155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jump(magic)
^
apply.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tinnable(corpse)
^
apply.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_tinning_kit(obj)
^
apply.c:1382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_unicorn_horn(obj)
^
apply.c:1453:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            pline(nothing_happens);
                  ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apply.c:1453:12: note: treat the string as an argument to avoid this
            pline(nothing_happens);
                  ^
                  "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
apply.c:1534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fig_transform(arg, timeout)
^
apply.c:1623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
figurine_location_checks(obj, cc, quietly)
^
apply.c:1652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_figurine(obj)
^
apply.c:1683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_grease(obj)
^
apply.c:1757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_trap(otmp)
^
apply.c:1859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_whip(obj)
^
apply.c:1926:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    pline(msg_slipsfree);
                          ^~~~~~~~~~~~~
apply.c:1926:13: note: treat the string as an argument to avoid this
                    pline(msg_slipsfree);
                          ^
                          "%s", 
apply.c:1969:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                else pline(msg_snap);
                           ^~~~~~~~
apply.c:1969:14: note: treat the string as an argument to avoid this
                else pline(msg_snap);
                           ^
                           "%s", 
apply.c:1991:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                pline(msg_slipsfree);
                      ^~~~~~~~~~~~~
apply.c:1991:9: note: treat the string as an argument to avoid this
                pline(msg_slipsfree);
                      ^
                      "%s", 
apply.c:1994:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        } else pline(msg_snap);
                     ^~~~~~~~
apply.c:1994:15: note: treat the string as an argument to avoid this
        } else pline(msg_snap);
                     ^
                     "%s", 
apply.c:2095:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                pline(msg_slipsfree);
                      ^~~~~~~~~~~~~
apply.c:2095:9: note: treat the string as an argument to avoid this
                pline(msg_slipsfree);
                      ^
                      "%s", 
apply.c:2102:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                else pline(msg_snap);
                           ^~~~~~~~
apply.c:2102:14: note: treat the string as an argument to avoid this
                else pline(msg_snap);
                           ^
                           "%s", 
apply.c:2111:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        pline(msg_snap);
              ^~~~~~~~
apply.c:2111:8: note: treat the string as an argument to avoid this
        pline(msg_snap);
              ^
              "%s", 
apply.c:2125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_pole (obj)
^
apply.c:2135:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            pline(not_enough_room);
                  ^~~~~~~~~~~~~~~
apply.c:2135:12: note: treat the string as an argument to avoid this
            pline(not_enough_room);
                  ^
                  "%s", 
apply.c:2145:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        pline(where_to_hit);
              ^~~~~~~~~~~~
apply.c:2145:8: note: treat the string as an argument to avoid this
        pline(where_to_hit);
              ^
              "%s", 
apply.c:2163:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            You(cant_see_spot);
                ^~~~~~~~~~~~~
apply.c:2163:10: note: treat the string as an argument to avoid this
            You(cant_see_spot);
                ^
                "%s", 
apply.c:2172:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            pline(nothing_happens);
                  ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apply.c:2172:12: note: treat the string as an argument to avoid this
            pline(nothing_happens);
                  ^
                  "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
apply.c:2178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_grapple (obj)
^
apply.c:2188:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            pline(not_enough_room);
                  ^~~~~~~~~~~~~~~
apply.c:2188:12: note: treat the string as an argument to avoid this
            pline(not_enough_room);
                  ^
                  "%s", 
apply.c:2198:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        pline(where_to_hit);
              ^~~~~~~~~~~~
apply.c:2198:8: note: treat the string as an argument to avoid this
        pline(where_to_hit);
              ^
              "%s", 
apply.c:2213:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                You(cant_see_spot);
                    ^~~~~~~~~~~~~
apply.c:2213:7: note: treat the string as an argument to avoid this
                You(cant_see_spot);
                    ^
                    "%s", 
apply.c:2259:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        pline(nothing_happens);
              ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apply.c:2259:8: note: treat the string as an argument to avoid this
        pline(nothing_happens);
              ^
              "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
apply.c:2268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_break_wand(obj)
^
apply.c:2452:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        pline(nothing_happens);
                              ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apply.c:2452:10: note: treat the string as an argument to avoid this
                        pline(nothing_happens);
                              ^
                              "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
apply.c:2586:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    pline(nothing_happens);
                          ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apply.c:2586:13: note: treat the string as an argument to avoid this
                    pline(nothing_happens);
                          ^
                          "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
64 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c artifact.c
In file included from artifact.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from artifact.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from artifact.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
artifact.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
save_artifacts(fd)
^
artifact.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restore_artifacts(fd)
^
artifact.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
artiname(artinum)
^
artifact.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mk_artifact(otmp, alignment)
^
artifact.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
artifact_name(name, otyp)
^
artifact.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
exist_artifact(otyp, name)
^
artifact.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
artifact_exists(otmp, name, mod)
^
artifact.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spec_ability(otmp, abil)
^
artifact.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restrict_name(otmp, name)  /* returns 1 if name is restricted for otmp->otyp */
^
artifact.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
attacks(adtyp, otmp)
^
artifact.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
defends(adtyp, otmp)
^
artifact.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
protects(adtyp, otmp)
^
artifact.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_artifact_intrinsic(otmp,on,wp_mask)
^
artifact.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
touch_artifact(obj,mon)
^
artifact.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spec_applies(weap, mtmp)
^
artifact.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spec_m2(otmp)
^
artifact.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spec_abon(otmp, mon)
^
artifact.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spec_dbon(otmp, mon, tmp)
^
artifact.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
discover_artifact(m)
^
artifact.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
undiscovered_artifact(m)
^
artifact.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
disp_artifact_discoveries(tmpwin)
^
artifact.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
artifact_hit(magr, mdef, otmp, dmgptr, dieroll)
^
artifact.c:1088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
arti_invoke(obj)
^
artifact.c:1097:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            pline(nothing_happens);
                  ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
artifact.c:1097:12: note: treat the string as an argument to avoid this
            pline(nothing_happens);
                  ^
                  "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
artifact.c:1301:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void arti_speak(obj)
     ^
29 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c attrib.c
In file included from attrib.c:7:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from attrib.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from attrib.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
attrib.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
adjattrib(ndx, incr, msgflg)
^
attrib.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gainstr(otmp, incr)
^
attrib.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
losestr(num)    /* may kill you; cause may be poison or monster like 'a' */
^
attrib.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
change_luck(n)
^
attrib.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stone_luck(parameter)
^
attrib.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
exercise(i, inc_or_dec)
^
attrib.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
init_attr(np)
^
attrib.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
adjabil(oldlevel,newlevel)
^
attrib.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
acurr(x)
^
attrib.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
adjalign(n)
^
14 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c ball.c
In file included from ball.c:7:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from ball.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from ball.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
ball.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_bc(already_blind)
^
ball.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
move_bc(before, control, ballx, bally, chainx, chainy)
^
ball.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drag_ball(x, y, bc_control, ballx, bally, chainx, chainy, cause_delay)
^
ball.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drop_ball(x, y)
^
8 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c bones.c
In file included from bones.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from bones.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from bones.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
bones.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
no_bones_level(lev)
^
bones.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
goodfruit(id)
^
bones.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
resetobjs(ochain,restore)
^
bones.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drop_upon_death(mtmp, cont)
^
bones.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
savebones(corpse)
^
9 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c botl.c
In file included from botl.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from botl.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from botl.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
botl.c:48:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int xlev_to_rank(xlev)
    ^
botl.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rank_of(lev, monnum, female)
^
botl.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
title_to_mon(str, rank_indx, title_length)
^
botl.c:182:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                Sprintf(nb = eos(nb), mbot);
                                      ^~~~
../include/global.h:261:25: note: expanded from macro 'Sprintf'
#define Sprintf  (void) sprintf
                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
botl.c:182:25: note: treat the string as an argument to avoid this
                Sprintf(nb = eos(nb), mbot);
                                      ^
                                      "%s", 
../include/global.h:261:25: note: expanded from macro 'Sprintf'
#define Sprintf  (void) sprintf
                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^
botl.c:184:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                Sprintf(nb = eos(nb), rank());
                                      ^~~~~~
../include/global.h:261:25: note: expanded from macro 'Sprintf'
#define Sprintf  (void) sprintf
                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
botl.c:184:25: note: treat the string as an argument to avoid this
                Sprintf(nb = eos(nb), rank());
                                      ^
                                      "%s", 
../include/global.h:261:25: note: expanded from macro 'Sprintf'
#define Sprintf  (void) sprintf
                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^
botl.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
describe_level(buf)
^
10 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c cmd.c
In file included from cmd.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from cmd.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from cmd.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
cmd.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_occupation(fn, txt, xtime)
^
cmd.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pushch(ch)
^
cmd.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
savech(ch)
^
cmd.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
enlght_line(start, middle, end)
^
cmd.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
enlightenment(final)
^
cmd.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
show_conduct(final)
^
cmd.c:1373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
count_obj(chain, total_count, total_size, top, recurse)
^
cmd.c:1396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_chain(win, src, chain, total_count, total_size)
^
cmd.c:1414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_invent_chain(win, src, chain, total_count, total_size)
^
cmd.c:1434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
contained(win, src, total_count, total_size)
^
cmd.c:1461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_chain(win, src, chain, total_count, total_size)
^
cmd.c:1557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rhack(cmd)
^
cmd.c:1724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xytod(x, y)     /* convert an x,y pair into a direction code */
^
cmd.c:1736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dtoxy(cc,dd)    /* convert a direction code into an x,y pair */
^
cmd.c:1746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
movecmd(sym)    /* also sets u.dz, but returns false for <> */
^
cmd.c:1766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getdir(s)
^
cmd.c:1808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
isok(x,y)
^
cmd.c:1821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
click_to_cmd(x, y, mod)
^
cmd.c:1874:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        pline(in_line);
                              ^~~~~~~
cmd.c:1874:10: note: treat the string as an argument to avoid this
                        pline(in_line);
                              ^
                              "%s", 
23 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c dbridge.c
In file included from dbridge.c:13:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from dbridge.c:13:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from dbridge.c:13:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
dbridge.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_pool(x,y)
^
dbridge.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_lava(x,y)
^
dbridge.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_ice(x,y)
^
dbridge.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_drawbridge_wall(x,y)
^
dbridge.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_db_wall(x,y)
^
dbridge.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_drawbridge(x,y)
^
dbridge.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_wall_for_db(x,y)
^
dbridge.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_drawbridge(x,y,dir,flag)
^
dbridge.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
e_at(x, y)
^
dbridge.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_to_e(mtmp, x, y, etmp)
^
dbridge.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
u_to_e(etmp)
^
dbridge.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_entity(x, y, etmp)
^
dbridge.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
e_nam(etmp)
^
dbridge.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
E_phrase(etmp, verb)
^
dbridge.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
e_survives_at(etmp, x, y)
^
dbridge.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
e_died(etmp, dest, how)
^
dbridge.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
automiss(etmp)
^
dbridge.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
e_missed(etmp, chunks)
^
dbridge.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
e_jumps(etmp)
^
dbridge.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_entity(etmp)
^
dbridge.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
close_drawbridge(x,y)
^
dbridge.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
open_drawbridge(x,y)
^
dbridge.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
destroy_drawbridge(x,y)
^
27 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c decl.c
In file included from decl.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from decl.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from decl.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
4 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c detect.c
In file included from detect.c:10:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from detect.c:10:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from detect.c:10:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
detect.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
o_in(obj, oclass)
^
detect.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_dknown_of(obj)
^
detect.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_map_spot(x, y, oclass)
^
detect.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
clear_stale_map(oclass)
^
detect.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gold_detect(sobj)
^
detect.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
food_detect(sobj)
^
detect.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
object_detect(detector, class)
^
detect.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
monster_detect(otmp, mclass)
^
detect.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sense_trap(trap, x, y, src_cursed)
^
detect.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
trap_detect(sobj)
^
detect.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
level_distance(where)
^
detect.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_crystal_ball(obj)
^
detect.c:711:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        if (flags.verbose) pline(Never_mind);
                                 ^~~~~~~~~~
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
detect.c:711:27: note: treat the string as an argument to avoid this
        if (flags.verbose) pline(Never_mind);
                                 ^
                                 "%s", 
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^
detect.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
show_map_spot(x, y)
^
detect.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cvt_sdoor_to_door(lev)
^
detect.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
findone(zx,zy,num)
^
detect.c:890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
openone(zx,zy,num)
^
detect.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_trap(trap)
^
detect.c:984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dosearch0(aflag)
^
23 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c dig.c
In file included from dig.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from dig.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from dig.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
dig.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkcavepos(x, y, dist, waslit, rockit)
^
dig.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkcavearea(rockit)
^
dig.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dig_typ(x, y)
^
dig.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dig_check(madeby, verbose, x, y)
^
dig.c:334:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                if(digtxt) pline(digtxt);       /* after newsym */
                                 ^~~~~~
dig.c:334:20: note: treat the string as an argument to avoid this
                if(digtxt) pline(digtxt);       /* after newsym */
                                 ^
                                 "%s", 
dig.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fillholetyp(x,y)
^
dig.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
digactualhole(x, y, madeby, ttyp)
^
dig.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dighole(pit_only)
^
dig.c:743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_pick_axe(obj)
^
dig.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mdig_tunnel(mtmp)
^
dig.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bury_an_obj(otmp)
^
dig.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bury_objs(x, y)
^
dig.c:1166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
unearth_objs(x, y)
^
dig.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rot_organic(arg, timeout)
^
dig.c:1222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rot_corpse(arg, timeout)
^
19 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c display.c
In file included from display.c:118:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from display.c:118:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from display.c:118:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
display.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
magic_map_background(x, y, show)
^
display.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
map_background(x, y, show)
^
display.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
map_trap(trap, show)
^
display.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
map_object(obj, show)
^
display.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
map_invisible(x, y)
^
display.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
unmap_object(x, y)
^
display.c:348:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void map_location(x,y,show)
     ^
display.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
display_monster(x, y, mon, in_sight, worm_tail)
^
display.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
display_warning(mon)
^
display.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
feel_location(x, y)
^
display.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
newsym(x,y)
^
display.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shieldeff(x,y)
^
display.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tmp_at(x, y)
^
display.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
swallowed(first)
^
display.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
under_water(mode)
^
display.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
under_ground(mode)
^
display.c:1294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
show_glyph(x,y,glyph)
^
display.c:1397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
row_refresh(start,stop,y)
^
display.c:1421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
flush_screen(cursor_on_u)
^
display.c:1467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
back_to_glyph(x,y)
^
display.c:1564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
swallow_to_glyph(mnum, loc)
^
display.c:1590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
zapdir_to_glyph(dx, dy, beam_type)
^
display.c:1610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
glyph_at(x, y)
^
display.c:1668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_pos(x, y, which)
^
display.c:1697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_twall(x0,y0, x1,y1, x2,y2, x3,y3)
^
display.c:1715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_wall(x, y, horiz)
^
display.c:1738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_corn(x1,y1, x2,y2, x3,y3, x4,y4)
^
display.c:1767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_crosswall(x, y)
^
display.c:1885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_seenv(lev, x0, y0, x, y)
^
display.c:1952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
t_warn(lev)
^
display.c:1981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wall_angle(lev)
^
35 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c dlb.c
In file included from dlb.c:5:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from dlb.c:5:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from dlb.c:5:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
4 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c do.c
In file included from do.c:7:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from do.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from do.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
do.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
boulder_hits_pool(otmp, rx, ry, pushing)
^
do.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
flooreffects(obj,x,y,verb)
^
do.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doaltarobj(obj)  /* obj is an object dropped on an altar */
^
do.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
trycall(obj)
^
do.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dosinkring(obj)  /* obj is a ring being dropped over a kitchen sink */
^
do.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
canletgo(obj,word)
^
do.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drop(obj)
^
do.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dropx(obj)
^
do.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dropy(obj)
^
do.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
menu_drop(retry)
^
do.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
goto_level(newlevel, at_stairs, falling, portal)
^
do.c:1140:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            if (mesg) pline(mesg);
                            ^~~~
do.c:1140:22: note: treat the string as an argument to avoid this
            if (mesg) pline(mesg);
                            ^
                            "%s", 
do.c:1255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
schedule_goto(tolev, at_stairs, falling, portal_flag, pre_msg, post_msg)
^
do.c:1287:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            if (dfr_pre_msg) pline(dfr_pre_msg);
                                   ^~~~~~~~~~~
do.c:1287:29: note: treat the string as an argument to avoid this
            if (dfr_pre_msg) pline(dfr_pre_msg);
                                   ^
                                   "%s", 
do.c:1297:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            if (dfr_post_msg) pline(dfr_post_msg);
                                    ^~~~~~~~~~~~
do.c:1297:30: note: treat the string as an argument to avoid this
            if (dfr_post_msg) pline(dfr_post_msg);
                                    ^
                                    "%s", 
do.c:1314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
revive_corpse(corpse)
^
do.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
revive_mon(arg, timeout)
^
do.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_wounded_legs(side, timex)
^
22 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c do_name.c
In file included from do_name.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from do_name.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from do_name.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
do_name.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getpos_help(force, goal)
^
do_name.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getpos(cc, force, goal)
^
do_name.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
christen_monst(mtmp, name)
^
do_name.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_oname(obj)
^
do_name.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
realloc_obj(obj, oextra_size, oextra_src, oname_size, name)
^
do_name.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
oname(obj, name)
^
do_name.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
docall(obj)
^
do_name.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
x_monnam(mtmp, article, adjective, suppress, called)
^
do_name.c:743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
l_monnam(mtmp)
^
do_name.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_nam(mtmp)
^
do_name.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
noit_mon_nam(mtmp)
^
do_name.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Monnam(mtmp)
^
do_name.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
noit_Monnam(mtmp)
^
do_name.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_monnam(mtmp)
^
do_name.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
y_monnam(mtmp)
^
do_name.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Adjmonnam(mtmp, adj)
^
do_name.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
a_monnam(mtmp)
^
do_name.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Amonnam(mtmp)
^
do_name.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
self_pronoun(str, pronoun)
^
do_name.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hcolor(colorpref)
^
do_name.c:1003:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
char *coyotename(buf)
      ^
25 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c do_wear.c
In file included from do_wear.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from do_wear.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from do_wear.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
do_wear.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
off_msg(otmp)
^
do_wear.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
on_msg(otmp)
^
do_wear.c:610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Ring_on(obj)
^
do_wear.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Ring_off_or_gone(obj,gone)
^
do_wear.c:825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Ring_off(obj)
^
do_wear.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Ring_gone(obj)
^
do_wear.c:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Blindf_on(otmp)
^
do_wear.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Blindf_off(otmp)
^
do_wear.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
donning(otmp)
^
do_wear.c:1063:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cursed(otmp)
^
do_wear.c:1078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
armoroff(otmp)
^
do_wear.c:1130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
already_wearing(cc)
^
do_wear.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
already_wearing2(cc1, cc2)
^
do_wear.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
canwearobj(otmp,mask,noisy)
^
do_wear.c:1531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
some_armor(victim)
^
do_wear.c:1556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
erode_armor(victim,acid_dmg)
^
do_wear.c:1614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
select_off(otmp)
^
do_wear.c:1860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
menu_remarm(retry)
^
do_wear.c:1902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
destroy_arm(atmp)
^
do_wear.c:1953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
adj_abon(otmp, delta)
^
24 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c dog.c
In file included from dog.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from dog.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from dog.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
dog.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
initedog(mtmp)
^
dog.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
make_familiar(otmp,x,y,quietly)
^
dog.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_arrive(mtmp, with_you)
^
dog.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_catchup_elapsed_time(mtmp, nmv)
^
dog.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
keepdogs(pets_only)
^
dog.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
migrate_to_level(mtmp, tolev, xyloc, cc)
^
dog.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dogfood(mon,obj)
^
dog.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tamedog(mtmp, obj)
^
dog.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wary_dog(mtmp, quietly)
^
dog.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
abuse_dog(mtmp)
^
14 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c dogmove.c
In file included from dogmove.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from dogmove.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from dogmove.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
dogmove.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
DROPPABLES(mon)
^
dogmove.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cursed_object_at(x, y)
^
dogmove.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dog_nutrition(mtmp, obj)
^
dogmove.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dog_eat(mtmp, obj, x, y, devour)
^
dogmove.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dog_hunger(mtmp, edog)
^
dogmove.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dog_invent(mtmp, edog, udist)
^
dogmove.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dog_goal(mtmp, edog, after, udist, whappr)
^
dogmove.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dog_move(mtmp, after)
^
dogmove.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wantdoor(x, y, distance)
^
13 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c dokick.c
In file included from dokick.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from dokick.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from dokick.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
dokick.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
kickdmg(mon, clumsy)
^
dokick.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
kick_monster(x, y)
^
dokick.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ghitm(mtmp, gold)
^
dokick.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
kick_object(x, y)
^
dokick.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
kickstr(buf)
^
dokick.c:1026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drop_to(cc, loc)
^
dokick.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
impact_drop(missile, x, y, dlev)
^
dokick.c:1179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ship_object(otmp, x, y, shop_floor_obj)
^
dokick.c:1309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
otransit_msg(otmp, nodrop, num)
^
dokick.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
down_gate(x, y)
^
14 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c dothrow.c
In file included from dothrow.c:7:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from dothrow.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from dothrow.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
dothrow.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
throw_obj(obj, shotlimit)
^
dothrow.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hitfloor(obj)
^
dothrow.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
walk_path(src_cc, dest_cc, check_proc, arg)
^
dothrow.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hurtle_step(arg, x, y)
^
dothrow.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hurtle(dx, dy, range, verbose)
^
dothrow.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_shop_obj(obj, x, y, broken)
^
dothrow.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
toss_up(obj, hitsroof)
^
dothrow.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
throwing_weapon(obj)
^
dothrow.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sho_obj_return_to_u(obj)
^
dothrow.c:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
throwit(obj, wep_mask)
^
dothrow.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
omon_adj(mon, obj, mon_notices)
^
dothrow.c:930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tmiss(obj, mon)
^
dothrow.c:948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
thitmonst(mon, obj)
^
dothrow.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gem_accept(mon, obj)
^
dothrow.c:1251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hero_breaks(obj, x, y, from_invent)
^
dothrow.c:1269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
breaks(obj, x, y)
^
dothrow.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
breakobj(obj, x, y, heros_fault, from_invent)
^
dothrow.c:1349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
breaktest(obj)
^
dothrow.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
breakmsg(obj, in_view)
^
dothrow.c:1410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
throw_gold(obj)
^
24 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c drawing.c
In file included from drawing.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from drawing.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from drawing.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
drawing.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
def_char_to_objclass(ch)
^
drawing.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
def_char_to_monclass(ch)
^
drawing.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
assign_graphics(graph_chars, glth, maxlen, offset)
^
drawing.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
switch_graphics(gr_set_flag)
^
drawing.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
assign_rogue_graphics(is_rlevel)
^
9 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c dungeon.c
In file included from dungeon.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from dungeon.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from dungeon.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
dungeon.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
save_dungeon(fd, perform_write, free_data)
^
dungeon.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restore_dungeon(fd)
^
dungeon.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Fread(ptr, size, nitems, stream)
^
dungeon.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dname_to_dnum(s)
^
dungeon.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_level(s)
^
dungeon.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_branch(s, pd)
^
dungeon.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
parent_dnum(s, pd)
^
dungeon.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
level_range(dgn, base, rand, chain, pd, adjusted_base)
^
dungeon.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
parent_dlevel(s, pd)
^
dungeon.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
correct_branch_type(tbr)
^
dungeon.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
insert_branch(new_branch, extract_first)
^
dungeon.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_branch(dgn, child_entry_level, pd)
^
dungeon.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_level(new_lev)
^
dungeon.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
init_level(dgn, proto_index, pd)
^
dungeon.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
possible_places(idx, map, pd)
^
dungeon.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pick_level(map, nth)
^
dungeon.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
place_level(proto_index, pd)
^
dungeon.c:659:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            panic(tbuf);
                  ^~~~
dungeon.c:659:12: note: treat the string as an argument to avoid this
            panic(tbuf);
                  ^
                  "%s", 
dungeon.c:880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dunlev(lev)     /* return the level number for lev in *this* dungeon */
^
dungeon.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dunlevs_in_dungeon(lev) /* return the lowest level number for *this* dungeon*/
^
dungeon.c:894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deepest_lev_reached(noquest) /* return the lowest level explored in the game*/
^
dungeon.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ledger_no(lev)
^
dungeon.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ledger_to_dnum(ledgerno)
^
dungeon.c:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ledger_to_dlev(ledgerno)
^
dungeon.c:984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
depth(lev)
^
dungeon.c:991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
on_level(lev1, lev2)    /* are "lev1" and "lev2" actually the same? */
^
dungeon.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Is_special(lev)
^
dungeon.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Is_branchlev(lev)
^
dungeon.c:1032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
next_level(at_stairs)
^
dungeon.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
prev_level(at_stairs)
^
dungeon.c:1069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
u_on_newpos(x, y)
^
dungeon.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
On_stairs(x, y)
^
dungeon.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Is_botlevel(lev)
^
dungeon.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Can_dig_down(lev)
^
dungeon.c:1159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Can_fall_thru(lev)
^
dungeon.c:1172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Can_rise_up(x, y, lev)
^
dungeon.c:1198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_level(newlevel, levnum)
^
dungeon.c:1249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
In_quest(lev)   /* are you in the quest dungeon? */
^
dungeon.c:1259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
In_mines(lev)   /* are you in the mines dungeon? */
^
dungeon.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dungeon_branch(s)
^
dungeon.c:1300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
at_dgn_entrance(s)
^
dungeon.c:1310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
In_V_tower(lev) /* is `lev' part of Vlad's tower? */
^
dungeon.c:1317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
On_W_tower_level(lev)   /* is `lev' a level containing the Wizard's tower? */
^
dungeon.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
In_W_tower(x, y, lev)   /* is <x,y> of `lev' inside the Wizard's tower? */
^
dungeon.c:1348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
In_hell(lev)    /* are you in one of the Hell levels? */
^
dungeon.c:1358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_hell(lev)  /* sets *lev to be the gateway to Gehennom... */
^
dungeon.c:1366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
goto_hell(at_stairs, falling)   /* go directly to hell... */
^
dungeon.c:1376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
assign_level(dest, src)         /* equivalent to dest = source */
^
dungeon.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
assign_rnd_level(dest, src, range)      /* dest = src + rn1(range) */
^
dungeon.c:1401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
induced_align(pct)
^
dungeon.c:1421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Invocation_lev(lev)
^
dungeon.c:1447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lev_by_name(nam)
^
dungeon.c:1516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
br_string(type)
^
dungeon.c:1530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
print_branch(win, dnum, lower_bound, upper_bound)
^
58 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c eat.c
In file included from eat.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from eat.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from eat.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
eat.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_edible(obj)
^
eat.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
food_xname(food, the_pfx)
^
eat.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
choke(food)     /* To a full belly all food is bad. (It.) */
^
eat.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
touchfood(otmp)
^
eat.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
food_disappears(obj)
^
eat.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
food_substitution(old_obj, new_obj)
^
eat.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
done_eating(message)
^
eat.c:410:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                if (message) pline(nomovemsg);
                                   ^~~~~~~~~
eat.c:410:22: note: treat the string as an argument to avoid this
                if (message) pline(nomovemsg);
                                   ^
                                   "%s", 
eat.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cprefx(pm)
^
eat.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
intrinsic_possible(type, ptr)
^
eat.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
givit(type, ptr)
^
eat.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cpostfx(pm)             /* called after completely consuming a corpse */
^
eat.c:1046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
start_tin(otmp)         /* called when starting to open a tin */
^
eat.c:1117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rottenfood(obj)
^
eat.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
eatcorpse(otmp)         /* called when a corpse is selected as food */
^
eat.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
start_eating(otmp)              /* called as you start to eat */
^
eat.c:1281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fprefx(otmp)            /* called on "first bite" of (non-corpse) food */
^
eat.c:1389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
eataccessory(otmp)
^
eat.c:1552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
foodword(otmp)
^
eat.c:1564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fpostfx(otmp)           /* called after consuming (non-corpse) food */
^
eat.c:1773:6: warning: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Wtautological-constant-compare]
                 (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) &&
                   ^
eat.c:1891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
morehungry(num) /* called after vomiting and after performing feats of magic */
^
eat.c:1900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lesshungry(num) /* called after eating (and after drinking fruit juice) */
^
eat.c:1985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
newuhs(incr)            /* compute and comment on your (new?) hunger status */
^
eat.c:2119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
floorfood(verb,corpsecheck)     /* get food from floor or pack */
^
eat.c:2213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
eaten_stat(base, obj)
^
30 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c end.c
In file included from end.c:7:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from end.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from end.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
end.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
done1(sig_unused)   /* called as signal() handler, so sent at least one arg */
^
end.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
done_intr(sig_unused) /* called as signal() handler, so sent at least one arg */
^
end.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
done_hangup(sig)        /* signal() handler */
^
end.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
done_in_by(mtmp)
^
end.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
disclose(how,taken)
^
end.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
savelife(how)
^
end.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_valuables(list)
^
end.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sort_valuables(list, size)
^
end.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_artifact_score(list)
^
end.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
display_artifact_score(list,endwin)
^
end.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
done(how)
^
end.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
container_contents(list, identified, all_containers)
^
end.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
terminate(status)
^
17 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c engrave.c
In file included from engrave.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from engrave.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from engrave.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
engrave.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
random_engraving(outbuf)
^
engrave.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wipeout_text(engr, cnt, seed)
^
engrave.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
surface(x, y)
^
engrave.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ceiling(x, y)
^
engrave.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
engr_at(x, y)
^
engrave.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sengr_at(s, x, y)
^
engrave.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
u_wipe_engr(cnt)
^
engrave.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wipe_engr_at(x,y,cnt)
^
engrave.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
read_engr_at(x,y)
^
engrave.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
make_engr_at(x,y,s,e_time,e_type)
^
engrave.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
del_engr_at(x, y)
^
engrave.c:868:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    pline(Never_mind);
                          ^~~~~~~~~~
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
engrave.c:868:13: note: treat the string as an argument to avoid this
                    pline(Never_mind);
                          ^
                          "%s", 
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^
engrave.c:965:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                pline(Never_mind);
                      ^~~~~~~~~~
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
engrave.c:965:9: note: treat the string as an argument to avoid this
                pline(Never_mind);
                      ^
                      "%s", 
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^
engrave.c:1065:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        if (post_engr_text[0]) pline(post_engr_text);
                                     ^~~~~~~~~~~~~~
engrave.c:1065:31: note: treat the string as an argument to avoid this
        if (post_engr_text[0]) pline(post_engr_text);
                                     ^
                                     "%s", 
engrave.c:1076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
save_engravings(fd, mode)
^
engrave.c:1100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rest_engravings(fd)
^
engrave.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
del_engr(ep)
^
engrave.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rloc_engr(ep)
^
engrave.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
make_grave(x, y, str)
^
23 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c exper.c
In file included from exper.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from exper.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from exper.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
exper.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
newuexp(lev)
^
exper.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
enermod(en)
^
exper.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
experience(mtmp, nk)    /* return # of exp points for mtmp after nk killed */
^
exper.c:52:56: warning: operator '?:' has lower precedence than '*'; '*' will be evaluated first [-Wparentheses]
        if((i = find_mac(mtmp)) < 3) tmp += (7 - i) * (i < 0) ? 2 : 1;
                                            ~~~~~~~~~~~~~~~~~ ^
exper.c:52:56: note: place parentheses around the '*' expression to silence this warning
        if((i = find_mac(mtmp)) < 3) tmp += (7 - i) * (i < 0) ? 2 : 1;
                                                              ^
                                            (                )
exper.c:52:56: note: place parentheses around the '?:' expression to evaluate it first
        if((i = find_mac(mtmp)) < 3) tmp += (7 - i) * (i < 0) ? 2 : 1;
                                                              ^
                                                      (              )
exper.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
more_experienced(exp, rexp)
^
exper.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
losexp(drainer)         /* e.g., hit by drain life attack */
^
exper.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pluslvl(incr)
^
11 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c explode.c
In file included from explode.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from explode.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from explode.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
explode.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
explode(x, y, type, dam, olet)
^
explode.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
scatter(sx,sy,blastforce,scflags, obj)
^
explode.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
splatter_burning_oil(x, y)
^
7 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c extralev.c
In file included from extralev.c:9:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from extralev.c:9:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from extralev.c:9:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
extralev.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
roguejoin(x1,y1,x2,y2, horiz)
^
extralev.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
roguecorr(x, y, dir)
^
extralev.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
miniwalk(x, y)
^
extralev.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
corr(x,y)
^
8 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c files.c
In file included from files.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from files.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from files.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
files.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fqname(basename, whichprefix, buffnum)
^
files.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fopen_datafile(filename, mode, use_scoreprefix)
^
files.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_levelfile_name(file, lev)
^
files.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_levelfile(lev)
^
files.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
open_levelfile(lev)
^
files.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
delete_levelfile(lev)
^
files.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_bonesfile_name(file, lev)
^
files.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_bonesfile(lev, bonesid)
^
files.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
commit_bonesfile(lev)
^
files.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
open_bonesfile(lev, bonesid)
^
files.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
delete_bonesfile(lev)
^
files.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
save_savefile_name(fd)
^
files.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
redirect(filename, mode, stream, uncomp)
^
files.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
docompress_file(filename, uncomp)
^
files.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
compress(filename)
^
files.c:803:18: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        docompress_file(filename, FALSE);
                        ^~~~~~~~
files.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
uncompress(filename)
^
files.c:818:18: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        docompress_file(filename, TRUE);
                        ^~~~~~~~
files.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
make_lockname(filename, lockname)
^
files.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lock_file(filename, whichprefix, retryct)
^
files.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
unlock_file(filename)
^
files.c:1054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fopen_config_file(filename)
^
files.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_uchars(fp, buf, bufp, list, size, name)
^
files.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
parse_config_line(fp, buf, tmp_ramdisk, tmp_levels)
^
files.c:1469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
read_config_file(filename)
^
files.c:1532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_recordfile(dir)
^
30 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c fountain.c
In file included from fountain.c:7:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from fountain.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from fountain.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
fountain.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
floating_above(what)
^
fountain.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dogushforth(drinking) /* Gushing forth along LOS from (u.ux, u.uy) */
^
fountain.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gush(x, y, poolcnt)
^
fountain.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dryup(x, y, isyou)
^
fountain.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dipfountain(obj)
^
fountain.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
breaksink(x,y)
^
10 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c hack.c
In file included from hack.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from hack.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from hack.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
hack.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
revive_nasty(x, y, msg)
^
hack.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
still_chewing(x,y)
^
hack.c:407:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    if (digtxt) You(digtxt);    /* after newsym */
                    ^~~~~~
hack.c:407:21: note: treat the string as an argument to avoid this
    if (digtxt) You(digtxt);    /* after newsym */
                    ^
                    "%s", 
hack.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
movobj(obj, ox, oy)
^
hack.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
may_dig(x,y)
^
hack.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
may_passwall(x,y)
^
hack.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bad_rock(mdat,x,y)
^
hack.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
invocation_pos(x, y)
^
hack.c:1076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spoteffects(pick)
^
hack.c:1169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
monstinroom(mdat,roomno)
^
hack.c:1183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
in_rooms(x, y, typewanted)
^
hack.c:1251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
move_update(newlev)
^
hack.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_special_room(newlev)
^
hack.c:1617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
nomul(nval)
^
hack.c:1628:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void unmul(msg_override)
     ^
hack.c:1634:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        if (*nomovemsg) pline(nomovemsg);
                              ^~~~~~~~~
hack.c:1634:24: note: treat the string as an argument to avoid this
        if (*nomovemsg) pline(nomovemsg);
                              ^
                              "%s", 
hack.c:1676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
losehp(n, knam, k_format)
^
hack.c:1771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
calc_capacity(xtra_wt)
^
hack.c:1797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_capacity(str)
^
hack.c:1802:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            pline(str);
                  ^~~
hack.c:1802:12: note: treat the string as an argument to avoid this
            pline(str);
                  ^
                  "%s", 
24 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c hacklib.c
In file included from hacklib.c:7:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from hacklib.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from hacklib.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
hacklib.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
digit(c)                /* is 'c' a digit? */
^
hacklib.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
letter(c)               /* is 'c' a letter?  note: '@' classed as letter */
^
hacklib.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
highc(c)                        /* force 'c' into uppercase */
^
hacklib.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lowc(c)                 /* force 'c' into lowercase */
^
hacklib.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lcase(s)                /* convert a string into all lowercase */
^
hacklib.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mungspaces(bp)
^
hacklib.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
eos(s)                  /* return the end of a string (pointing at '\0') */
^
hacklib.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
s_suffix(s)             /* return a name converted to possessive */
^
hacklib.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xcrypt(str, buf)        /* trivial text encryption routine (see makedefs) */
^
hacklib.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
onlyspace(s)            /* is a string entirely whitespace? */
^
hacklib.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tabexpand(sbuf)         /* expand tabs into proper number of spaces */
^
hacklib.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
visctrl(c)              /* make a displayable string from a character */
^
hacklib.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ordin(n)                /* return the ordinal suffix of a number */
^
hacklib.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sitoa(n)                /* make a signed digit string from a number */
^
hacklib.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sgn(n)                  /* return the sign of a number: -1, 0, or 1 */
^
hacklib.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rounddiv(x, y)          /* calculate x/y, rounding as appropriate */
^
hacklib.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
distmin(x0, y0, x1, y1) /* distance between two points, in moves */
^
hacklib.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dist2(x0, y0, x1, y1)   /* square of euclidean distance between pair of pts */
^
hacklib.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
online2(x0, y0, x1, y1) /* are two points lined up (on a straight line)? */
^
hacklib.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pmatch(patrn, strng)    /* match a string against a pattern */
^
hacklib.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
strncmpi(s1, s2, n)     /* case insensitive counted string comparison */
^
hacklib.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
strstri(str, sub)       /* case insensitive substring search */
^
hacklib.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fuzzymatch(s1, s2, ignore_chars, caseblind)
^
hacklib.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
yyyymmdd(date)
^
28 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c invent.c
In file included from invent.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from invent.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from invent.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
invent.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
assigninvlet(otmp)
^
invent.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
merge_choice(objlist, obj)
^
invent.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
merged(potmp, pobj)
^
invent.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
addinv_core1(obj)
^
invent.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
addinv_core2(obj)
^
invent.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
addinv(obj)
^
invent.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
carry_obj_effects(obj)
^
invent.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hold_another_object(obj, drop_fmt, drop_arg, hold_msg)
^
invent.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
useupall(obj)
^
invent.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
useup(obj)
^
invent.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
freeinv_core(obj)
^
invent.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
freeinv(obj)
^
invent.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
delallobj(x, y)
^
invent.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
delobj(obj)
^
invent.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sobj_at(n,x,y)
^
invent.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
carrying(type)
^
invent.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
o_on(id, objchn)
^
invent.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_here(obj, x, y)
^
invent.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
g_at(x,y)
^
invent.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkgoldobj(q)
^
invent.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
compactify(buf)
^
invent.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getobj(let,word)
^
invent.c:832:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        pline(Never_mind);
                              ^~~~~~~~~~
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
invent.c:832:10: note: treat the string as an argument to avoid this
                        pline(Never_mind);
                              ^
                              "%s", 
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^
invent.c:882:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                            pline(Never_mind);
                                  ^~~~~~~~~~
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
invent.c:882:14: note: treat the string as an argument to avoid this
                            pline(Never_mind);
                                  ^
                                  "%s", 
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^
invent.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ckunpaid(otmp)
^
invent.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_worn(otmp)
^
invent.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ggetobj(word, fn, mx, combo)
^
invent.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
askchain(objchn, olets, allflag, fn, ckfn, mx, word)
^
invent.c:1194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fully_identify_obj(otmp)
^
invent.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
identify(otmp)
^
invent.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
menu_identify(id_limit)
^
invent.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
identify_pack(id_limit)
^
invent.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_to_let(obj) /* should of course only be called for things in invent */
^
invent.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
prinv(prefix, obj, quan)
^
invent.c:1323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xprname(obj, txt, let, dot, cost)
^
invent.c:1379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_unpaid(list, last_found)
^
invent.c:1410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
display_inventory(lets, want_reply)
^
invent.c:1514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
count_unpaid(list)
^
invent.c:1620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
this_type_only(obj)
^
invent.c:1735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dfeature_at(x, y, buf)
^
invent.c:1801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
look_here(obj_cnt, picked_some)
^
invent.c:1843:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                if (dfeature) pline(fbuf);
                                    ^~~~
invent.c:1843:23: note: treat the string as an argument to avoid this
                if (dfeature) pline(fbuf);
                                    ^
                                    "%s", 
invent.c:1852:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            if (dfeature) pline(fbuf);
                                ^~~~
invent.c:1852:26: note: treat the string as an argument to avoid this
            if (dfeature) pline(fbuf);
                                ^
                                "%s", 
invent.c:1859:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            if (dfeature) pline(fbuf);
                                ^~~~
invent.c:1859:26: note: treat the string as an argument to avoid this
            if (dfeature) pline(fbuf);
                                ^
                                "%s", 
invent.c:1893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
feel_cockatrice(otmp, force_touch)
^
invent.c:1916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stackobj(obj)
^
invent.c:1928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mergable(otmp, obj)     /* returns TRUE if obj  & otmp can be merged */
^
invent.c:2082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tool_in_use(obj)
^
invent.c:2133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
useupf(obj, numused)
^
invent.c:2182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
let_to_name(let,unpaid)
^
invent.c:2277:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        pline(Never_mind);
                              ^~~~~~~~~~
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
invent.c:2277:10: note: treat the string as an argument to avoid this
                        pline(Never_mind);
                              ^
                              "%s", 
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^
invent.c:2323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
invdisp_nothing(hdr, txt)
^
invent.c:2345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
worn_wield_only(obj)
^
invent.c:2367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
display_minventory(mon, dflags)
^
invent.c:2435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
display_cinventory(obj)
^
invent.c:2464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
only_here(obj)
^
invent.c:2477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
display_binventory(x, y, as_if_seen)
^
61 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c light.c
In file included from light.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from light.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from light.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
light.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
new_light_source(x, y, range, type, id)
^
light.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
del_light_source(type, id)
^
light.c:110:30: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast]
    case LS_OBJECT:     tmp_id = (genericptr_t)(((struct obj *)id)->o_id);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
light.c:112:31: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast]
    case LS_MONSTER:    tmp_id = (genericptr_t)(((struct monst *)id)->m_id);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
light.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_light_sources(cs_rows)
^
light.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_mid(nid, fmflags)
^
light.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
save_light_sources(fd, mode, range)
^
light.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restore_light_sources(fd)
^
light.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
relink_light_sources(ghostly)
^
light.c:320:30: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast]
                    if (!lookup_id_mapping((unsigned)ls->id, &nid))
                                           ^~~~~~~~~~~~~~~~
light.c:323:13: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast]
                    nid = (unsigned) ls->id;
                          ^~~~~~~~~~~~~~~~~
light.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
maybe_write_ls(fd, range, write_it)
^
light.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
write_ls(fd, ls)
^
light.c:401:12: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast]
                ls->id = (genericptr_t)otmp->o_id;
                         ^~~~~~~~~~~~~~~~~~~~~~~~
light.c:408:12: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast]
                ls->id = (genericptr_t)mtmp->m_id;
                         ^~~~~~~~~~~~~~~~~~~~~~~~
light.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_move_light_source(src, dest)
^
light.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
snuff_light_source(x, y)
^
light.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_sheds_light(obj)
^
light.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_is_burning(obj)
^
light.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_split_light_source(src, dest)
^
light.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_merge_light_sources(src, dest)
^
light.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
candle_light_range(obj)
^
26 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c lock.c
In file included from lock.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from lock.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from lock.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
lock.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
picking_lock(x, y)
^
lock.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
picking_at(x, y)
^
lock.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pick_lock(pick) /* pick a lock with a given object */
^
lock.c:578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obstructed(x,y)
^
lock.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
boxlock(obj, otmp)      /* returns true if something happened */
^
lock.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doorlock(otmp,x,y)      /* returns true if something happened */
^
lock.c:856:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        if (msg && cansee(x,y)) pline(msg);
                                      ^~~
lock.c:856:32: note: treat the string as an argument to avoid this
        if (msg && cansee(x,y)) pline(msg);
                                      ^
                                      "%s", 
lock.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
chest_shatter_msg(otmp)
^
12 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c mail.c
In file included from mail.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from mail.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from mail.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
mail.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
md_start(startp)
^
mail.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
md_stop(stopp, startp)
^
mail.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
md_rush(md,tx,ty)
^
mail.c:320:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            verbalize(md_exclamations());
                      ^~~~~~~~~~~~~~~~~
mail.c:264:27: note: expanded from macro 'md_exclamations'
#define md_exclamations()       (mail_text[rn2(3)])
                                ^~~~~~~~~~~~~~~~~~
mail.c:320:16: note: treat the string as an argument to avoid this
            verbalize(md_exclamations());
                      ^
                      "%s", 
mail.c:264:27: note: expanded from macro 'md_exclamations'
#define md_exclamations()       (mail_text[rn2(3)])
                                ^
mail.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
newmail(info)
^
mail.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
readmail(otmp)
^
10 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c makemon.c
In file included from makemon.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from makemon.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from makemon.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
makemon.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_home_elemental(ptr)
^
makemon.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wrong_elem_type(ptr)
^
makemon.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_initgrp(mtmp, x, y, n)        /* make a group just like mtmp */
^
makemon.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_initthrow(mtmp,otyp,oquan)
^
makemon.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_initweap(mtmp)
^
makemon.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_initinv(mtmp)
^
makemon.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
clone_mon(mon)
^
makemon.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
makemon(ptr, x, y, mmflags)
^
makemon.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_critters(cnt, mptr)
^
makemon.c:1025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
uncommon(mndx)
^
makemon.c:1042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
align_shift(ptr)
^
makemon.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
reset_rndmonst(mndx)
^
makemon.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkclass(class,spc)
^
makemon.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
adj_lev(ptr)    /* adjust strength of monsters based on u.uz and u.ulevel */
^
makemon.c:1267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
grow_up(mtmp, victim)   /* `mtmp' might "grow up" into a bigger version */
^
makemon.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mongets(mtmp, otyp)
^
makemon.c:1407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
golemhp(type)
^
makemon.c:1434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
peace_minded(ptr)
^
makemon.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_malign(mtmp)
^
makemon.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_mimic_sym(mtmp)             /* KAA, modified by ERS */
^
24 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c mcastu.c
In file included from mcastu.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from mcastu.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from mcastu.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
mcastu.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cursetxt(mtmp)
^
mcastu.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
castmu(mtmp, mattk)     /* monster casts spell at you */
^
mcastu.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
buzzmu(mtmp, mattk)             /* monster uses spell (ranged) */
^
7 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c mhitm.c
In file included from mhitm.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from mhitm.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from mhitm.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
mhitm.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_nam_too(outbuf, mon, other_mon)
^
mhitm.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
noises(magr, mattk)
^
mhitm.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
missmm(magr, mdef, mattk)
^
mhitm.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fightm(mtmp)            /* have monsters fight each other */
^
mhitm.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mattackm(magr, mdef)
^
mhitm.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hitmm(magr, mdef, mattk)
^
mhitm.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gazemm(magr, mdef, mattk)
^
mhitm.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gulpmm(magr, mdef, mattk)
^
mhitm.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
explmm(magr, mdef, mattk)
^
mhitm.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mdamagem(magr, mdef, mattk)
^
mhitm.c:1000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
noattacks(ptr)                  /* returns 1 if monster doesn't attack */
^
mhitm.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sleep_monst(mon, amt, how)
^
mhitm.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
slept_monst(mon)
^
mhitm.c:1049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mrustm(magr, mdef, obj)
^
mhitm.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mswingsm(magr, mdef, otemp)
^
mhitm.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
passivemm(magr,mdef,mhit,mdead)
^
20 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c mhitu.c
In file included from mhitu.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from mhitu.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from mhitu.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
mhitu.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hitmsg(mtmp, mattk)
^
mhitu.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
missmu(mtmp, nearmiss, mattk)           /* monster missed you */
^
mhitu.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mswings(mtmp, otemp)            /* monster swings obj */
^
mhitu.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mpoisons_subj(mtmp, mattk)
^
mhitu.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wildmiss(mtmp, mattk)           /* monster attacked your displaced image */
^
mhitu.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
expels(mtmp, mdat, message)
^
mhitu.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mattacku(mtmp)
^
mhitu.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hurtarmor(attk)
^
mhitu.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
diseasemu(mdat)
^
mhitu.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
u_slip_free(mtmp, mattk)
^
mhitu.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hitmu(mtmp, mattk)
^
mhitu.c:1475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gulpmu(mtmp, mattk)     /* monster swallows you, or damage if u.uswallow */
^
mhitu.c:1654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
explmu(mtmp, mattk, ufound)     /* monster explodes in your face */
^
mhitu.c:1734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gazemu(mtmp, mattk)     /* monster gazes at you */
^
mhitu.c:1857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mdamageu(mtmp, n)       /* mtmp hits you for n points damage */
^
mhitu.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
urustm(mon, obj)
^
mhitu.c:1916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
could_seduce(magr,mdef,mattk)
^
mhitu.c:1972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doseduce(mon)
^
mhitu.c:2196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mayberem(obj, str)
^
mhitu.c:2234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
passiveum(olduasmon,mtmp,mattk)
^
24 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c minion.c
In file included from minion.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from minion.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from minion.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
minion.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
msummon(ptr)            /* ptr summons a monster */
^
minion.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
summon_minion(alignment, talk)
^
minion.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
demon_talk(mtmp)                /* returns 1 if it won't attack. */
^
minion.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bribe(mtmp)
^
minion.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dprince(atyp)
^
minion.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dlord(atyp)
^
minion.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ndemon(atyp)
^
11 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c mklev.c
In file included from mklev.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from mklev.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from mklev.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
mklev.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_comp(vx,vy)
^
mklev.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
finddpos(cc, xl,yl,xh,yh)
^
mklev.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_room_or_subroom(croom, lowx, lowy, hix, hiy, lit, rtype, special, is_room)
^
mklev.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_room(lowx, lowy, hix, hiy, lit, rtype, special)
^
mklev.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_subroom(proom, lowx, lowy, hix, hiy, lit, rtype, special)
^
mklev.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
join(a,b,nxcor)
^
mklev.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_door(x,y,aroom)
^
mklev.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dosdoor(x,y,aroom,type)
^
mklev.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
place_niche(aroom,dy,xx,yy)
^
mklev.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
makeniche(trap_type)
^
mklev.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
topologize(croom)
^
mklev.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_branch_room(mp)
^
mklev.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pos_to_room(x, y)
^
mklev.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
place_branch(br, x, y)
^
mklev.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bydoor(x, y)
^
mklev.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
okdoor(x,y)
^
mklev.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dodoor(x,y,aroom)
^
mklev.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
occupied(x, y)
^
mklev.c:1178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mktrap(num, mazeflag, croom, tm)
^
mklev.c:1268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkstairs(x, y, up, croom)
^
mklev.c:1303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkfount(mazeflag,croom)
^
mklev.c:1329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mksink(croom)
^
mklev.c:1350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkaltar(croom)
^
mklev.c:1374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkgrave(croom)
^
mklev.c:1468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkinvpos(x,y,dist)
^
mklev.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mk_knox_portal(x, y)
^
30 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c mkmap.c
In file included from mkmap.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from mkmap.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from mkmap.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
mkmap.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
init_map(bg_typ)
^
mkmap.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
init_fill(bg_typ, fg_typ)
^
mkmap.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_map(col,row, bg_typ)
^
mkmap.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pass_one(bg_typ, fg_typ)
^
mkmap.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pass_two(bg_typ, fg_typ)
^
mkmap.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pass_three(bg_typ, fg_typ)
^
mkmap.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
flood_fill_rm(sx, sy, rmno, lit, anyroom)
^
mkmap.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
join_map(bg_typ, fg_typ)
^
mkmap.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
finish_map(fg_typ, bg_typ, lit, walled)
^
mkmap.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkmap(init_lev)
^
14 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c mkmaze.c
In file included from mkmaze.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from mkmaze.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from mkmaze.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
mkmaze.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
iswall(x,y)
^
mkmaze.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
iswall_or_stone(x,y)
^
mkmaze.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_solid(x,y)
^
mkmaze.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extend_spine(locale, wall_there, dx, dy)
^
mkmaze.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wallification(x1, y1, x2, y2)
^
mkmaze.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
okay(x,y,dir)
^
mkmaze.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
maze0xy(cc)     /* find random starting point for maze generation */
^
mkmaze.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bad_location(x, y, lx, ly, hx, hy)
^
mkmaze.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
place_lregion(lx, ly, hx, hy, nlx, nly, nhx, nhy, rtype, lev)
^
mkmaze.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
put_lregion_here(x,y,nlx,nly,nhx,nhy,rtype,oneshot,lev)
^
mkmaze.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
makemaz(s)
^
mkmaze.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
walkfrom(x,y)
^
mkmaze.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
move(x,y,dir)
^
mkmaze.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mazexy(cc)      /* find random point in generated corridors,
^
mkmaze.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkportal(x, y, todnum, todlevel)
^
mkmaze.c:1072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
save_waterlevel(fd, mode)
^
mkmaze.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restore_waterlevel(fd)
^
mkmaze.c:1181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mk_bubble(x,y,n)
^
mkmaze.c:1238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mv_bubble(b,dx,dy,ini)
^
23 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c mkobj.c
In file included from mkobj.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from mkobj.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from mkobj.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
mkobj.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkobj_at(let,x,y, artif)
^
mkobj.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mksobj_at(otyp,x,y,init)
^
mkobj.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkobj(oclass, artif)
^
mkobj.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkbox_cnts(box)
^
mkobj.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
splitobj(obj, num)
^
mkobj.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
replace_object(obj, otmp)
^
mkobj.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bill_dummy_object(otmp)
^
mkobj.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mksobj(otyp, init, artif)
^
mkobj.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
start_corpse_timeout(body)
^
mkobj.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bless(otmp)
^
mkobj.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
unbless(otmp)
^
mkobj.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
curse(otmp)
^
mkobj.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
uncurse(otmp)
^
mkobj.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
blessorcurse(otmp, chance)
^
mkobj.c:762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bcsign(otmp)
^
mkobj.c:780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
weight(obj)
^
mkobj.c:834:20: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
rnd_treefruit_at(x,y)
                   ^
mkobj.c:834:18: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
rnd_treefruit_at(x,y)
                 ^
mkobj.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rnd_treefruit_at(x,y)
^
mkobj.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkgold(amount, x, y)
^
mkobj.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkcorpstat(objtype, mtmp, ptr, x, y, init)
^
mkobj.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_attach_mid(obj, mid)
^
mkobj.c:945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
save_mtraits(obj, mtmp)
^
mkobj.c:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_mtraits(obj, copyof)
^
mkobj.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mk_tt_object(objtype, x, y)
^
mkobj.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mk_named_object(objtype, ptr, x, y, nm)
^
mkobj.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_flammable(otmp)
^
mkobj.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
place_object(otmp, x, y)
^
mkobj.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_ice_effects(x, y, do_buried)
^
mkobj.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
peek_at_iced_corpse_age(otmp)
^
mkobj.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_timer_checks(otmp, x, y, force)
^
mkobj.c:1210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
remove_object(otmp)
^
mkobj.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
discard_minvent(mtmp)
^
mkobj.c:1254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_extract_self(obj)
^
mkobj.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extract_nobj(obj, head_ptr)
^
mkobj.c:1318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extract_nexthere(obj, head_ptr)
^
mkobj.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_to_minv(mon, obj)
^
mkobj.c:1365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_to_container(container, obj)
^
mkobj.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_to_migration(obj)
^
mkobj.c:1390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_to_buried(obj)
^
mkobj.c:1403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
container_weight(container)
^
mkobj.c:1420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dealloc_obj(obj)
^
mkobj.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
where_name(where)
^
mkobj.c:1556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_contained(container, mesg)
^
48 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c mkroom.c
In file included from mkroom.c:16:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from mkroom.c:16:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from mkroom.c:16:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
mkroom.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
isbig(sroom)
^
mkroom.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkroom(roomtype)
^
mkroom.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pick_room(strict)
^
mkroom.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkzoo(type)
^
mkroom.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fill_zoo(sroom)
^
mkroom.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkundead(mm, revive_corpses, mm_flags)
^
mkroom.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shrine_pos(roomno)
^
mkroom.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
nexttodoor(sx,sy)
^
mkroom.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
has_dnstairs(sroom)
^
mkroom.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
has_upstairs(sroom)
^
mkroom.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
somex(croom)
^
mkroom.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
somey(croom)
^
mkroom.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inside_room(croom, x, y)
^
mkroom.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
somexy(croom, c)
^
mkroom.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
search_special(type)
^
mkroom.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
save_room(fd, r)
^
mkroom.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
save_rooms(fd)
^
mkroom.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rest_room(fd, r)
^
mkroom.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rest_rooms(fd)
^
23 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c mon.c
In file included from mon.c:10:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from mon.c:10:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from mon.c:10:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
mon.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
undead_to_corpse(mndx)
^
mon.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pm_to_cham(mndx)
^
mon.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
make_corpse(mtmp)
^
mon.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
minwater(mtmp)
^
mon.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mcalcmove(mon)
^
mon.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
meatgold(mtmp)
^
mon.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
meatobj(mtmp)           /* for gelatinous cubes */
^
mon.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mpickgold(mtmp)
^
mon.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mpickstuff(mtmp, str)
^
mon.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
curr_mon_load(mtmp)
^
mon.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
max_mon_load(mtmp)
^
mon.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
can_carry(mtmp,otmp)
^
mon.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mfndpos(mon, poss, info, flag)
^
mon.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mm_aggression(magr, mdef)
^
mon.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
monnear(mon, x, y)
^
mon.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
replmon(mtmp, mtmp2)
^
mon.c:1168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
relmon(mon)
^
mon.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_detach(mtmp, mptr)
^
mon.c:1210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mlifesaver(mon)
^
mon.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lifesaved_monster(mtmp)
^
mon.c:1268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mondead(mtmp)
^
mon.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
corpse_chance(mon)
^
mon.c:1393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mondied(mdef)
^
mon.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mongone(mdef)
^
mon.c:1421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
monstone(mdef)
^
mon.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
monkilled(mdef, fltxt, how)
^
mon.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
unstuck(mtmp)
^
mon.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
killed(mtmp)
^
mon.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xkilled(mtmp, dest)
^
mon.c:1706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_to_stone(mtmp)
^
mon.c:1725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mnexto(mtmp)    /* Make monster mtmp next to you (if possible) */
^
mon.c:1751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mnearto(mtmp,x,y,move_other)
^
mon.c:1802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
poisontell(typ)
^
mon.c:1810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
poisoned(string, typ, pname, fatal)
^
mon.c:1857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_respond(mtmp)
^
mon.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
setmangry(mtmp)
^
mon.c:1928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wakeup(mtmp)
^
mon.c:1954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wake_nearto(x, y, distance)
^
mon.c:1968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
seemimic(mtmp)
^
mon.c:2030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restore_cham(mon)
^
mon.c:2050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restrap(mtmp)
^
mon.c:2073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_animal_list(construct)
^
mon.c:2106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
select_newcham_form(mon)
^
mon.c:2132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
newcham(mtmp, mdat)
^
mon.c:2305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
can_be_hatched(mnum)
^
mon.c:2322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
egg_type_from_parent(mnum, force_ordinary)
^
mon.c:2336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dead_species(m_idx, egg)
^
mon.c:2356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
kill_eggs(obj_list)
^
mon.c:2429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
golemeffects(mon, damtype, dam)
^
mon.c:2464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
angry_guards(silent)
^
54 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c mondata.c
In file included from mondata.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from mondata.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from mondata.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
mondata.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_mon_data(mon, ptr, flag)
^
mondata.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
attacktype(ptr, atyp)
^
mondata.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
poly_when_stoned(ptr)
^
mondata.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
resists_drli(mon)       /* returns TRUE if monster is drain-life resistant */
^
mondata.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
resists_magm(mon)       /* TRUE if monster is magic-missile resistant */
^
mondata.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
resists_blnd(mon)
^
mondata.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
can_blnd(magr, mdef, aatyp, obj)
^
mondata.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ranged_attk(ptr)        /* returns TRUE if monster can attack at range */
^
mondata.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hates_silver(ptr)
^
mondata.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
can_track(ptr)          /* returns TRUE if monster can track well */
^
mondata.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sliparm(ptr)    /* creature will slide out of armor */
^
mondata.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
breakarm(ptr)   /* creature will break out of armor */
^
mondata.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sticks(ptr)     /* creature sticks other creatures it hits */
^
mondata.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dmgtype(ptr, dtyp)
^
mondata.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
max_passive_dmg(mdef, magr)
^
mondata.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
monsndx(ptr)            /* return an index into the mons array */
^
mondata.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
name_to_mon(in_str)
^
mondata.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gender(mtmp)
^
mondata.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pronoun_gender(mtmp)
^
mondata.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
levl_follower(mtmp)
^
mondata.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
little_to_big(montype)
^
mondata.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
big_to_little(montype)
^
mondata.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
locomotion(ptr, def)
^
27 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c monmove.c
In file included from monmove.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from monmove.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from monmove.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
monmove.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mb_trapped(mtmp)
^
monmove.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
watch_on_duty(mtmp)
^
monmove.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dochugw(mtmp)
^
monmove.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
onscary(x, y, mtmp)
^
monmove.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_regen(mon, digest_meal)
^
monmove.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
disturb(mtmp)
^
monmove.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
distfleeck(mtmp,inrange,nearby,scared)
^
monmove.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_arrival(mon)
^
monmove.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dochug(mtmp)
^
monmove.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
itsstuck(mtmp)
^
monmove.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_move(mtmp, after)
^
monmove.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
closed_door(x, y)
^
monmove.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
accessible(x, y)
^
monmove.c:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_apparxy(mtmp)
^
monmove.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
can_ooze(mtmp)
^
19 warnings generated.
./makedefs -m
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c monstr.c
In file included from monstr.c:2:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from monstr.c:2:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from monstr.c:2:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
4 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c mplayer.c
In file included from mplayer.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from mplayer.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from mplayer.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
mplayer.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_mplname(mtmp, nam)
^
mplayer.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mk_mplayer_armor(mon, typ)
^
mplayer.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mk_mplayer(ptr, x, y, special)
^
mplayer.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_mplayers(num, special)
^
mplayer.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mplayer_talk(mtmp)
^
9 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c mthrowu.c
In file included from mthrowu.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from mthrowu.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from mthrowu.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
mthrowu.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
thitu(tlev, dam, obj, name)     /* u is hit by sth, but not a monster */
^
mthrowu.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drop_throw(obj, ohit, x, y)
^
mthrowu.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ohitmon(mtmp, otmp, range, verbose)
^
mthrowu.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_throw(mon, x, y, dx, dy, range, obj)
^
mthrowu.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_useup(mon, obj)
^
mthrowu.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
thrwmu(mtmp)    /* monster throws item at you */
^
mthrowu.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spitmu(mtmp, mattk)             /* monster spits substance at you */
^
mthrowu.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
breamu(mtmp, mattk)                     /* monster breathes at you (ranged) */
^
mthrowu.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
linedup(ax, ay, bx, by)
^
mthrowu.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lined_up(mtmp)          /* is mtmp in position to use ranged attack? */
^
mthrowu.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_carrying(mtmp, type)
^
15 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c muse.c
In file included from muse.c:9:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from muse.c:9:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from muse.c:9:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
muse.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
precheck(mon, obj)
^
muse.c:79:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        if (vis) pline(empty);
                                       ^~~~~
muse.c:79:19: note: treat the string as an argument to avoid this
                        if (vis) pline(empty);
                                       ^
                                       "%s", 
muse.c:102:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    if (vis) pline(empty);
                                   ^~~~~
muse.c:102:22: note: treat the string as an argument to avoid this
                    if (vis) pline(empty);
                                   ^
                                   "%s", 
muse.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mzapmsg(mtmp, otmp, self)
^
muse.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mreadmsg(mtmp, otmp)
^
muse.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mquaffmsg(mtmp, otmp)
^
muse.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_defensive(mtmp)
^
muse.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_defensive(mtmp)
^
muse.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rnd_defensive_item(mtmp)
^
muse.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_offensive(mtmp)
^
muse.c:1045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mbhitm(mtmp, otmp)
^
muse.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mbhit(mon,range,fhitm,fhito,obj)
^
muse.c:1213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_offensive(mtmp)
^
muse.c:1465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rnd_offensive_item(mtmp)
^
muse.c:1513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_misc(mtmp)
^
muse.c:1624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_misc(mtmp)
^
muse.c:1816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
you_aggravate(mtmp)
^
muse.c:1841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rnd_misc_item(mtmp)
^
muse.c:1877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
searches_for_item(mon, obj)
^
muse.c:1955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_reflects(mon,str)
^
muse.c:1989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ureflects (fmt, str)
^
muse.c:2025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
munstone(mon, by_you)
^
26 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c music.c
In file included from music.c:29:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from music.c:29:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from music.c:29:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
music.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
awaken_monsters(distance)
^
music.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
put_monsters_to_sleep(distance)
^
music.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
charm_snakes(distance)
^
music.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
calm_nymphs(distance)
^
music.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
charm_monsters(distance)
^
music.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_earthquake(force)
^
music.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_improvisation(instr)
^
music.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_play_instrument(instr)
^
12 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c o_init.c
In file included from o_init.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from o_init.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from o_init.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
o_init.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
setgemprobs(dlev)
^
o_init.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shuffle(o_low, o_high, domaterial)
^
o_init.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
savenames(fd, mode)
^
o_init.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restnames(fd)
^
o_init.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
discover_object(oindx, mark_as_known, credit_hero)
^
o_init.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
undiscover_object(oindx)
^
o_init.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
interesting_to_discover(i)
^
11 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c objnam.c
In file included from objnam.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from objnam.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from objnam.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
objnam.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
strprepend(s,pref)
^
objnam.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_typename(otyp)
^
objnam.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
simple_typename(otyp)
^
objnam.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_is_pname(obj)
^
objnam.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
distant_name(obj, func)
^
objnam.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xname(obj)
^
objnam.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
the_unique_obj(obj)
^
objnam.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_erosion_words(obj,prefix)
^
objnam.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doname(obj)
^
objnam.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
not_fully_identified(otmp)
^
objnam.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
corpse_xname(otmp, ignore_oquan)
^
objnam.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
singular(otmp, func)
^
objnam.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
an(str)
^
objnam.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
An(str)
^
objnam.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
the(str)
^
objnam.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
The(str)
^
objnam.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
aobjnam(otmp,verb)
^
objnam.c:934:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Doname2(obj)
^
objnam.c:945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
yname(obj)
^
objnam.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Yname2(obj)
^
objnam.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
makeplural(oldstr)
^
objnam.c:1263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
makesingular(oldstr)
^
objnam.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wishymatch(u_str, o_str, retry_inverted)
^
objnam.c:1450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
readobjnam(bp)
^
objnam.c:2395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rnd_class(first,last)
^
objnam.c:2414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Japanese_item_name(i)
^
30 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c options.c
In file included from options.c:13:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from options.c:13:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from options.c:13:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
options.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
match_optname(user_string, opt_name, min_length, val_allowed)
^
options.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
nh_getenv(ev)
^
options.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
nmcpy(dest, src, maxlen)
^
options.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
escapes(cp, tp)
^
options.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
boolopt_only_initial(i)
^
options.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rejectoption(optname)
^
options.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
badoption(opts)
^
options.c:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
string_for_opt(opts, val_optional)
^
options.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
string_for_env_opt(optname, opts, val_optional)
^
options.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bad_negation(optname, with_parameter)
^
options.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
change_inv_order(op)
^
options.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
graphics_opts(opts, optype, maxlen, offset)
^
options.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
warning_opts(opts, optype)
^
options.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
assign_warnings(graph_chars)
^
options.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
feature_alert_opts(op, optn)
^
options.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
parseoptions(opts, tinitial, tfrom_file)
^
options.c:1807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
oc_to_str(src,dest)
^
options.c:1826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_menu_cmd_alias(from_ch, to_ch)
^
options.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
map_menu_cmd(ch)
^
options.c:1866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doset_add_menu(win, option, indexoffset)
^
options.c:2025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
special_handling(optname, setinitial, setfromfile)
^
options.c:2088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_compopt_value(optname, buf)
^
options.c:2319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
next_opt(datawin, str)
^
options.c:2357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fruitadd(str)
^
options.c:2459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
choose_classes_menu(prompt, category, way, class_list, class_select)
^
29 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c pager.c
In file included from pager.c:8:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from pager.c:8:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from pager.c:8:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
pager.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_swallow_sym(c)
^
pager.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
append_str(buf, new_str)
^
pager.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lookat(x, y, buf, monbuf)
^
pager.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
checkfile(inp, pm, user_typed_name, without_asking)
^
pager.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_look(quick)
^
pager.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_do_lookat(x, y, buf, monbuf)
^
pager.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
help_menu(sel)
^
11 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c pickup.c
In file included from pickup.c:9:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from pickup.c:9:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from pickup.c:9:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
pickup.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
simple_look(otmp, here)
^
pickup.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
collect_obj_classes(ilets, otmp, here, incl_gold, filter)
^
pickup.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
query_classes(oclasses, one_at_a_time, everything, action, objs,
^
pickup.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_here(picked_some)
^
pickup.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
n_or_more(obj)
^
pickup.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_valid_menu_class(c)
^
pickup.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
all_but_uchain(obj)
^
pickup.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
allow_all(obj)
^
pickup.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
allow_category(obj)
^
pickup.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_worn_by_type(otmp)
^
pickup.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pickup(what)
^
pickup.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
autopick(olist, follow, pick_list)
^
pickup.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
query_objlist(qstr, olist, qflags, pick_list, how, allow)
^
pickup.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
query_category(qstr, olist, qflags, pick_list, how)
^
pickup.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
count_categories(olist, qflags)
^
pickup.c:794:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
long carry_count(obj, container, count, telekinesis, wt_before, wt_after)
     ^
pickup.c:924:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int lift_object(obj, container, cnt_p, telekinesis)
    ^
pickup.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pickup_object(obj, count, telekinesis)
^
pickup.c:1114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pick_obj(otmp)
^
pickup.c:1169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
container_at(x, y, countem)
^
pickup.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
able_to_loot(x, y)
^
pickup.c:1212:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
boolean mon_beside(x,y)
        ^
pickup.c:1331:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            pline(Never_mind);
                  ^~~~~~~~~~
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pickup.c:1331:12: note: treat the string as an argument to avoid this
            pline(Never_mind);
                  ^
                  "%s", 
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^
pickup.c:1448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mbag_explodes(obj, depthin)
^
pickup.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
in_container(obj)
^
pickup.c:1614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ck_bag(obj)
^
pickup.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
out_container(obj)
^
pickup.c:1686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_container(obj, held)
^
pickup.c:1893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
menu_loot(retry, container, put_in)
^
pickup.c:1963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
in_or_out_menu(prompt, obj)
^
34 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c pline.c
In file included from pline.c:6:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from pline.c:6:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from pline.c:6:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
pline.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
You_buf(siz)
^
pline.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
align_str(alignment)
^
pline.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mstatusline(mtmp)
^
7 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c polyself.c
In file included from polyself.c:13:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from polyself.c:13:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from polyself.c:13:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
polyself.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
polyman(fmt, arg)
^
polyself.c:219:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                You(shudder_for_moment);
                    ^~~~~~~~~~~~~~~~~~
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
polyself.c:219:7: note: treat the string as an argument to avoid this
                You(shudder_for_moment);
                    ^
                    "%s", 
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^
polyself.c:241:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                if (tries==5) pline(thats_enough_tries);
                                    ^~~~~~~~~~~~~~~~~~
../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries'
#define thats_enough_tries c_common_strings.c_thats_enough_tries
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
polyself.c:241:23: note: treat the string as an argument to avoid this
                if (tries==5) pline(thats_enough_tries);
                                    ^
                                    "%s", 
../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries'
#define thats_enough_tries c_common_strings.c_thats_enough_tries
                           ^
polyself.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
polymon(mntmp)  /* returns 1 if polymorph successful */
^
polyself.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drop_weapon(alone)
^
polyself.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mbodypart(mon, part)
^
polyself.c:1104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
body_part(part)
^
polyself.c:1127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ugolemeffects(damtype, dam)
^
polyself.c:1155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
armor_to_dragon(atyp)
^
13 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c potion.c
In file included from potion.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from potion.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from potion.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
potion.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
itimeout(val)
^
potion.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
itimeout_incr(old, incr)
^
potion.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_itimeout(which, val)
^
potion.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
incr_itimeout(which, incr)
^
potion.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
make_confused(xtime,talk)
^
potion.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
make_stunned(xtime,talk)
^
potion.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
make_sick(xtime, cause, talk, type)
^
potion.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
make_vomiting(xtime, talk)
^
potion.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
make_blinded(xtime, talk)
^
potion.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
make_hallucinated(xtime, talk, mask)
^
potion.c:231:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            if (!Blind && talk) pline(message);
                                      ^~~~~~~
potion.c:231:32: note: treat the string as an argument to avoid this
            if (!Blind && talk) pline(message);
                                      ^
                                      "%s", 
potion.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dopotion(otmp)
^
potion.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
peffects(otmp)
^
potion.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
healup(nhp, nxtra, curesick, cureblind)
^
potion.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
strange_feeling(obj,txt)
^
potion.c:836:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                pline(txt);
                      ^~~
potion.c:836:9: note: treat the string as an argument to avoid this
                pline(txt);
                      ^
                      "%s", 
potion.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
potionhit(mon, obj, your_fault)
^
potion.c:1072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
potionbreathe(obj)
^
potion.c:1203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mixtype(o1, o2)
^
potion.c:1301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_wet(obj)
^
potion.c:1505:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                pline(nothing_happens);
                      ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
potion.c:1505:9: note: treat the string as an argument to avoid this
                pline(nothing_happens);
                      ^
                      "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
potion.c:1740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
djinni_from_bottle(obj)
^
potion.c:1788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
split_mon(mon, mtmp)
^
27 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c pray.c
In file included from pray.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from pray.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from pray.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
pray.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fix_worst_trouble(trouble)
^
pray.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
god_zaps_you(resp_god)
^
pray.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fry_by_god(resp_god)
^
pray.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
angrygods(resp_god)
^
pray.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pleased(g_align)
^
pray.c:861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
water_prayer(bless_water)
^
pray.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
godvoice(g_align, words)
^
pray.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gods_angry(g_align)
^
pray.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gods_upset(g_align)
^
pray.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
consume_offering(otmp)
^
pray.c:1148:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        pline(nothing_happens);
              ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pray.c:1148:8: note: treat the string as an argument to avoid this
        pline(nothing_happens);
              ^
              "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
pray.c:1332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
can_pray(praying)
^
pray.c:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
a_gname_at(x,y)     /* returns the name of an altar's deity */
^
pray.c:1585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
align_gname(alignment)
^
pray.c:1605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
halu_gname(alignment)
^
pray.c:1627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
align_gtitle(alignment)
^
pray.c:1643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
altar_wrath(x, y)
^
pray.c:1661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
blocked_boulder(dx,dy)
^
22 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c priest.c
In file included from priest.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from priest.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from priest.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
priest.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
move_special(mtmp,in_his_shop,appr,uondoor,avoid,omx,omy,gx,gy)
^
priest.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
temple_occupied(array)
^
priest.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
histemple_at(priest, x, y)
^
priest.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pri_move(priest)
^
priest.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
priestini(lvl, sroom, sx, sy, sanctum)
^
priest.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
priestname(mon, pname)
^
priest.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
p_coaligned(priest)
^
priest.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
has_shrine(pri)
^
priest.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
findpriest(roomno)
^
priest.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
intemple(roomno)
^
priest.c:366:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    verbalize(msg1);
                              ^~~~
priest.c:366:17: note: treat the string as an argument to avoid this
                    verbalize(msg1);
                              ^
                              "%s", 
priest.c:367:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    if (msg2) verbalize(msg2);
                                        ^~~~
priest.c:367:27: note: treat the string as an argument to avoid this
                    if (msg2) verbalize(msg2);
                                        ^
                                        "%s", 
priest.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
priest_talk(priest)
^
priest.c:435:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            verbalize(cranky_msg[rn2(3)]);
                      ^~~~~~~~~~~~~~~~~~
priest.c:435:16: note: treat the string as an argument to avoid this
            verbalize(cranky_msg[rn2(3)]);
                      ^
                      "%s", 
priest.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mk_roamer(ptr, alignment, x, y, peaceful)
^
priest.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
reset_hostility(roamer)
^
priest.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
in_your_sanctuary(mon, x, y)
^
priest.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ghod_hitsu(priest)      /* when attacking "priest" in his temple */
^
priest.c:685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restpriest(mtmp, ghostly)
^
23 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c quest.c
In file included from quest.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from quest.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from quest.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
quest.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_pure(talk)
^
quest.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
expulsion(seal)
^
quest.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
finish_quest(obj)
^
quest.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
leader_speaks(mtmp)
^
quest.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
prisoner_speaks (mtmp)
^
quest.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
quest_chat(mtmp)
^
quest.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
quest_talk(mtmp)
^
quest.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
quest_stat_check(mtmp)
^
12 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c questpgr.c
In file included from questpgr.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from questpgr.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from questpgr.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
questpgr.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Fread(ptr, size, nitems, stream)
^
questpgr.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
construct_qtlist(hdr_offset)
^
questpgr.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
quest_info(typ)
^
questpgr.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_quest_artifact(otmp)
^
questpgr.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
msg_in(qtm_list, msgnum)
^
questpgr.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
convert_arg(c)
^
questpgr.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deliver_by_pline(qt_msg)
^
questpgr.c:376:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            pline(out_line);
                  ^~~~~~~~
questpgr.c:376:12: note: treat the string as an argument to avoid this
            pline(out_line);
                  ^
                  "%s", 
questpgr.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deliver_by_window(qt_msg, how)
^
questpgr.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_pager(msgnum)
^
questpgr.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
qt_pager(msgnum)
^
15 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c read.c
In file included from read.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from read.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from read.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
read.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stripspe(obj)
^
read.c:155:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        if (obj->blessed) pline(nothing_happens);
                                ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
read.c:155:26: note: treat the string as an argument to avoid this
        if (obj->blessed) pline(nothing_happens);
                                ^
                                "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
read.c:162:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                } else pline(nothing_happens);
                             ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
read.c:162:16: note: treat the string as an argument to avoid this
                } else pline(nothing_happens);
                             ^
                             "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
read.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
p_glow1(otmp)
^
read.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
p_glow2(otmp,color)
^
read.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_chargeable(obj)
^
read.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
recharge(obj, curse_bless)
^
read.c:318:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        pline(nothing_happens);
                              ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
read.c:318:10: note: treat the string as an argument to avoid this
                        pline(nothing_happens);
                              ^
                              "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
read.c:376:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    } else pline(nothing_happens);
                                 ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
read.c:376:20: note: treat the string as an argument to avoid this
                    } else pline(nothing_happens);
                                 ^
                                 "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
read.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
forget_single_object(obj_id)
^
read.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
randomize(indices, count)
^
read.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
forget_objects(percent)
^
read.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
forget_map(howmuch)
^
read.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
forget_levels(percent)
^
read.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
forget(howmuch)
^
read.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
seffects(sobj)
^
read.c:1227:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    pline(Never_mind);
                          ^~~~~~~~~~
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
read.c:1227:13: note: treat the string as an argument to avoid this
                    pline(Never_mind);
                          ^
                          "%s", 
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^
read.c:1245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wand_explode(obj)
^
read.c:1260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_lit(x,y,val)
^
read.c:1273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
litroom(on,obj)
^
read.c:1371:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        pline(thats_enough_tries);
                              ^~~~~~~~~~~~~~~~~~
../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries'
#define thats_enough_tries c_common_strings.c_thats_enough_tries
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
read.c:1371:10: note: treat the string as an argument to avoid this
                        pline(thats_enough_tries);
                              ^
                              "%s", 
../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries'
#define thats_enough_tries c_common_strings.c_thats_enough_tries
                           ^
read.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_genocide(how)
^
read.c:1523:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    pline(thats_enough_tries);
                          ^~~~~~~~~~~~~~~~~~
../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries'
#define thats_enough_tries c_common_strings.c_thats_enough_tries
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
read.c:1523:13: note: treat the string as an argument to avoid this
                    pline(thats_enough_tries);
                          ^
                          "%s", 
../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries'
#define thats_enough_tries c_common_strings.c_thats_enough_tries
                           ^
read.c:1629:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                pline(nothing_happens);
                      ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
read.c:1629:9: note: treat the string as an argument to avoid this
                pline(nothing_happens);
                      ^
                      "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
read.c:1634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
punish(sobj)
^
read.c:1682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cant_create(mtype, revival)
^
read.c:1713:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        if (tries == 5) pline(thats_enough_tries);
                              ^~~~~~~~~~~~~~~~~~
../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries'
#define thats_enough_tries c_common_strings.c_thats_enough_tries
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
read.c:1713:24: note: treat the string as an argument to avoid this
        if (tries == 5) pline(thats_enough_tries);
                              ^
                              "%s", 
../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries'
#define thats_enough_tries c_common_strings.c_thats_enough_tries
                           ^
31 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c rect.c
In file included from rect.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from rect.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from rect.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
rect.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_rect_ind(r)
^
rect.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_rect(r)
^
rect.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
intersect(r1, r2, r3)
^
rect.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
remove_rect(r)
^
rect.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_rect(r)
^
rect.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
split_rects(r1, r2)
^
10 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c region.c
In file included from region.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from region.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from region.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
region.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inside_rect(r, x, y)
^
region.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inside_region(reg, x, y)
^
region.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_region(rects, nrect)
^
region.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_rect_to_reg(reg, rect)
^
region.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_mon_to_reg(reg, mon)
^
region.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
remove_mon_from_reg(reg, mon)
^
region.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_in_region(reg, mon)
^
region.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
free_region(reg)
^
region.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_region(reg)
^
region.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
remove_region(reg)
^
region.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
in_out_region(x, y)
^
region.c:442:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                pline(regions[i]->leave_msg);
                      ^~~~~~~~~~~~~~~~~~~~~
region.c:442:9: note: treat the string as an argument to avoid this
                pline(regions[i]->leave_msg);
                      ^
                      "%s", 
region.c:453:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                pline(regions[i]->enter_msg);
                      ^~~~~~~~~~~~~~~~~~~~~
region.c:453:9: note: treat the string as an argument to avoid this
                pline(regions[i]->enter_msg);
                      ^
                      "%s", 
region.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_in_out_region(mon, x, y)
^
region.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
update_monster_region(mon)
^
region.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
visible_region_at(x, y)
^
region.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
show_region(reg, x, y)
^
region.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
save_regions(fd, mode)
^
region.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rest_regions(fd)
^
region.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
expire_gas_cloud(p1, p2)
^
region.c:841:14: warning: cast to smaller integer type 'int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast]
    damage = (int) reg->arg;
             ^~~~~~~~~~~~~~
region.c:846:13: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
        reg->arg = (genericptr_t) damage;
                   ^~~~~~~~~~~~~~~~~~~~~
region.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inside_gas_cloud(p1, p2)
^
region.c:863:11: warning: cast to smaller integer type 'int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast]
    dam = (int) reg->arg;
          ^~~~~~~~~~~~~~
region.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_gas_cloud(x, y, radius, damage)
^
region.c:926:18: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
    cloud->arg = (genericptr_t) damage;
                 ^~~~~~~~~~~~~~~~~~~~~
30 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c restore.c
In file included from restore.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from restore.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from restore.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
restore.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inven_inuse(quietly)
^
restore.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restlevchn(fd)
^
restore.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restdamage(fd, ghostly)
^
restore.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restobjchn(fd, ghostly, frozen)
^
restore.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restmonchn(fd, ghostly)
^
restore.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
loadfruitchn(fd)
^
restore.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
freefruitchn(flist)
^
restore.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ghostfruit(otmp)
^
restore.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restgamestate(fd, mid, steedid)
^
restore.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restlevelstate(mid, steedid)
^
restore.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restlevelfile(fd, ltmp)
^
restore.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dorecover(fd)
^
restore.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getlev(fd, pid, lev, ghostly)
^
restore.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_id_mapping(gid, nid)
^
restore.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lookup_id_mapping(gid, nidp)
^
restore.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
reset_oattached_mids(ghostly)
^
restore.c:1005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mread(fd, buf, len)
^
21 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c rip.c
In file included from rip.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from rip.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from rip.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
4 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c rnd.c
In file included from rnd.c:4:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from rnd.c:4:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from rnd.c:4:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
rnd.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rn2(x)          /* 0 <= rn2(x) < x */
^
rnd.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rnl(x)          /* 0 <= rnl(x) < x; sometimes subtracting Luck */
^
rnd.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rnd(x)          /* 1 <= rnd(x) <= x */
^
rnd.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
d(n,x)          /* n <= d(n,x) <= (n*x) */
^
rnd.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rne(x)
^
rnd.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rnz(i)
^
10 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c role.c
In file included from role.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from role.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from role.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
role.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
validrole(rolenum)
^
role.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
str2role(str)
^
role.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
validrace(rolenum, racenum)
^
role.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
randrace(rolenum)
^
role.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
str2race(str)
^
role.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
validgend(rolenum, racenum, gendnum)
^
role.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
randgend(rolenum, racenum)
^
role.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
str2gend(str)
^
role.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
validalign(rolenum, racenum, alignnum)
^
role.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
randalign(rolenum, racenum)
^
role.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
str2align(str)
^
role.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ok_role(rolenum, racenum, gendnum, alignnum)
^
role.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pick_role(racenum, gendnum, alignnum)
^
role.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ok_race(rolenum, racenum, gendnum, alignnum)
^
role.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pick_race(rolenum, gendnum, alignnum)
^
role.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ok_gend(rolenum, racenum, gendnum, alignnum)
^
role.c:917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pick_gend(rolenum, racenum, alignnum)
^
role.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ok_align(rolenum, racenum, gendnum, alignnum)
^
role.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pick_align(rolenum, racenum, gendnum)
^
role.c:1157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Hello(mtmp)
^
24 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c rumors.c
In file included from rumors.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from rumors.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from rumors.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
rumors.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
init_rumors(fp)
^
rumors.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getrumor(truth, rumor_buf, exclude_cookie)
^
rumors.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
outrumor(truth, mechanism)
^
rumors.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
init_oracles(fp)
^
rumors.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
save_oracles(fd, mode)
^
rumors.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restore_oracles(fd)
^
rumors.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
outoracle(special, delphi)
^
rumors.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doconsult(oracl)
^
12 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c save.c
In file included from save.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from save.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from save.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
save.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hangup(sig_unused)  /* called as signal() handler, so sent at least one arg */
^
save.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
savegamestate(fd, mode)
^
save.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
savelev(fd,lev,mode)
^
save.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bufon(fd)
^
save.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bufoff(fd)
^
save.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bflush(fd)
^
save.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bwrite(fd,loc,num)
^
save.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bclose(fd)
^
save.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
savelevchn(fd, mode)
^
save.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
savedamage(fd, mode)
^
save.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
saveobjchn(fd, otmp, mode)
^
save.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
savemonchn(fd, mtmp, mode)
^
save.c:877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
savetrapchn(fd, trap, mode)
^
save.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
savefruitchn(fd, mode)
^
18 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c shk.c
In file included from shk.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from shk.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from shk.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
shk.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
next_shkp(shkp, withbill)
^
shk.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shkname(mtmp)                           /* called in do_name.c */
^
shk.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shkgone(mtmp)                           /* called in mon.c */
^
shk.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_residency(shkp, zero_out)
^
shk.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
replshk(mtmp,mtmp2)
^
shk.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restshk(shkp, ghostly)
^
shk.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
clear_unpaid(list)
^
shk.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
setpaid(shkp)   /* either you paid or left the shop or the shopkeeper died */
^
shk.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
addupbill(shkp)
^
shk.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
call_kops(shkp, nearshop)
^
shk.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inside_shop(x, y)
^
shk.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
u_left_shop(leavestring, newlev)
^
shk.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
u_entered_shop(enterstring)
^
shk.c:482:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
boolean same_price(obj1, obj2)
        ^
shk.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shop_debt(eshkp)
^
shk.c:566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inhishop(mtmp)
^
shk.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shop_keeper(rmno)
^
shk.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tended_shop(sroom)
^
shk.c:604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
onbill(obj, shkp, silent)
^
shk.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
delete_contents(obj)
^
shk.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obfree(obj, merge)
^
shk.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_credit(tmp, shkp)
^
shk.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pay(tmp,shkp)
^
shk.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
home_shk(shkp, killkops)
^
shk.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pacify_shk(shkp)
^
shk.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rile_shk(shkp)
^
shk.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
make_happy_shk(shkp, silentkops)
^
shk.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hot_pursuit(shkp)
^
shk.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
make_angry_shk(shkp, ox, oy)
^
shk.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cheapest_item(shkp)   /* delivers the cheapest item on the list */
^
shk.c:1125:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                pline(sbuf);
                      ^~~~
shk.c:1125:9: note: treat the string as an argument to avoid this
                pline(sbuf);
                      ^
                      "%s", 
shk.c:1245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dopayobj(shkp, bp, obj_p, which, itemize)
^
shk.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
paybill(croaked)
^
shk.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inherits(shkp, numsk, croaked)
^
shk.c:1465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_repo_loc(eshkp)
^
shk.c:1513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bp_to_obj(bp)
^
shk.c:1532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_oid(id)
^
shk.c:1561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_cost(obj, shkp)
^
shk.c:1611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
contained_cost(obj, shkp, price, usell)
^
shk.c:1642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
contained_gold(obj)
^
shk.c:1659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dropped_container(obj, shkp, sale)
^
shk.c:1679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
picked_container(obj)
^
shk.c:1700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_cost(obj, shkp)
^
shk.c:1738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
unpaid_cost(unp_obj)
^
shk.c:1755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_one_tobill(obj, dummy)
^
shk.c:1798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_to_billobjs(obj)
^
shk.c:1813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bill_box_content(obj, ininv, dummy, shkp)
^
shk.c:1834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shk_names_obj(shkp, obj, fmt, amt, arg)
^
shk.c:1869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
addtobill(obj, ininv, dummy, silent)
^
shk.c:1977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
splitbill(obj, otmp)
^
shk.c:2015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sub_one_frombill(obj, shkp)
^
shk.c:2058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
subfrombill(obj, shkp)
^
shk.c:2081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stolen_container(obj, shkp, price, ininv)
^
shk.c:2126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stolen_value(obj, x, y, peaceful, silent)
^
shk.c:2186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sellobj_state(deliberate)       /* called from dodrop(do.c) and doddrop() */
^
shk.c:2200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sellobj(obj, x, y)
^
shk.c:2409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doinvbill(mode)
^
shk.c:2499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getprice(obj, shk_buying)
^
shk.c:2534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shkcatch(obj, x, y)
^
shk.c:2566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_damage(x, y, cost)
^
shk.c:2614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
remove_damage(shkp, croaked)
^
shk.c:2709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
repair_damage(shkp, tmp_dam, catchup)
^
shk.c:2837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shk_move(shkp)
^
shk.c:2942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_fshk(mtmp)
^
shk.c:2950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shopdig(fall)
^
shk.c:3006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
makekops(mm)
^
shk.c:3032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pay_for_damage(dmgstr)
^
shk.c:3182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
costly_spot(x, y)
^
shk.c:3201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shop_object(x, y)
^
shk.c:3221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
price_quote(first_obj)
^
shk.c:3270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shk_embellish(itm, cost)
^
shk.c:3315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shk_chat(shkp)
^
shk.c:3357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
kops_gone(silent)
^
shk.c:3380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cost_per_charge(shkp, otmp, altusage)
^
shk.c:3435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_unpaid_usage(otmp, altusage)
^
shk.c:3472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_unpaid(otmp)
^
shk.c:3479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
costly_gold(x, y, amount)
^
shk.c:3516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
block_door(x,y)
^
shk.c:3548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
block_entry(x,y)
^
shk.c:3588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shk_your(buf, obj)
^
shk.c:3598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Shk_Your(buf, obj)
^
shk.c:3608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shk_owns(buf, obj)
^
shk.c:3625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_owns(buf, obj)
^
87 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c shknam.c
In file included from shknam.c:7:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from shknam.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from shknam.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
shknam.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkshobj_at(shp, sx, sy)
^
shknam.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
nameshk(shk, nlp)
^
shknam.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shkinit(shp, sroom)     /* create a new shopkeeper in the given room */
^
shknam.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stock_room(shp_indx, sroom)
^
shknam.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
saleable(shkp, obj)
^
shknam.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_shop_item(type)
^
10 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c sit.c
In file included from sit.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from sit.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from sit.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
4 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c sounds.c
In file included from sounds.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from sounds.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from sounds.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
sounds.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_in_room(mon, rmtyp)
^
sounds.c:51:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        You_hear(fountain_msg[rn2(3)+hallu]);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
sounds.c:51:11: note: treat the string as an argument to avoid this
        You_hear(fountain_msg[rn2(3)+hallu]);
                 ^
                 "%s", 
sounds.c:60:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        You_hear(sink_msg[rn2(2)+hallu]);
                 ^~~~~~~~~~~~~~~~~~~~~~
sounds.c:60:11: note: treat the string as an argument to avoid this
        You_hear(sink_msg[rn2(2)+hallu]);
                 ^
                 "%s", 
sounds.c:79:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                if (which != 2) You_hear(throne_msg[which]);
                                         ^~~~~~~~~~~~~~~~~
sounds.c:79:28: note: treat the string as an argument to avoid this
                if (which != 2) You_hear(throne_msg[which]);
                                         ^
                                         "%s", 
sounds.c:91:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        You(swamp_msg[rn2(2)+hallu]);
            ^~~~~~~~~~~~~~~~~~~~~~~
sounds.c:91:6: note: treat the string as an argument to avoid this
        You(swamp_msg[rn2(2)+hallu]);
            ^
            "%s", 
sounds.c:199:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                You_hear(barracks_msg[rn2(3)+hallu]);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
sounds.c:199:12: note: treat the string as an argument to avoid this
                You_hear(barracks_msg[rn2(3)+hallu]);
                         ^
                         "%s", 
sounds.c:214:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                You_hear(zoo_msg[rn2(2)+hallu]);
                         ^~~~~~~~~~~~~~~~~~~~~
sounds.c:214:12: note: treat the string as an argument to avoid this
                You_hear(zoo_msg[rn2(2)+hallu]);
                         ^
                         "%s", 
sounds.c:232:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            You_hear(shop_msg[rn2(2)+hallu]);
                     ^~~~~~~~~~~~~~~~~~~~~~
sounds.c:232:15: note: treat the string as an argument to avoid this
            You_hear(shop_msg[rn2(2)+hallu]);
                     ^
                     "%s", 
sounds.c:250:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            You_hear(ora_msg[rn2(3)+hallu*2]);
                     ^~~~~~~~~~~~~~~~~~~~~~~
sounds.c:250:15: note: treat the string as an argument to avoid this
            You_hear(ora_msg[rn2(3)+hallu*2]);
                     ^
                     "%s", 
sounds.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
growl_sound(mtmp)
^
sounds.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
growl(mtmp)
^
sounds.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
yelp(mtmp)
^
sounds.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
whimper(mtmp)
^
sounds.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
beg(mtmp)
^
sounds.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
domonnoise(mtmp)
^
sounds.c:797:35: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    else if (verbl_msg) verbalize(verbl_msg);
                                  ^~~~~~~~~
sounds.c:797:35: note: treat the string as an argument to avoid this
    else if (verbl_msg) verbalize(verbl_msg);
                                  ^
                                  "%s", 
20 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c sp_lev.c
In file included from sp_lev.c:12:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from sp_lev.c:12:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from sp_lev.c:12:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
sp_lev.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_wall_property(x1,y1,x2,y2, prop)
^
sp_lev.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_location(x, y, humidity)
^
sp_lev.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
is_ok_location(x, y, humidity)
^
sp_lev.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sp_lev_shuffle(list1, list2, n)
^
sp_lev.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_room_loc(x,y, croom)
^
sp_lev.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_free_room_loc(x,y, croom)
^
sp_lev.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_room(lowx, ddx, lowy, ddy, vault)
^
sp_lev.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_room(x,y,w,h,xal,yal,rtype,rlit)
^
sp_lev.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_subroom(proom, x, y, w,  h, rtype, rlit)
^
sp_lev.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_door(dd, broom)
^
sp_lev.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_secret_door(croom, walls)
^
sp_lev.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_trap(t,croom)
^
sp_lev.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
noncoalignment(alignment)
^
sp_lev.c:747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_monster(m,croom)
^
sp_lev.c:908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_object(o,croom)
^
sp_lev.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_engraving(e, croom)
^
sp_lev.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_stairs(s,croom)
^
sp_lev.c:1082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_altar(a, croom)
^
sp_lev.c:1152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_gold(g,croom)
^
sp_lev.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_feature(fx, fy, croom, typ)
^
sp_lev.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
search_door(croom,x,y,wall,cnt)
^
sp_lev.c:1268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dig_corridor(org,dest,nxcor,ftyp,btyp)
^
sp_lev.c:1418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_corridor(c)
^
sp_lev.c:1460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fill_room(croom, prefilled)
^
sp_lev.c:1521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
free_rooms(ro, n)
^
sp_lev.c:1593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
build_room(r, pr)
^
sp_lev.c:1674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
light_region(tmpregion)
^
sp_lev.c:1703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
load_common_data(fd, typ)
^
sp_lev.c:1751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
load_one_monster(fd, m)
^
sp_lev.c:1773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
load_one_object(fd, o)
^
sp_lev.c:1789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
load_one_engraving(fd, e)
^
sp_lev.c:1803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
load_rooms(fd)
^
sp_lev.c:2033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
maze1xy(m, humidity)
^
sp_lev.c:2059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
load_maze(fd)
^
sp_lev.c:2621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
load_special(name)
^
39 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c spell.c
In file included from spell.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from spell.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from spell.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
spell.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spell_let_to_idx(ilet)
^
spell.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cursed_book(lev)
^
spell.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deadbook(book2)
^
spell.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
study_book(spellbook)
^
spell.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
book_substitution(old_obj, new_obj)
^
spell.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getspell(spell_no)
^
spell.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spelltypemnemonic(skill)
^
spell.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spell_skilltype(booktype)
^
spell.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spelleffects(spell, atme)
^
spell.c:854:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        pline(nothing_happens);
                              ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
spell.c:854:10: note: treat the string as an argument to avoid this
                        pline(nothing_happens);
                              ^
                              "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
spell.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dospellmenu(prompt, splaction, spell_no)
^
spell.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
isqrt(val)
^
spell.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
percent_success(spell)
^
spell.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
initialspell(obj)
^
18 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c steal.c
In file included from steal.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from steal.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from steal.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
steal.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
equipname(otmp)
^
steal.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stealgold(mtmp)
^
steal.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
remove_worn_item(obj)
^
steal.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
steal(mtmp)
^
steal.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mpickobj(mtmp,otmp)
^
steal.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stealamulet(mtmp)
^
steal.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
relobj(mtmp,show,is_pet)
^
11 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c steed.c
In file included from steed.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from steed.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from steed.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
steed.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
can_saddle(mtmp)
^
steed.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_saddle(otmp)
^
steed.c:53:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            pline(Never_mind);
                  ^~~~~~~~~~
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
steed.c:53:12: note: treat the string as an argument to avoid this
            pline(Never_mind);
                  ^
                  "%s", 
../include/decl.h:291:23: note: expanded from macro 'Never_mind'
#define Never_mind         c_common_strings.c_Never_mind
                           ^
steed.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
can_ride(mtmp)
^
steed.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mount_steed(mtmp, force)
^
steed.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dismount_steed(reason)
^
steed.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
place_monster(mon, x, y)
^
11 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c teleport.c
In file included from teleport.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from teleport.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from teleport.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
teleport.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
goodpos(x, y, mtmp)
^
teleport.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
enexto(cc, xx, yy, mdat)
^
teleport.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tele_jump_ok(x1, y1, x2, y2)
^
teleport.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
teleok(x, y, trapok)
^
teleport.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
teleds(nux, nuy)
^
teleport.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
teleport_pet(mtmp, force_it)
^
teleport.c:474:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                You(shudder_for_moment);
                    ^~~~~~~~~~~~~~~~~~
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
teleport.c:474:7: note: treat the string as an argument to avoid this
                You(shudder_for_moment);
                    ^
                    "%s", 
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^
teleport.c:536:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                You(shudder_for_moment);
                    ^~~~~~~~~~~~~~~~~~
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
teleport.c:536:7: note: treat the string as an argument to avoid this
                You(shudder_for_moment);
                    ^
                    "%s", 
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^
teleport.c:553:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                You(shudder_for_moment);
                    ^~~~~~~~~~~~~~~~~~
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
teleport.c:553:7: note: treat the string as an argument to avoid this
                You(shudder_for_moment);
                    ^
                    "%s", 
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^
teleport.c:559:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                You(shudder_for_moment);
                    ^~~~~~~~~~~~~~~~~~
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
teleport.c:559:7: note: treat the string as an argument to avoid this
                You(shudder_for_moment);
                    ^
                    "%s", 
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^
teleport.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
domagicportal(ttmp)
^
teleport.c:669:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                You(shudder_for_moment);
                    ^~~~~~~~~~~~~~~~~~
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
teleport.c:669:7: note: treat the string as an argument to avoid this
                You(shudder_for_moment);
                    ^
                    "%s", 
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^
teleport.c:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tele_trap(trap)
^
teleport.c:703:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                You(shudder_for_moment);
                    ^~~~~~~~~~~~~~~~~~
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
teleport.c:703:7: note: treat the string as an argument to avoid this
                You(shudder_for_moment);
                    ^
                    "%s", 
../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment'
#define shudder_for_moment c_common_strings.c_shudder_for_moment
                           ^
teleport.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
level_tele_trap(trap)
^
teleport.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rloc_pos_ok(x, y, mtmp)
^
teleport.c:789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rloc_to(mtmp, x, y)
^
teleport.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rloc(mtmp)
^
teleport.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mvault_tele(mtmp)
^
teleport.c:897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tele_restrict(mon)
^
teleport.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mtele_trap(mtmp, trap, in_sight)
^
teleport.c:941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mlevel_tele_trap(mtmp, trap, force_it, in_sight)
^
teleport.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rloco(obj)
^
teleport.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
u_teleport_mon(mtmp, give_feedback)
^
28 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c timeout.c
In file included from timeout.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from timeout.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from timeout.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
timeout.c:33:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                pline(stoned_texts[SIZE(stoned_texts) - i]);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
timeout.c:33:9: note: treat the string as an argument to avoid this
                pline(stoned_texts[SIZE(stoned_texts) - i]);
                      ^
                      "%s", 
timeout.c:57:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                You(vomiting_texts[SIZE(vomiting_texts) - i - 1]);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
timeout.c:57:7: note: treat the string as an argument to avoid this
                You(vomiting_texts[SIZE(vomiting_texts) - i - 1]);
                    ^
                    "%s", 
timeout.c:104:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    pline(str);
                          ^~~
timeout.c:104:13: note: treat the string as an argument to avoid this
                    pline(str);
                          ^
                          "%s", 
timeout.c:134:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                pline(str);
                      ^~~
timeout.c:134:9: note: treat the string as an argument to avoid this
                pline(str);
                      ^
                      "%s", 
timeout.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fall_asleep(how_long, wakeup_msg)
^
timeout.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
attach_egg_hatch_timeout(egg)
^
timeout.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
kill_egg(egg)
^
timeout.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hatch_egg(arg, timeout)
^
timeout.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
learn_egg_type(mnum)
^
timeout.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
attach_fig_transform_timeout(figurine)
^
timeout.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
see_lamp_flicker(obj, tailer)
^
timeout.c:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lantern_message(obj)
^
timeout.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
burn_object(arg, timeout)
^
timeout.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
begin_burn(obj, already_lit)
^
timeout.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
end_burn(obj, timer_attached)
^
timeout.c:1262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
kind_name(kind)
^
timeout.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
print_queue(win, base)
^
timeout.c:1374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
start_timer(when, kind, func_index, arg)
^
timeout.c:1408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stop_timer(func_index, arg)
^
timeout.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_move_timers(src, dest)
^
timeout.c:1454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_split_timers(src, dest)
^
timeout.c:1474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_stop_timers(obj)
^
timeout.c:1497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
insert_timer(gnu)
^
timeout.c:1514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
remove_timer(base, func_index, arg)
^
timeout.c:1555:16: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast]
                timer->arg = (genericptr_t)((struct obj *)timer->arg)->o_id;
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
timeout.c:1569:16: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast]
                timer->arg = (genericptr_t)((struct monst *)timer->arg)->m_id;
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
timeout.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
write_timer(fd, timer)
^
timeout.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_is_local(obj)
^
timeout.c:1610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_is_local(mon)
^
timeout.c:1629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
timer_is_local(timer)
^
timeout.c:1648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
maybe_write_timer(fd, range, write_it)
^
timeout.c:1693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
save_timers(fd, mode, range)
^
timeout.c:1732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restore_timers(fd, range, ghostly, adjust)
^
timeout.c:1757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
relink_timers(ghostly)
^
timeout.c:1767:30: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast]
                    if (!lookup_id_mapping((unsigned)curr->arg, &nid))
                                           ^~~~~~~~~~~~~~~~~~~
timeout.c:1770:13: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast]
                    nid = (unsigned) curr->arg;
                          ^~~~~~~~~~~~~~~~~~~~
40 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c topten.c
In file included from topten.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from topten.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from topten.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
topten.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
topten_print(x)
^
topten.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
topten_print_bold(x)
^
topten.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
observable_depth(lev)
^
topten.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
readentry(rfile,tt)
^
topten.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
writeentry(rfile,tt)
^
topten.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
free_ttlist(tt)
^
topten.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
topten(how)
^
topten.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
outentry(rank, t1, so)
^
topten.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
score_wanted(current_ver, rank, t1, playerct, players, uid)
^
topten.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
prscore(argc,argv)
^
topten.c:881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
classmon(plch, fem)
^
topten.c:909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tt_oname(otmp)
^
16 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c track.c
In file included from track.c:6:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from track.c:6:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from track.c:6:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
track.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gettrack(x, y)
^
5 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c trap.c
In file included from trap.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from trap.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from trap.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
trap.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
burnarmor(victim)
^
trap.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rust_dmg(otmp, ostr, type, print, victim)
^
trap.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
grease_protect(otmp,ostr,plu,victim)
^
trap.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
maketrap(x,y,typ)
^
trap.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fall_through(td)
^
trap.c:353:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            You(dont_fall);
                ^~~~~~~~~
trap.c:353:10: note: treat the string as an argument to avoid this
            You(dont_fall);
                ^
                "%s", 
trap.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
animate_statue(statue, x, y, cause, fail_reason)
^
trap.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
activate_statue_trap(trap, x, y, shatter)
^
trap.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dotrap(trap)
^
trap.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
blow_up_landmine(trap)
^
trap.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
launch_obj(otyp, x1, y1, x2, y2, style)
^
trap.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
seetrap(trap)
^
trap.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkroll_launch(ttmp, x, y, otyp, ocount)
^
trap.c:1159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
isclearpath(cc,distance,dx,dy)
^
trap.c:1184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mintrap(mtmp)
^
trap.c:1640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
instapetrify(str)
^
trap.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
minstapetrify(mon,byplayer)
^
trap.c:1671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
selftouch(arg)
^
trap.c:1694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mselftouch(mon,arg,byplayer)
^
trap.c:1760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fill_pit(x, y)
^
trap.c:1775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
float_down(hmask, emask)
^
trap.c:1885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dofiretrap(box)
^
trap.c:2026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
water_damage(obj, force, here)
^
trap.c:2089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
emergency_disrobe(lostsome)
^
trap.c:2288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drain_en(n)
^
trap.c:2328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
untrap_prob(ttmp)
^
trap.c:2348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cnv_trap_obj(otyp, cnt, ttmp)
^
trap.c:2366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
move_into_trap(ttmp)
^
trap.c:2392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
try_disarm(ttmp, force_failure)
^
trap.c:2447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
reward_untrap(ttmp, mtmp)
^
trap.c:2468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
disarm_beartrap(ttmp) /* Helge Hafting */
^
trap.c:2491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
disarm_landmine(ttmp) /* Helge Hafting */
^
trap.c:2507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
disarm_squeaky_board(ttmp)
^
trap.c:2541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
disarm_shooting_trap(ttmp, otyp)
^
trap.c:2556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
try_lift(mtmp, ttmp, wt, stuff)
^
trap.c:2580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
help_monster_out(mtmp, ttmp)
^
trap.c:2648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
untrap(force)
^
trap.c:2806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
chest_trap(obj, bodypart, disarm)
^
trap.c:2973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
t_at(x,y)
^
trap.c:2988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
deltrap(trap)
^
trap.c:3002:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
boolean delfloortrap(ttmp)
        ^
trap.c:3036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
b_trapped(item, bodypart)
^
trap.c:3054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
thitm(tlev, mon, obj, d_override)
^
47 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c u_init.c
In file included from u_init.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from u_init.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from u_init.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
u_init.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
knows_object(obj)
^
u_init.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
knows_class(sym)
^
u_init.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restricted_spell_discipline(otyp)
^
u_init.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ini_inv(trop)
^
8 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c uhitm.c
In file included from uhitm.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from uhitm.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from uhitm.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
uhitm.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hurtmarmor(mdef, attk)
^
uhitm.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
attack_checks(mtmp, wep)
^
uhitm.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_roll_to_hit(mtmp)
^
uhitm.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
attack(mtmp)
^
uhitm.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
known_hitum(mon, mhit, uattk)   /* returns TRUE if monster still lives */
^
uhitm.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hitum(mon, tmp, uattk)          /* returns TRUE if monster still lives */
^
uhitm.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hmon(mon, obj, thrown)          /* return TRUE if mon still alive */
^
uhitm.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hmon_hitmon(mon, obj, thrown)
^
uhitm.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_slips_free(mdef, mattk)
^
uhitm.c:1039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
steal_it(mdef, mattk)
^
uhitm.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
damageum(mdef, mattk)
^
uhitm.c:1418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
explum(mdef, mattk)
^
uhitm.c:1474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
start_engulf(mdef)
^
uhitm.c:1497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gulpum(mdef,mattk)
^
uhitm.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
missum(mdef,mattk)
^
uhitm.c:1668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hmonas(mon, tmp)                /* attack monster as a monster. */
^
uhitm.c:1857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
passive(mon, mhit, malive, aatyp)
^
uhitm.c:2054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
stumble_onto_mimic(mtmp)
^
uhitm.c:2093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
nohandglow(mon)
^
uhitm.c:2115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
flash_hits_mon(mtmp, otmp)
^
24 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c vault.c
In file included from vault.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from vault.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from vault.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
vault.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
clear_fcorr(grd, forceshow)
^
vault.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
restfakecorr(grd)
^
vault.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
grddead(grd)                            /* called in mon.c */
^
vault.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
in_fcorridor(grd, x, y)
^
vault.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vault_occupied(array)
^
vault.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
move_gold(gold, vroom)
^
vault.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wallify_vault(grd)
^
vault.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gd_move(grd)
^
12 warnings generated.
./makedefs -z

close:  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20

_far_:  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c vision.c
In file included from vision.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from vision.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from vision.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
vision.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
does_block(x,y,lev)
^
vision.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_unused_cs(rows, rmin, rmax)
^
vision.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rogue_vision(next, rmin, rmax)
^
vision.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vision_recalc(control)
^
vision.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
block_point(x,y)
^
vision.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
unblock_point(x,y)
^
vision.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dig_point(row,col)
^
vision.c:974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fill_point(row,col)
^
vision.c:1312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_q1_path(srow,scol,y2,x2)
^
vision.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_q4_path(srow,scol,y2,x2)
^
vision.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_q2_path(srow,scol,y2,x2)
^
vision.c:1444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_q3_path(srow,scol,y2,x2)
^
vision.c:1494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
clear_path(col1,row1,col2,row2)
^
vision.c:1572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
close_shadow(side,this_row,block_row,block_col)
^
vision.c:1601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
far_shadow(side,this_row,block_row,block_col)
^
vision.c:1641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
right_side(row, cb_row, cb_col, fb_row, fb_col, left, right_mark, limits)
^
vision.c:1893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
left_side(row, cb_row, cb_col, fb_row, fb_col, left_mark, right, limits)
^
vision.c:2071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
view_from(srow,scol,loc_cs_rows,left_most,right_most, range, func, arg)
^
vision.c:2574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_clear_area(scol,srow,range,func,arg)
^
23 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c vis_tab.c
In file included from vis_tab.c:2:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from vis_tab.c:2:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from vis_tab.c:2:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
4 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c weapon.c
In file included from weapon.c:10:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from weapon.c:10:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from weapon.c:10:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
weapon.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void give_may_advance_msg(skill)
     ^
weapon.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hitval(otmp, mon)
^
weapon.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dmgval(otmp, mon)
^
weapon.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
oselect(mtmp, x)
^
weapon.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
select_rwep(mtmp)       /* select a ranged weapon for the monster */
^
weapon.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
select_hwep(mtmp)       /* select a hand to hand weapon for the monster */
^
weapon.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
possibly_unwield(mon)
^
weapon.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_wield_item(mon)
^
weapon.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
skill_level_name(skill, buf)
^
weapon.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
slots_required(skill)
^
weapon.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
can_advance(skill, speedy)
^
weapon.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
skill_advance(skill)
^
weapon.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
unrestrict_weapon_skill(skill)
^
weapon.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
use_skill(skill,degree)
^
weapon.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
add_weapon_skill(n)
^
weapon.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lose_weapon_skill(n)
^
weapon.c:961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
weapon_type(obj)
^
weapon.c:991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
weapon_hit_bonus(weapon)
^
weapon.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
weapon_dam_bonus(weapon)
^
weapon.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
skill_init(class_skill)
^
24 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c were.c
In file included from were.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from were.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from were.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
were.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
were_change(mon)
^
were.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
counter_were(pm)
^
were.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
new_were(mon)
^
were.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
were_summon(ptr,yours)  /* were-creature (even you) summons a horde */
^
were.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
you_unwere(purify)
^
9 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c wield.c
In file included from wield.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from wield.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from wield.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
wield.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
setuwep(obj)
^
wield.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ready_weapon(wep)
^
wield.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
setuqwep(obj)
^
wield.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
setuswapwep(obj)
^
wield.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
erode_weapon(target, acid_dmg)
^
wield.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
chwepon(otmp, amount)
^
wield.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
welded(obj)
^
wield.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
weldmsg(obj)
^
12 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c windows.c
In file included from windows.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from windows.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from windows.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
windows.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
def_raw_print(s)
^
windows.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
choose_windows(s)
^
windows.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
genl_message_menu(let, how, mesg)
^
7 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c wizard.c
In file included from wizard.c:10:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from wizard.c:10:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from wizard.c:10:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
wizard.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_has_amulet(mtmp)
^
wizard.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_has_special(mtmp)
^
wizard.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
which_arti(mask)
^
wizard.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_has_arti(mtmp, otyp)
^
wizard.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
other_mon_has_arti(mtmp, otyp)
^
wizard.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
on_ground(otyp)
^
wizard.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
you_have(mask)
^
wizard.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
target_on(mask, mtmp)
^
wizard.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
strategy(mtmp)
^
wizard.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tactics(mtmp)
^
wizard.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
nasty(mcast)
^
wizard.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cuss(mtmp)
^
16 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c worm.c
In file included from worm.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from worm.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from worm.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
worm.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
initworm(worm, wseg_count)
^
worm.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
toss_wsegs(curr, display_update)
^
worm.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
shrink_worm(wnum)
^
worm.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
worm_move(worm)
^
worm.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
worm_nomove(worm)
^
worm.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wormgone(worm)
^
worm.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wormhitu(worm)
^
worm.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cutworm(worm, x, y, weap)
^
worm.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
see_wsegs(worm)
^
worm.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
save_worm(fd, mode)
^
worm.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rest_worm(fd)
^
worm.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
place_wsegs(worm)
^
worm.c:562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
remove_worm(worm)
^
worm.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
place_worm_tail_randomly(worm, x, y)
^
worm.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
random_dir(x, y, nx, ny)
^
worm.c:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
count_wsegs(mtmp)
^
worm.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_worm_tail(num_segs)
^
worm.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
worm_known(worm)
^
22 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c worn.c
In file included from worn.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from worn.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from worn.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
worn.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
setworn(obj, mask)
^
worn.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
setnotworn(obj)
^
worn.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_set_minvis(mon)
^
worn.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_adjust_speed(mon, adjust)
^
worn.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
update_mon_intrinsics(mon, obj, on)
^
worn.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
find_mac(mon)
^
worn.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_dowear(mon, creation)
^
worn.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_dowear_type(mon, flag, creation)
^
worn.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
which_armor(mon, flag)
^
worn.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
m_lose_armor(mon, obj)
^
worn.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mon_break_armor(mon)
^
15 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c write.c
In file included from write.c:4:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from write.c:4:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from write.c:4:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
write.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cost(otmp)
^
write.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dowrite(pen)
^
6 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c zap.c
In file included from zap.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from zap.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from zap.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
zap.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bhitm(mtmp, otmp)
^
zap.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
probe_monster(mtmp)
^
zap.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_obj_location(obj, xp, yp, locflags)
^
zap.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_mon_location(mon, xp, yp, locflags)
^
zap.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
montraits(obj,cc)
^
zap.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
revive(obj)
^
zap.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
revive_egg(obj)
^
zap.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
unturn_dead(mon)
^
zap.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
costly_cancel(obj)
^
zap.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cancel_item(obj)
^
zap.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drain_item(obj)
^
zap.c:862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_resists(obj, ochance, achance)
^
zap.c:880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
obj_shudders(obj)
^
zap.c:908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
polyuse(objhdr, mat, minwt)
^
zap.c:946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
create_polymon(obj, okind)
^
zap.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
do_osshock(obj)
^
zap.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
poly_obj(obj, id)
^
zap.c:1321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bhito(obj, otmp)
^
zap.c:1534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bhitpile(obj,fhito,tx,ty)
^
zap.c:1574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
zappable(wand)
^
zap.c:1590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
zapnodir(obj)
^
zap.c:1636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
backfire(otmp)
^
zap.c:1660:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        if(!zappable(obj)) pline(nothing_happens);
                                 ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zap.c:1660:27: note: treat the string as an argument to avoid this
        if(!zappable(obj)) pline(nothing_happens);
                                 ^
                                 "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
zap.c:1695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
zapyourself(obj, ordinary)
^
zap.c:1976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
zap_steed(obj)
^
zap.c:2042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cancel_monst(mdef, obj, youattack, allow_cancel_kill, self_cancel)
^
zap.c:2097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
zap_updown(obj)
^
zap.c:2169:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                pline(nothing_happens);
                      ^~~~~~~~~~~~~~~
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zap.c:2169:9: note: treat the string as an argument to avoid this
                pline(nothing_happens);
                      ^
                      "%s", 
../include/decl.h:284:28: note: expanded from macro 'nothing_happens'
#define nothing_happens    c_common_strings.c_nothing_happens
                           ^
zap.c:2238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
weffects(obj)
^
zap.c:2324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spell_hit_bonus(skill)
^
zap.c:2353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
exclam(force)
^
zap.c:2363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hit(str,mtmp,force)
^
zap.c:2374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
miss(str,mtmp)
^
zap.c:2387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hits_bars(obj_type)
^
zap.c:2418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bhit(ddx,ddy,range,weapon,fhitm,fhito,obj)
^
zap.c:2595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
boomhit(dx, dy)
^
zap.c:2652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
zhitm(mon, type, nd, ootmp)                     /* returns damage to mon */
^
zap.c:2821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
zhitu(type, nd, fltxt, sx, sy)
^
zap.c:2952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
burn_floor_paper(x, y, give_feedback)
^
zap.c:2993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
zap_hit(ac, type)
^
zap.c:3017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
buzz(type,nd,sx,sy,dx,dy)
^
zap.c:3262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
melt_ice(x, y)
^
zap.c:3304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
zap_over_floor(x, y, type, shopdamage)
^
zap.c:3330:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                Norep(msgtxt);
                      ^~~~~~
zap.c:3330:9: note: treat the string as an argument to avoid this
                Norep(msgtxt);
                      ^
                      "%s", 
zap.c:3453:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        pline(see_txt);
                              ^~~~~~~
zap.c:3453:10: note: treat the string as an argument to avoid this
                        pline(see_txt);
                              ^
                              "%s", 
zap.c:3456:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        You(sense_txt);
                            ^~~~~~~~~
zap.c:3456:8: note: treat the string as an argument to avoid this
                        You(sense_txt);
                            ^
                            "%s", 
zap.c:3458:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        if (flags.soundok) You_hear(hear_txt);
                                                    ^~~~~~~~
zap.c:3458:32: note: treat the string as an argument to avoid this
                        if (flags.soundok) You_hear(hear_txt);
                                                    ^
                                                    "%s", 
zap.c:3492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fracture_rock(obj)      /* fractured by pick-axe or wand of striking */
^
zap.c:3515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
break_statue(obj)
^
zap.c:3549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
destroy_item(osym, dmgtyp)
^
zap.c:3670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
destroy_mitem(mtmp, osym, dmgtyp)
^
zap.c:3771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
resist(mtmp, oclass, damage, tell)
^
zap.c:3827:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            pline(thats_enough_tries);
                  ^~~~~~~~~~~~~~~~~~
../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries'
#define thats_enough_tries c_common_strings.c_thats_enough_tries
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zap.c:3827:12: note: treat the string as an argument to avoid this
            pline(thats_enough_tries);
                  ^
                  "%s", 
../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries'
#define thats_enough_tries c_common_strings.c_thats_enough_tries
                           ^
57 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -c ../sys/share/ioctl.c
In file included from ../sys/share/ioctl.c:9:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from ../sys/share/ioctl.c:9:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from ../sys/share/ioctl.c:9:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
../sys/share/ioctl.c:99:9: warning: call to undeclared function 'ioctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    if (ioctl(fileno(stdin), (int)TIOCGWINSZ, (char *)&ttsz) != -1) {
        ^
5 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -c ../sys/unix/unixmain.c
In file included from ../sys/unix/unixmain.c:7:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from ../sys/unix/unixmain.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from ../sys/unix/unixmain.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
../sys/unix/unixmain.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
main(argc,argv)
^
../sys/unix/unixmain.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
process_options(argc, argv)
^
../sys/unix/unixmain.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
chdirx(dir, wr)
^
7 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -c ../sys/share/unixtty.c
In file included from ../sys/share/unixtty.c:12:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from ../sys/share/unixtty.c:12:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from ../sys/share/unixtty.c:12:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
../sys/share/unixtty.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
speednum(speed)
^
../sys/share/unixtty.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
settty(s)
^
6 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -c ../sys/unix/unixunix.c
In file included from ../sys/unix/unixunix.c:7:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from ../sys/unix/unixunix.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from ../sys/unix/unixunix.c:7:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
../sys/unix/unixunix.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gethdate(name)
^
../sys/unix/unixunix.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
veryold(fd)
^
../sys/unix/unixunix.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
regularize(s)   /* normalize file name - we don't like .'s, /'s, spaces */
^
../sys/unix/unixunix.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
child(wt)
^
8 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_def.c
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_gen.c
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_gfl.c
../win/jtp/jtp_gfl.c:55:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    jtp_write_log_message("[jtp_gfl.c/jtp_load_PCX/Error1] Could not open file [");
    ^
../win/jtp/jtp_gfl.c:135:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    jtp_write_log_message("[jtp_gfl.c/jtp_load_PCX/Error1] Could not open file [");
    ^
2 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_gra.c
../win/jtp/jtp_gra.c:37:3: warning: call to undeclared function 'jtp_SDLEnterGraphicsMode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_SDLEnterGraphicsMode(&jtp_screen);
  ^
../win/jtp/jtp_gra.c:50:3: warning: call to undeclared function 'jtp_SDLExitGraphicsMode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_SDLExitGraphicsMode(&jtp_screen);
  ^
../win/jtp/jtp_gra.c:70:3: warning: call to undeclared function 'jtp_SDLRecordColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_SDLRecordColor(cindex, r, g, b);
  ^
../win/jtp/jtp_gra.c:71:3: warning: call to undeclared function 'jtp_SDLSetPalette'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_SDLSetPalette();
  ^
../win/jtp/jtp_gra.c:84:3: warning: call to undeclared function 'jtp_SDLRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_SDLRefresh(&jtp_screen);
  ^
../win/jtp/jtp_gra.c:97:3: warning: call to undeclared function 'jtp_SDLRefreshRegion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_SDLRefreshRegion(x1, y1, x2, y2, &jtp_screen);
  ^
../win/jtp/jtp_gra.c:196:5: warning: call to undeclared function 'jtp_SDLRecordColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    jtp_SDLRecordColor(i, jtp_colors[i][0], jtp_colors[i][1], jtp_colors[i][2]);
    ^
../win/jtp/jtp_gra.c:197:3: warning: call to undeclared function 'jtp_SDLSetPalette'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_SDLSetPalette();   
  ^
../win/jtp/jtp_gra.c:198:3: warning: call to undeclared function 'jtp_SDLProcessEvents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_SDLProcessEvents();
  ^
../win/jtp/jtp_gra.c:221:5: warning: call to undeclared function 'jtp_SDLRecordColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    jtp_SDLRecordColor(i, 0, 0, 0);
    ^
../win/jtp/jtp_gra.c:222:3: warning: call to undeclared function 'jtp_SDLSetPalette'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_SDLSetPalette();
  ^
../win/jtp/jtp_gra.c:223:3: warning: call to undeclared function 'jtp_SDLProcessEvents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_SDLProcessEvents();
  ^
../win/jtp/jtp_gra.c:257:9: warning: call to undeclared function 'jtp_SDLRecordColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        jtp_SDLRecordColor(i, (jtp_colors[i][0]*(n_clocks+start_clock-cur_clock))/n_clocks,
        ^
../win/jtp/jtp_gra.c:260:7: warning: call to undeclared function 'jtp_SDLSetPalette'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      jtp_SDLSetPalette();
      ^
../win/jtp/jtp_gra.c:261:7: warning: call to undeclared function 'jtp_SDLProcessEvents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      jtp_SDLProcessEvents();
      ^
../win/jtp/jtp_gra.c:300:9: warning: call to undeclared function 'jtp_SDLRecordColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        jtp_SDLRecordColor(i, (jtp_colors[i][0]*(cur_clock-start_clock))/n_clocks,
        ^
../win/jtp/jtp_gra.c:303:7: warning: call to undeclared function 'jtp_SDLSetPalette'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      jtp_SDLSetPalette();
      ^
../win/jtp/jtp_gra.c:304:7: warning: call to undeclared function 'jtp_SDLProcessEvents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      jtp_SDLProcessEvents();
      ^
18 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_keys.c
In file included from ../win/jtp/jtp_keys.c:6:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from ../win/jtp/jtp_keys.c:6:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from ../win/jtp/jtp_keys.c:6:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
4 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_mou.c
../win/jtp/jtp_mou.c:94:8: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
       free(m_bg);
       ^
../win/jtp/jtp_mou.c:94:8: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
../win/jtp/jtp_mou.c:156:40: warning: call to undeclared function 'jtp_kbhit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  while ((jtp_mouseb != whenstop) && (!jtp_kbhit()));
                                       ^
../win/jtp/jtp_mou.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_get_mcursor(x1, y1, x2, y2)
^
../win/jtp/jtp_mou.c:191:49: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_mouse_cursor *temp1 = (jtp_mouse_cursor *)malloc(sizeof(jtp_mouse_cursor));
                                                ^
../win/jtp/jtp_mou.c:191:49: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
4 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_sdl.c
In file included from ../win/jtp/jtp_sdl.c:27:
In file included from ../include/jtp_win.h:8:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from ../win/jtp/jtp_sdl.c:27:
In file included from ../include/jtp_win.h:8:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from ../win/jtp/jtp_sdl.c:27:
In file included from ../include/jtp_win.h:8:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
../win/jtp/jtp_sdl.c:394:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else jtp_sdl_mouseb = JTP_MBUTTON_RIGHT;
        ^
../win/jtp/jtp_sdl.c:966:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  jtp_SDLPlaySound(nbytes, samples);
                           ^~~~~~~
../win/jtp/jtp_sdl.c:162:19: note: passing argument to parameter 'samples' here
  unsigned char * samples
                  ^
6 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_txt.c
../win/jtp/jtp_txt.c:40:63: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
  unsigned char   line3[]  = "0123456789.,:;\'\"?!()[]/\\#%+-=<84><8E><94><99> _*$\0";
                                                              ^~~~~~~~~~~~~~~~
1 warning generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_win.c
In file included from ../win/jtp/jtp_win.c:16:
In file included from ../include/jtp_win.h:8:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from ../win/jtp/jtp_win.c:16:
In file included from ../include/jtp_win.h:8:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from ../win/jtp/jtp_win.c:16:
In file included from ../include/jtp_win.h:8:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
../win/jtp/jtp_win.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_find_window(window)
^
../win/jtp/jtp_win.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_map_to_screen(map_x, map_y, screen_x, screen_y)
^
../win/jtp/jtp_win.c:714:23: warning: call to undeclared library function 'tolower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    cur_accelerator = tolower(description[k]);
                      ^
../win/jtp/jtp_win.c:714:23: note: include the header <ctype.h> or explicitly provide a declaration for 'tolower'
../win/jtp/jtp_win.c:720:25: warning: call to undeclared library function 'toupper' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      cur_accelerator = toupper(description[k]);
                        ^
../win/jtp/jtp_win.c:720:25: note: include the header <ctype.h> or explicitly provide a declaration for 'toupper'
../win/jtp/jtp_win.c:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_show_ending(tempwindow)
^
../win/jtp/jtp_win.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_is_onscreen(x, y)
^
../win/jtp/jtp_win.c:1024:18: warning: call to undeclared function 'jtp_cmap_to_tile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      cur_tile = jtp_cmap_to_tile(cur_glyph);
                 ^
../win/jtp/jtp_win.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_find_path(row1, col1, row2, col2)
^
../win/jtp/jtp_win.c:1216:18: warning: call to undeclared function 'jtp_cmap_to_tile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      cur_tile = jtp_cmap_to_tile(cur_glyph);
                 ^
../win/jtp/jtp_win.c:1592:10: warning: call to undeclared function 'jtp_do_lookat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    pm = jtp_do_lookat(tgt_x, tgt_y, look_buf, monbuf);
         ^
../win/jtp/jtp_win.c:1592:8: warning: incompatible integer to pointer conversion assigning to 'struct permonst *' from 'int' [-Wint-conversion]
    pm = jtp_do_lookat(tgt_x, tgt_y, look_buf, monbuf);
       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../win/jtp/jtp_win.c:1727:16: warning: call to undeclared function 'jtp_cmap_to_tile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    cur_tile = jtp_cmap_to_tile(jtp_mapglyph_cmap[tgt_y][tgt_x]);
               ^
../win/jtp/jtp_win.c:5779:20: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      temp_tooltip = jtp_choose_target_tooltip(j, i);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../win/jtp/jtp_win.c:5786:47: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        (map_hotspots[n_hotspots-1])->tooltip = temp_tooltip;
                                              ^ ~~~~~~~~~~~~
../win/jtp/jtp_win.c:5945:95: warning: left operand of comma operator has no effect [-Wunused-value]
                      2*(jtp_screen.height-JTP_INTRO_SLIDE_HEIGHT)/6 + JTP_INTRO_SLIDE_HEIGHT +
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
../win/jtp/jtp_win.c:6031:9: warning: call to undeclared function 'bail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        bail((char *)0);
        ^
../win/jtp/jtp_win.c:6097:11: warning: call to undeclared function 'bail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
          bail((char *)0);
          ^
../win/jtp/jtp_win.c:6167:11: warning: call to undeclared function 'bail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
          bail((char *)0);
          ^
../win/jtp/jtp_win.c:6239:11: warning: call to undeclared function 'bail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
          bail((char *)0);
          ^
../win/jtp/jtp_win.c:6399:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
../win/jtp/jtp_win.c:7405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_whatis_mouseclick(tx, ty)
^
In file included from ../win/jtp/jtp_win.c:16:
../include/jtp_win.h:231:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char        jtp_whatis_mouseclick();
                   ^
../win/jtp/jtp_win.c:7620:5: warning: call to undeclared function 'bail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    bail((char *)0);
    ^
../win/jtp/jtp_win.c:7797:37: warning: format string contains '\0' within the string body [-Wformat]
          sprintf(tempbuffer,"%s%s%s\0", jtp_game_path, JTP_SOUND_DIRECTORY, (jtp_event_sounds[jtp_n_event_sounds-1])->filename);
                             ~~~~~~~^~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
../win/jtp/jtp_win.c:8142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_get_menu_coordinates(menuwindow)
^
../win/jtp/jtp_win.c:8297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_get_menu_selection(menuwindow)
^
30 warnings generated.
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_SDL_SYSCALLS -c ../win/jtp/winjtp.c
In file included from ../win/jtp/winjtp.c:6:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from ../win/jtp/winjtp.c:6:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from ../win/jtp/winjtp.c:6:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
../win/jtp/winjtp.c:81:3: warning: call to undeclared function 'jtp_init_graphics'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_init_graphics();
  ^
../win/jtp/winjtp.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_outrip(window, how)
^
../win/jtp/winjtp.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bail(mesg)
^
../win/jtp/winjtp.c:123:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void jtp_raw_print(str)
     ^
../win/jtp/winjtp.c:126:3: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_write_log_message("[NetHack]: ");
  ^
../win/jtp/winjtp.c:132:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void jtp_raw_print_bold(str)
     ^
../win/jtp/winjtp.c:135:3: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_write_log_message("[NetHack]: ");
  ^
../win/jtp/winjtp.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_curs(window, x, y)
^
../win/jtp/winjtp.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_putstr(window, attr, str)
^
../win/jtp/winjtp.c:184:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    jtp_write_log_message("ERROR: can't find window!\n");
    ^
../win/jtp/winjtp.c:403:18: warning: call to undeclared function 'jtp_getch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    result_key = jtp_getch();
                 ^
../win/jtp/winjtp.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_nh_poskey(x, y, mod)
^
../win/jtp/winjtp.c:454:41: warning: passing arguments to 'jtp_whatis_mouseclick' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      result_key = jtp_whatis_mouseclick(&i, &j);
                                        ^
../win/jtp/winjtp.c:465:11: warning: call to undeclared function 'jtp_kbhit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      if (jtp_kbhit())
          ^
../win/jtp/winjtp.c:467:22: warning: call to undeclared function 'jtp_getch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        result_key = jtp_getch();
                     ^
../win/jtp/winjtp.c:500:9: warning: call to undeclared function 'jtp_kbhit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    if (jtp_kbhit())
        ^
../win/jtp/winjtp.c:521:9: warning: call to undeclared function 'jtp_show_wait_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        jtp_show_wait_cursor();
        ^
../win/jtp/winjtp.c:578:22: warning: call to undeclared function 'jtp_getch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        result_key = jtp_getch();
                     ^
../win/jtp/winjtp.c:585:13: warning: call to undeclared function 'jtp_save_screenshot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            jtp_save_screenshot("scree000.pcx"); 
            ^
../win/jtp/winjtp.c:606:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
../win/jtp/winjtp.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_print_glyph(window, x, y, glyph)
^
../win/jtp/winjtp.c:660:33: warning: more '%' conversions than data arguments [-Wformat-insufficient-args]
        printf("Printed effect %d\n");
                               ~^
../win/jtp/winjtp.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_yn_function(ques, choices, defchoice)
^
../win/jtp/winjtp.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_getlin(ques, input)
^
../win/jtp/winjtp.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_display_file(fname, complain)
^
../win/jtp/winjtp.c:871:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      jtp_write_log_message("ERROR: Out of memory! - location 31\n");
      ^
../win/jtp/winjtp.c:878:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      jtp_write_log_message("ERROR: Out of memory! - location 32\n");
      ^
../win/jtp/winjtp.c:913:3: warning: call to undeclared function 'jtp_select_player'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  jtp_select_player();
  ^
../win/jtp/winjtp.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_init_nhwindows(argcp, argv)
^
../win/jtp/winjtp.c:951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_exit_nhwindows(str)
^
../win/jtp/winjtp.c:961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_create_nhwindow(type)
^
../win/jtp/winjtp.c:970:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    jtp_write_log_message("ERROR: Out of memory! - location 1\n");
    ^
../win/jtp/winjtp.c:1070:9: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        jtp_write_log_message("ERROR: Out of memory! - location 2\n");
        ^
../win/jtp/winjtp.c:1078:11: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
          jtp_write_log_message("ERROR: Out of memory! - location 3\n");
          ^
../win/jtp/winjtp.c:1104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_clear_nhwindow(window)
^
../win/jtp/winjtp.c:1134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_display_nhwindow(window, blocking)
^
../win/jtp/winjtp.c:1147:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    jtp_write_log_message("ERROR: Invalid window!\n");
    ^
../win/jtp/winjtp.c:1219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_destroy_nhwindow(window)
^
../win/jtp/winjtp.c:1245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_start_menu(window)
^
../win/jtp/winjtp.c:1261:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    jtp_write_log_message("ERROR: Out of memory! - location 4\n");
    ^
../win/jtp/winjtp.c:1271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_add_menu(window, glyph, identifier, accelerator, groupacc, attr, str, preselected)
^
../win/jtp/winjtp.c:1300:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    jtp_write_log_message("ERROR: Out of memory! - location 5\n");
    ^
../win/jtp/winjtp.c:1323:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    jtp_write_log_message("ERROR: Out of memory! - location 6\n");
    ^
../win/jtp/winjtp.c:1338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_end_menu(window, prompt)
^
../win/jtp/winjtp.c:1359:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      jtp_write_log_message("ERROR: Out of memory! - location 7\n");
      ^
../win/jtp/winjtp.c:1378:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      jtp_write_log_message("ERROR: Out of memory! - location 8\n");
      ^
../win/jtp/winjtp.c:1385:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      jtp_write_log_message("ERROR: Out of memory! - location 9\n");
      ^
../win/jtp/winjtp.c:1401:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      jtp_write_log_message("ERROR: Out of memory! - location 8\n");
      ^
../win/jtp/winjtp.c:1408:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      jtp_write_log_message("ERROR: Out of memory! - location 9\n");
      ^
../win/jtp/winjtp.c:1422:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      jtp_write_log_message("ERROR: Out of memory! - location 10\n");
      ^
../win/jtp/winjtp.c:1429:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      jtp_write_log_message("ERROR: Out of memory! - location 11\n");
      ^
../win/jtp/winjtp.c:1457:30: warning: call to undeclared function 'jtp_find_menu_accelerator'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
          temp_accelerator = jtp_find_menu_accelerator(tempmenuitem->text, used_accelerators);
                             ^
../win/jtp/winjtp.c:1488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_select_menu(window, how, menu_list)
^
../win/jtp/winjtp.c:1499:5: warning: call to undeclared function 'jtp_view_inventory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    jtp_view_inventory();
    ^
../win/jtp/winjtp.c:1557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_suspend_nhwindows(str)
^
../win/jtp/winjtp.c:1572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_message_menu(let, how, mesg)
^
../win/jtp/winjtp.c:1578:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
../win/jtp/winjtp.c:1591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_cliparound(x, y)
^
../win/jtp/winjtp.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_update_positionbar(features)
^
../win/jtp/winjtp.c:1609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jtp_number_pad(state)
^
64 warnings generated.
../util/makedefs -v
clang -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -I/opt/pkg/include/SDL -I/opt/pkg/include -c version.c
In file included from version.c:5:
In file included from ../include/hack.h:9:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from version.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from version.c:5:
In file included from ../include/hack.h:9:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
version.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getversionstring(buf)
^
version.c:30:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        pline(getversionstring(buf));
              ^~~~~~~~~~~~~~~~~~~~~
version.c:30:8: note: treat the string as an argument to avoid this
        pline(getversionstring(buf));
              ^
              "%s", 
version.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_version(version_data, filename, complain)
^
version.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
uptodate(fd, name)
^
version.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
store_version(fd)
^
version.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_feature_notice_ver(str)
^
10 warnings generated.
Loading ...
`nethack' is up to date.
( cd doc ; /opt/pkg/bin/bmake Guidebook )
tbl tmac.n Guidebook.mn | nroff | col -bx > Guidebook
/opt/pkg/bin/mksh: tbl: inaccessible or not found
/opt/pkg/bin/mksh: nroff: inaccessible or not found
( cd dat ; /opt/pkg/bin/bmake data )
../util/makedefs -d
( cd dat ; /opt/pkg/bin/bmake oracles )
../util/makedefs -h
( cd dat ; /opt/pkg/bin/bmake options )
`options' is up to date.
( cd dat ; /opt/pkg/bin/bmake quest.dat )
../util/makedefs -q
( cd dat ; /opt/pkg/bin/bmake rumors )
../util/makedefs -r
( cd util ; /opt/pkg/bin/bmake dgn_comp )
/opt/pkg/bin/bison -y  -d dgn_comp.y
mv y.tab.c dgn_yacc.c
mv y.tab.h ../include/dgn_comp.h
`../include/date.h' is up to date.
clang -O -I../include -I/opt/pkg/include/SDL -I/opt/pkg/include -c dgn_yacc.c
In file included from dgn_comp.y:25:
../include/config.h:190:41: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
                                        ^
../include/config.h:191:37: warning: '/*' within block comment [-Wcomment]
/* #define COMPRESS_EXTENSION ".Z"              /* compress's extension */
                                                ^
In file included from dgn_comp.y:25:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E void srand48();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:237:7: note: conflicting prototype is here
void     srand48(long);
         ^
In file included from dgn_comp.y:25:
In file included from ../include/config.h:361:
In file included from ../include/global.h:150:
In file included from ../include/unixconf.h:271:
../include/system.h:344:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
E unsigned sleep();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here
         sleep(unsigned int) __DARWIN_ALIAS_C(sleep);
         ^
dgn_comp.y:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getchain(s)
^
5 warnings generated.
lex  dgn_comp.l
*** Error code 1

Stop.
bmake[1]: stopped in /Users/pbulk/build/games/falcons-eye/work/util
*** Error code 1

Stop.
bmake: stopped in /Users/pbulk/build/games/falcons-eye/work
*** Error code 1

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/games/falcons-eye
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/games/falcons-eye