D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/nethack-3.6.7-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GWukDv Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eqXkhB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build + rm -rf NetHack-3.6.7 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/nethack-367-src.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd NetHack-3.6.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/nethack-3.6.2-makefile.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/nethack-3.6.2-config.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Makefile.top.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/nethack-3.6.6-guidebook.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/modern_c.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i -e 's:PREFIX=$(wildcard ~)/nh/install:PREFIX=/usr:' sys/unix/hints/linux + sed -i -e 's:^\(HACKDIR=\).*:\1/usr/games/nethack:' sys/unix/hints/linux + sh sys/unix/setup.sh sys/unix/hints/linux + sed -i -e 's:^\(HACKDIR=\).*:\1/usr/games/nethack:' sys/unix/nethack.sh + sed -i -e s:FEDORA_CONFDIR:/usr/games/nethack: sys/unix/nethack.sh + sed -i -e s:FEDORA_STATEDIR:/var/games/nethack: include/unixconf.h + sed -i -e s:FEDORA_HACKDIR:/usr/games/nethack: include/config.h + sed -i -e s:/usr/games/lib/nethackdir:/usr/games/nethack: doc/nethack.6 doc/nethack.txt doc/recover.6 doc/recover.txt + sed -i -e s:-L/usr/X11R6/lib:-L/usr/X11R6/lib64: src/Makefile util/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YxIEUk + umask 022 + cd /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd NetHack-3.6.7 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make all ( cd src ; make ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' touch ../src/config.h-t gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c monst.c In file included from monst.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c objects.c In file included from objects.c:35: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o makedefs.o makedefs.c In file included from makedefs.c:10: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition makedefs.c: In function 'main': makedefs.c:267:1: warning: old-style function definition [-Wold-style-definition] 267 | main(argc, argv) | ^~~~ makedefs.c: In function 'do_makedefs': makedefs.c:314:1: warning: old-style function definition [-Wold-style-definition] 314 | do_makedefs(options) | ^~~~~~~~~~~ makedefs.c: In function 'name_file': makedefs.c:405:1: warning: old-style function definition [-Wold-style-definition] 405 | name_file(template, tag) | ^~~~~~~~~ makedefs.c: In function 'delete_file': makedefs.c:414:1: warning: old-style function definition [-Wold-style-definition] 414 | delete_file(template, tag) | ^~~~~~~~~~~ makedefs.c: In function 'getfp': makedefs.c:424:1: warning: old-style function definition [-Wold-style-definition] 424 | getfp(template, tag, mode) | ^~~~~ makedefs.c: In function 'grepsearch': makedefs.c:663:1: warning: old-style function definition [-Wold-style-definition] 663 | grepsearch(name) | ^~~~~~~~~~ makedefs.c: In function 'grep_check_id': makedefs.c:678:1: warning: old-style function definition [-Wold-style-definition] 678 | grep_check_id(id) | ^~~~~~~~~~~~~ makedefs.c: In function 'grep_show_wstack': makedefs.c:708:1: warning: old-style function definition [-Wold-style-definition] 708 | grep_show_wstack(tag) | ^~~~~~~~~~~~~~~~ makedefs.c: In function 'do_grep_control': makedefs.c:724:1: warning: old-style function definition [-Wold-style-definition] 724 | do_grep_control(buf) | ^~~~~~~~~~~~~~~ makedefs.c: In function 'grep0': makedefs.c:827:1: warning: old-style function definition [-Wold-style-definition] 827 | grep0(inputfp0, outputfp0) | ^~~~~ makedefs.c: In function 'xcrypt': makedefs.c:885:1: warning: old-style function definition [-Wold-style-definition] 885 | xcrypt(str) | ^~~~~~ makedefs.c: In function 'read_rumors_file': makedefs.c:907:1: warning: old-style function definition [-Wold-style-definition] 907 | read_rumors_file(file_ext, rumor_count, rumor_size, old_rumor_offset) | ^~~~~~~~~~~~~~~~ makedefs.c: In function 'do_rnd_access_file': makedefs.c:968:1: warning: old-style function definition [-Wold-style-definition] 968 | do_rnd_access_file(fname, deflt_content) | ^~~~~~~~~~~~~~~~~~ makedefs.c: In function 'version_string': makedefs.c:1205:1: warning: old-style function definition [-Wold-style-definition] 1205 | version_string(outbuf, delim) | ^~~~~~~~~~~~~~ makedefs.c: In function 'version_id_string': makedefs.c:1218:1: warning: old-style function definition [-Wold-style-definition] 1218 | version_id_string(outbuf, build_date) | ^~~~~~~~~~~~~~~~~ makedefs.c: In function 'bannerc_string': makedefs.c:1252:1: warning: old-style function definition [-Wold-style-definition] 1252 | bannerc_string(outbuf, build_date) | ^~~~~~~~~~~~~~ makedefs.c: In function 'get_gitinfo': makedefs.c:1447:1: warning: old-style function definition [-Wold-style-definition] 1447 | get_gitinfo(githash, gitbranch) | ^~~~~~~~~~~ makedefs.c: In function 'case_insensitive_comp': makedefs.c:1506:1: warning: old-style function definition [-Wold-style-definition] 1506 | case_insensitive_comp(s1, s2) | ^~~~~~~~~~~~~~~~~~~~~ makedefs.c: In function 'opt_out_words': makedefs.c:1822:1: warning: old-style function definition [-Wold-style-definition] 1822 | opt_out_words(str, length_p) | ^~~~~~~~~~~~~ makedefs.c: In function 'd_filter': makedefs.c:1926:1: warning: old-style function definition [-Wold-style-definition] 1926 | d_filter(line) | ^~~~~~~~ makedefs.c: In function 'h_filter': makedefs.c:2072:1: warning: old-style function definition [-Wold-style-definition] 2072 | h_filter(line) | ^~~~~~~~ makedefs.c: In function 'qt_comment': makedefs.c:2435:1: warning: old-style function definition [-Wold-style-definition] 2435 | qt_comment(s) | ^~~~~~~~~~ makedefs.c: In function 'qt_control': makedefs.c:2444:1: warning: old-style function definition [-Wold-style-definition] 2444 | qt_control(s) | ^~~~~~~~~~ makedefs.c: In function 'get_hdr': makedefs.c:2451:1: warning: old-style function definition [-Wold-style-definition] 2451 | get_hdr(code) | ^~~~~~~ makedefs.c: In function 'new_id': makedefs.c:2464:1: warning: old-style function definition [-Wold-style-definition] 2464 | new_id(code) | ^~~~~~ makedefs.c: In function 'known_msg': makedefs.c:2479:1: warning: old-style function definition [-Wold-style-definition] 2479 | known_msg(num, id) | ^~~~~~~~~ makedefs.c: In function 'new_msg': makedefs.c:2492:1: warning: old-style function definition [-Wold-style-definition] 2492 | new_msg(s, num, id) | ^~~~~~~ makedefs.c: In function 'valid_qt_summary': makedefs.c:2513:1: warning: old-style function definition [-Wold-style-definition] 2513 | valid_qt_summary(s, parsing) | ^~~~~~~~~~~~~~~~ makedefs.c: In function 'do_qt_control': makedefs.c:2563:1: warning: old-style function definition [-Wold-style-definition] 2563 | do_qt_control(s) | ^~~~~~~~~~~~~ makedefs.c: In function 'do_qt_text': makedefs.c:2611:1: warning: old-style function definition [-Wold-style-definition] 2611 | do_qt_text(s) | ^~~~~~~~~~ makedefs.c: In function 'limit': makedefs.c:2769:14: warning: old-style function definition [-Wold-style-definition] 2769 | static char *limit(name, pref) /* limit a name to 30 characters length */ | ^~~~~ makedefs.c: In function 'fgetline': makedefs.c:2916:1: warning: old-style function definition [-Wold-style-definition] 2916 | fgetline(fd) | ^~~~~~~~ makedefs.c: In function 'tmpdup': makedefs.c:2940:1: warning: old-style function definition [-Wold-style-definition] 2940 | tmpdup(str) | ^~~~~~ makedefs.c: In function 'eos': makedefs.c:2952:1: warning: old-style function definition [-Wold-style-definition] 2952 | eos(str) | ^~~ gcc -L/usr/X11R6/lib64 -o makedefs makedefs.o ../src/monst.o ../src/objects.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' ./makedefs -o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' ./makedefs -p make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' touch ../src/hack.h-t gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o allmain.o allmain.c In file included from ../include/hack.h:10, from allmain.c:8: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition allmain.c: In function 'moveloop': allmain.c:23:1: warning: old-style function definition [-Wold-style-definition] 23 | moveloop(resuming) | ^~~~~~~~ allmain.c: In function 'regen_hp': allmain.c:458:1: warning: old-style function definition [-Wold-style-definition] 458 | regen_hp(wtcap) | ^~~~~~~~ allmain.c: In function 'welcome': allmain.c:651:1: warning: old-style function definition [-Wold-style-definition] 651 | welcome(new_game) | ^~~~~~~ allmain.c: In function 'interrupt_multi': allmain.c:744:1: warning: old-style function definition [-Wold-style-definition] 744 | interrupt_multi(msg) | ^~~~~~~~~~~~~~~ allmain.c: In function 'argcheck': allmain.c:788:1: warning: old-style function definition [-Wold-style-definition] 788 | argcheck(argc, argv, e_arg) | ^~~~~~~~ allmain.c: In function 'debug_fields': allmain.c:880:1: warning: old-style function definition [-Wold-style-definition] 880 | debug_fields(opts) | ^~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o alloc.o alloc.c In file included from alloc.c:11: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition alloc.c: In function 'alloc': alloc.c:29:1: warning: old-style function definition [-Wold-style-definition] 29 | alloc(lth) | ^~~~~ alloc.c: In function 'fmt_ptr': alloc.c:79:1: warning: old-style function definition [-Wold-style-definition] 79 | fmt_ptr(ptr) | ^~~~~~~ alloc.c: In function 'dupstr': alloc.c:159:1: warning: old-style function definition [-Wold-style-definition] 159 | dupstr(string) | ^~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o apply.o apply.c In file included from ../include/hack.h:10, from apply.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition apply.c: In function 'use_camera': apply.c:54:1: warning: old-style function definition [-Wold-style-definition] 54 | use_camera(obj) | ^~~~~~~~~~ apply.c: In function 'use_towel': apply.c:92:1: warning: old-style function definition [-Wold-style-definition] 92 | use_towel(obj) | ^~~~~~~~~ apply.c: In function 'its_dead': apply.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | its_dead(rx, ry, resp) | ^~~~~~~~ apply.c: In function 'use_stethoscope': apply.c:301:1: warning: old-style function definition [-Wold-style-definition] 301 | use_stethoscope(obj) | ^~~~~~~~~~~~~~~ apply.c: In function 'use_whistle': apply.c:456:1: warning: old-style function definition [-Wold-style-definition] 456 | use_whistle(obj) | ^~~~~~~~~~~ apply.c: In function 'use_magic_whistle': apply.c:475:1: warning: old-style function definition [-Wold-style-definition] 475 | use_magic_whistle(obj) | ^~~~~~~~~~~~~~~~~ apply.c: In function 'um_dist': apply.c:529:1: warning: old-style function definition [-Wold-style-definition] 529 | um_dist(x, y, n) | ^~~~~~~ apply.c: In function 'o_unleash': apply.c:549:1: warning: old-style function definition [-Wold-style-definition] 549 | o_unleash(otmp) | ^~~~~~~~~ apply.c: In function 'm_unleash': apply.c:562:1: warning: old-style function definition [-Wold-style-definition] 562 | m_unleash(mtmp, feedback) | ^~~~~~~~~ apply.c: In function 'leashable': apply.c:599:1: warning: old-style function definition [-Wold-style-definition] 599 | leashable(mtmp) | ^~~~~~~~~ apply.c: In function 'use_leash': apply.c:609:1: warning: old-style function definition [-Wold-style-definition] 609 | use_leash(obj) | ^~~~~~~~~ apply.c: In function 'get_mleash': apply.c:710:1: warning: old-style function definition [-Wold-style-definition] 710 | get_mleash(mtmp) | ^~~~~~~~~~ apply.c: In function 'check_leash': apply.c:757:1: warning: old-style function definition [-Wold-style-definition] 757 | check_leash(x, y) | ^~~~~~~~~~~ apply.c: In function 'use_mirror': apply.c:838:1: warning: old-style function definition [-Wold-style-definition] 838 | use_mirror(obj) | ^~~~~~~~~~ apply.c: In function 'use_bell': apply.c:1011:1: warning: old-style function definition [-Wold-style-definition] 1011 | use_bell(optr) | ^~~~~~~~ apply.c: In function 'use_candelabrum': apply.c:1143:1: warning: old-style function definition [-Wold-style-definition] 1143 | use_candelabrum(obj) | ^~~~~~~~~~~~~~~ apply.c: In function 'use_candle': apply.c:1196:1: warning: old-style function definition [-Wold-style-definition] 1196 | use_candle(optr) | ^~~~~~~~~~ apply.c: In function 'snuff_candle': apply.c:1268:1: warning: old-style function definition [-Wold-style-definition] 1268 | snuff_candle(otmp) | ^~~~~~~~~~~~ apply.c: In function 'snuff_lit': apply.c:1294:1: warning: old-style function definition [-Wold-style-definition] 1294 | snuff_lit(obj) | ^~~~~~~~~ apply.c: In function 'catch_lit': apply.c:1317:1: warning: old-style function definition [-Wold-style-definition] 1317 | catch_lit(obj) | ^~~~~~~~~ apply.c: In function 'use_lamp': apply.c:1353:1: warning: old-style function definition [-Wold-style-definition] 1353 | use_lamp(obj) | ^~~~~~~~ apply.c: In function 'light_cocktail': apply.c:1406:1: warning: old-style function definition [-Wold-style-definition] 1406 | light_cocktail(optr) | ^~~~~~~~~~~~~~ apply.c: In function 'check_jump': apply.c:1529:1: warning: old-style function definition [-Wold-style-definition] 1529 | check_jump(arg, x, y) | ^~~~~~~~~~ apply.c: In function 'is_valid_jump_pos': apply.c:1562:1: warning: old-style function definition [-Wold-style-definition] 1562 | is_valid_jump_pos(x, y, magic, showmsg) | ^~~~~~~~~~~~~~~~~ apply.c: In function 'get_valid_jump_position': apply.c:1632:1: warning: old-style function definition [-Wold-style-definition] 1632 | get_valid_jump_position(x,y) | ^~~~~~~~~~~~~~~~~~~~~~~ apply.c: In function 'display_jump_positions': apply.c:1641:1: warning: old-style function definition [-Wold-style-definition] 1641 | display_jump_positions(state) | ^~~~~~~~~~~~~~~~~~~~~~ apply.c: In function 'jump': apply.c:1662:1: warning: old-style function definition [-Wold-style-definition] 1662 | jump(magic) | ^~~~ apply.c: In function 'tinnable': apply.c:1827:1: warning: old-style function definition [-Wold-style-definition] 1827 | tinnable(corpse) | ^~~~~~~~ apply.c: In function 'use_tinning_kit': apply.c:1838:1: warning: old-style function definition [-Wold-style-definition] 1838 | use_tinning_kit(obj) | ^~~~~~~~~~~~~~~ apply.c: In function 'use_unicorn_horn': apply.c:1910:1: warning: old-style function definition [-Wold-style-definition] 1910 | use_unicorn_horn(obj) | ^~~~~~~~~~~~~~~~ apply.c: In function 'fig_transform': apply.c:2100:1: warning: old-style function definition [-Wold-style-definition] 2100 | fig_transform(arg, timeout) | ^~~~~~~~~~~~~ apply.c: In function 'figurine_location_checks': apply.c:2214:1: warning: old-style function definition [-Wold-style-definition] 2214 | figurine_location_checks(obj, cc, quietly) | ^~~~~~~~~~~~~~~~~~~~~~~~ apply.c: In function 'use_figurine': apply.c:2250:1: warning: old-style function definition [-Wold-style-definition] 2250 | use_figurine(optr) | ^~~~~~~~~~~~ apply.c: In function 'use_grease': apply.c:2292:1: warning: old-style function definition [-Wold-style-definition] 2292 | use_grease(obj) | ^~~~~~~~~~ apply.c: In function 'use_stone': apply.c:2346:1: warning: old-style function definition [-Wold-style-definition] 2346 | use_stone(tstone) | ^~~~~~~~~ apply.c: In function 'use_trap': apply.c:2497:1: warning: old-style function definition [-Wold-style-definition] 2497 | use_trap(otmp) | ^~~~~~~~ apply.c: In function 'use_whip': apply.c:2638:1: warning: old-style function definition [-Wold-style-definition] 2638 | use_whip(obj) | ^~~~~~~~ apply.c: In function 'find_poleable_mon': apply.c:2911:1: warning: old-style function definition [-Wold-style-definition] 2911 | find_poleable_mon(pos, min_range, max_range) | ^~~~~~~~~~~~~~~~~ apply.c: In function 'get_valid_polearm_position': apply.c:2958:1: warning: old-style function definition [-Wold-style-definition] 2958 | get_valid_polearm_position(x, y) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c: In function 'display_polearm_positions': apply.c:2967:1: warning: old-style function definition [-Wold-style-definition] 2967 | display_polearm_positions(state) | ^~~~~~~~~~~~~~~~~~~~~~~~~ apply.c: In function 'use_pole': apply.c:2990:1: warning: old-style function definition [-Wold-style-definition] 2990 | use_pole(obj) | ^~~~~~~~ apply.c: In function 'use_cream_pie': apply.c:3107:1: warning: old-style function definition [-Wold-style-definition] 3107 | use_cream_pie(obj) | ^~~~~~~~~~~~~ apply.c: In function 'use_grapple': apply.c:3145:1: warning: old-style function definition [-Wold-style-definition] 3145 | use_grapple(obj) | ^~~~~~~~~~~ apply.c: In function 'do_break_wand': apply.c:3295:1: warning: old-style function definition [-Wold-style-definition] 3295 | do_break_wand(obj) | ^~~~~~~~~~~~~ apply.c: In function 'add_class': apply.c:3520:1: warning: old-style function definition [-Wold-style-definition] 3520 | add_class(cl, class) | ^~~~~~~~~ apply.c: In function 'setapplyclasses': apply.c:3535:1: warning: old-style function definition [-Wold-style-definition] 3535 | setapplyclasses(class_list) | ^~~~~~~~~~~~~~~ apply.c: In function 'unfixable_trouble_count': apply.c:3771:1: warning: old-style function definition [-Wold-style-definition] 3771 | unfixable_trouble_count(is_horn) | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o artifact.o artifact.c In file included from ../include/hack.h:10, from artifact.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition artifact.c: In function 'save_artifacts': artifact.c:89:1: warning: old-style function definition [-Wold-style-definition] 89 | save_artifacts(fd) | ^~~~~~~~~~~~~~ artifact.c: In function 'restore_artifacts': artifact.c:97:1: warning: old-style function definition [-Wold-style-definition] 97 | restore_artifacts(fd) | ^~~~~~~~~~~~~~~~~ artifact.c: In function 'artiname': artifact.c:106:1: warning: old-style function definition [-Wold-style-definition] 106 | artiname(artinum) | ^~~~~~~~ artifact.c: In function 'mk_artifact': artifact.c:126:1: warning: old-style function definition [-Wold-style-definition] 126 | mk_artifact(otmp, alignment) | ^~~~~~~~~~~ artifact.c: In function 'artifact_name': artifact.c:219:1: warning: old-style function definition [-Wold-style-definition] 219 | artifact_name(name, otyp) | ^~~~~~~~~~~~~ artifact.c: In function 'exist_artifact': artifact.c:243:1: warning: old-style function definition [-Wold-style-definition] 243 | exist_artifact(otyp, name) | ^~~~~~~~~~~~~~ artifact.c: In function 'artifact_exists': artifact.c:258:1: warning: old-style function definition [-Wold-style-definition] 258 | artifact_exists(otmp, name, mod) | ^~~~~~~~~~~~~~~ artifact.c: In function 'spec_ability': artifact.c:293:1: warning: old-style function definition [-Wold-style-definition] 293 | spec_ability(otmp, abil) | ^~~~~~~~~~~~ artifact.c: In function 'confers_luck': artifact.c:304:1: warning: old-style function definition [-Wold-style-definition] 304 | confers_luck(obj) | ^~~~~~~~~~~~ artifact.c: In function 'arti_reflects': artifact.c:316:1: warning: old-style function definition [-Wold-style-definition] 316 | arti_reflects(obj) | ^~~~~~~~~~~~~ artifact.c: In function 'shade_glare': artifact.c:335:1: warning: old-style function definition [-Wold-style-definition] 335 | shade_glare(obj) | ^~~~~~~~~~~ artifact.c: In function 'restrict_name': artifact.c:355:1: warning: old-style function definition [-Wold-style-definition] 355 | restrict_name(otmp, name) | ^~~~~~~~~~~~~ artifact.c: In function 'attacks': artifact.c:408:1: warning: old-style function definition [-Wold-style-definition] 408 | attacks(adtyp, otmp) | ^~~~~~~ artifact.c: In function 'defends': artifact.c:420:1: warning: old-style function definition [-Wold-style-definition] 420 | defends(adtyp, otmp) | ^~~~~~~ artifact.c: In function 'defends_when_carried': artifact.c:433:1: warning: old-style function definition [-Wold-style-definition] 433 | defends_when_carried(adtyp, otmp) | ^~~~~~~~~~~~~~~~~~~~ artifact.c: In function 'protects': artifact.c:446:1: warning: old-style function definition [-Wold-style-definition] 446 | protects(otmp, being_worn) | ^~~~~~~~ artifact.c: In function 'set_artifact_intrinsic': artifact.c:466:1: warning: old-style function definition [-Wold-style-definition] 466 | set_artifact_intrinsic(otmp, on, wp_mask) | ^~~~~~~~~~~~~~~~~~~~~~ artifact.c: In function 'touch_artifact': artifact.c:648:1: warning: old-style function definition [-Wold-style-definition] 648 | touch_artifact(obj, mon) | ^~~~~~~~~~~~~~ artifact.c: In function 'arti_immune': artifact.c:721:1: warning: old-style function definition [-Wold-style-definition] 721 | arti_immune(obj, dtyp) | ^~~~~~~~~~~ artifact.c: In function 'bane_applies': artifact.c:737:1: warning: old-style function definition [-Wold-style-definition] 737 | bane_applies(oart, mon) | ^~~~~~~~~~~~ artifact.c: In function 'spec_applies': artifact.c:754:1: warning: old-style function definition [-Wold-style-definition] 754 | spec_applies(weap, mtmp) | ^~~~~~~~~~~~ artifact.c: In function 'spec_m2': artifact.c:814:1: warning: old-style function definition [-Wold-style-definition] 814 | spec_m2(otmp) | ^~~~~~~ artifact.c: In function 'spec_abon': artifact.c:826:1: warning: old-style function definition [-Wold-style-definition] 826 | spec_abon(otmp, mon) | ^~~~~~~~~ artifact.c: In function 'spec_dbon': artifact.c:842:1: warning: old-style function definition [-Wold-style-definition] 842 | spec_dbon(otmp, mon, tmp) | ^~~~~~~~~ artifact.c: In function 'discover_artifact': artifact.c:866:1: warning: old-style function definition [-Wold-style-definition] 866 | discover_artifact(m) | ^~~~~~~~~~~~~~~~~ artifact.c: In function 'undiscovered_artifact': artifact.c:885:1: warning: old-style function definition [-Wold-style-definition] 885 | undiscovered_artifact(m) | ^~~~~~~~~~~~~~~~~~~~~ artifact.c: In function 'disp_artifact_discoveries': artifact.c:902:1: warning: old-style function definition [-Wold-style-definition] 902 | disp_artifact_discoveries(tmpwin) | ^~~~~~~~~~~~~~~~~~~~~~~~~ artifact.c: In function 'Mb_hit': artifact.c:963:1: warning: old-style function definition [-Wold-style-definition] 963 | Mb_hit(magr, mdef, mb, dmgptr, dieroll, vis, hittee) | ^~~~~~ artifact.c: In function 'artifact_hit': artifact.c:1152:1: warning: old-style function definition [-Wold-style-definition] 1152 | artifact_hit(magr, mdef, otmp, dmgptr, dieroll) | ^~~~~~~~~~~~ artifact.c: In function 'arti_invoke': artifact.c:1417:1: warning: old-style function definition [-Wold-style-definition] 1417 | arti_invoke(obj) | ^~~~~~~~~~~ artifact.c: In function 'finesse_ahriman': artifact.c:1664:1: warning: old-style function definition [-Wold-style-definition] 1664 | finesse_ahriman(obj) | ^~~~~~~~~~~~~~~ artifact.c: In function 'artifact_light': artifact.c:1692:1: warning: old-style function definition [-Wold-style-definition] 1692 | artifact_light(obj) | ^~~~~~~~~~~~~~ artifact.c: In function 'arti_speak': artifact.c:1700:1: warning: old-style function definition [-Wold-style-definition] 1700 | arti_speak(obj) | ^~~~~~~~~~ artifact.c: In function 'artifact_has_invprop': artifact.c:1720:1: warning: old-style function definition [-Wold-style-definition] 1720 | artifact_has_invprop(otmp, inv_prop) | ^~~~~~~~~~~~~~~~~~~~ artifact.c: In function 'arti_cost': artifact.c:1731:1: warning: old-style function definition [-Wold-style-definition] 1731 | arti_cost(otmp) | ^~~~~~~~~ artifact.c: In function 'abil_to_adtyp': artifact.c:1743:1: warning: old-style function definition [-Wold-style-definition] 1743 | abil_to_adtyp(abil) | ^~~~~~~~~~~~~ artifact.c: In function 'abil_to_spfx': artifact.c:1768:1: warning: old-style function definition [-Wold-style-definition] 1768 | abil_to_spfx(abil) | ^~~~~~~~~~~~ artifact.c: In function 'what_gives': artifact.c:1801:1: warning: old-style function definition [-Wold-style-definition] 1801 | what_gives(abil) | ^~~~~~~~~~ artifact.c: In function 'glow_color': artifact.c:1849:1: warning: old-style function definition [-Wold-style-definition] 1849 | glow_color(arti_indx) | ^~~~~~~~~~ artifact.c: In function 'glow_strength': artifact.c:1865:1: warning: old-style function definition [-Wold-style-definition] 1865 | glow_strength(count) | ^~~~~~~~~~~~~ artifact.c: In function 'glow_verb': artifact.c:1875:1: warning: old-style function definition [-Wold-style-definition] 1875 | glow_verb(count, ingsfx) | ^~~~~~~~~ artifact.c: In function 'Sting_effects': artifact.c:1891:1: warning: old-style function definition [-Wold-style-definition] 1891 | Sting_effects(orc_count) | ^~~~~~~~~~~~~ artifact.c: In function 'retouch_object': artifact.c:1928:1: warning: old-style function definition [-Wold-style-definition] 1928 | retouch_object(objp, loseit) | ^~~~~~~~~~~~~~ artifact.c: In function 'untouchable': artifact.c:1998:1: warning: old-style function definition [-Wold-style-definition] 1998 | untouchable(obj, drop_untouchable) | ^~~~~~~~~~~ artifact.c: In function 'retouch_equipment': artifact.c:2037:1: warning: old-style function definition [-Wold-style-definition] 2037 | retouch_equipment(dropflag) | ^~~~~~~~~~~~~~~~~ artifact.c: In function 'count_surround_traps': artifact.c:2107:1: warning: old-style function definition [-Wold-style-definition] 2107 | count_surround_traps(x, y) | ^~~~~~~~~~~~~~~~~~~~ artifact.c: In function 'is_magic_key': artifact.c:2175:1: warning: old-style function definition [-Wold-style-definition] 2175 | is_magic_key(mon, obj) | ^~~~~~~~~~~~ artifact.c: In function 'has_magic_key': artifact.c:2189:1: warning: old-style function definition [-Wold-style-definition] 2189 | has_magic_key(mon) | ^~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o attrib.o attrib.c In file included from ../include/hack.h:10, from attrib.c:7: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition attrib.c: In function 'adjattrib': attrib.c:114:1: warning: old-style function definition [-Wold-style-definition] 114 | adjattrib(ndx, incr, msgflg) | ^~~~~~~~~ attrib.c: In function 'gainstr': attrib.c:195:1: warning: old-style function definition [-Wold-style-definition] 195 | gainstr(otmp, incr, givemsg) | ^~~~~~~ attrib.c: In function 'losestr': attrib.c:216:1: warning: old-style function definition [-Wold-style-definition] 216 | losestr(num) | ^~~~~~~ attrib.c: In function 'poisontell': attrib.c:249:1: warning: old-style function definition [-Wold-style-definition] 249 | poisontell(typ, exclaim) | ^~~~~~~~~~ attrib.c: In function 'poisoned': attrib.c:273:1: warning: old-style function definition [-Wold-style-definition] 273 | poisoned(reason, typ, pkiller, fatal, thrown_weapon) | ^~~~~~~~ attrib.c: In function 'change_luck': attrib.c:340:1: warning: old-style function definition [-Wold-style-definition] 340 | change_luck(n) | ^~~~~~~~~~~ attrib.c: In function 'stone_luck': attrib.c:351:1: warning: old-style function definition [-Wold-style-definition] 351 | stone_luck(parameter) | ^~~~~~~~~~ attrib.c: In function 'exercise': attrib.c:413:1: warning: old-style function definition [-Wold-style-definition] 413 | exercise(i, inc_or_dec) | ^~~~~~~~ attrib.c: In function 'init_attr': attrib.c:614:1: warning: old-style function definition [-Wold-style-definition] 614 | init_attr(np) | ^~~~~~~~~ attrib.c: In function 'postadjabil': attrib.c:688:1: warning: old-style function definition [-Wold-style-definition] 688 | postadjabil(ability) | ^~~~~~~~~~~ attrib.c: In function 'role_abil': attrib.c:698:1: warning: old-style function definition [-Wold-style-definition] 698 | role_abil(r) | ^~~~~~~~~ attrib.c: In function 'check_innate_abil': attrib.c:728:1: warning: old-style function definition [-Wold-style-definition] 728 | check_innate_abil(ability, frommask) | ^~~~~~~~~~~~~~~~~ attrib.c: In function 'innately': attrib.c:776:1: warning: old-style function definition [-Wold-style-definition] 776 | innately(ability) | ^~~~~~~~ attrib.c: In function 'is_innate': attrib.c:793:1: warning: old-style function definition [-Wold-style-definition] 793 | is_innate(propidx) | ^~~~~~~~~ attrib.c: In function 'from_what': attrib.c:816:1: warning: old-style function definition [-Wold-style-definition] 816 | from_what(propidx) | ^~~~~~~~~ attrib.c: In function 'adjabil': attrib.c:909:1: warning: old-style function definition [-Wold-style-definition] 909 | adjabil(oldlevel, newlevel) | ^~~~~~~ attrib.c: In function 'acurr': attrib.c:1036:1: warning: old-style function definition [-Wold-style-definition] 1036 | acurr(x) | ^~~~~ attrib.c: In function 'extremeattr': attrib.c:1091:1: warning: old-style function definition [-Wold-style-definition] 1091 | extremeattr(attrindx) /* does attrindx's value match its max or min? */ | ^~~~~~~~~~~ attrib.c: In function 'adjalign': attrib.c:1121:1: warning: old-style function definition [-Wold-style-definition] 1121 | adjalign(n) | ^~~~~~~~ attrib.c: In function 'uchangealign': attrib.c:1138:1: warning: old-style function definition [-Wold-style-definition] 1138 | uchangealign(newalign, reason) | ^~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o ball.o ball.c In file included from ../include/hack.h:10, from ball.c:9: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ball.c: In function 'ballrelease': ball.c:23:1: warning: old-style function definition [-Wold-style-definition] 23 | ballrelease(showmsg) | ^~~~~~~~~~~ ball.c: In function 'check_restriction': ball.c:177:1: warning: old-style function definition [-Wold-style-definition] 177 | check_restriction(restriction) | ^~~~~~~~~~~~~~~~~ ball.c: In function 'lift_covet_and_placebc': ball.c:234:1: warning: old-style function definition [-Wold-style-definition] 234 | lift_covet_and_placebc(pin) | ^~~~~~~~~~~~~~~~~~~~~~ ball.c: In function 'set_bc': ball.c:388:1: warning: old-style function definition [-Wold-style-definition] 388 | set_bc(already_blind) | ^~~~~~ ball.c: In function 'move_bc': ball.c:446:1: warning: old-style function definition [-Wold-style-definition] 446 | move_bc(before, control, ballx, bally, chainx, chainy) | ^~~~~~~ ball.c: In function 'drag_ball': ball.c:568:1: warning: old-style function definition [-Wold-style-definition] 568 | drag_ball(x, y, bc_control, ballx, bally, chainx, chainy, cause_delay, | ^~~~~~~~~ ball.c: In function 'drop_ball': ball.c:893:1: warning: old-style function definition [-Wold-style-definition] 893 | drop_ball(x, y) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o bones.o bones.c In file included from ../include/hack.h:10, from bones.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition bones.c: In function 'no_bones_level': bones.c:20:1: warning: old-style function definition [-Wold-style-definition] 20 | no_bones_level(lev) | ^~~~~~~~~~~~~~ bones.c: In function 'goodfruit': bones.c:46:1: warning: old-style function definition [-Wold-style-definition] 46 | goodfruit(id) | ^~~~~~~~~ bones.c: In function 'resetobjs': bones.c:56:1: warning: old-style function definition [-Wold-style-definition] 56 | resetobjs(ochain, restore) | ^~~~~~~~~ bones.c: In function 'sanitize_name': bones.c:207:1: warning: old-style function definition [-Wold-style-definition] 207 | sanitize_name(namebuf) | ^~~~~~~~~~~~~ bones.c: In function 'drop_upon_death': bones.c:234:1: warning: old-style function definition [-Wold-style-definition] 234 | drop_upon_death(mtmp, cont, x, y) | ^~~~~~~~~~~~~~~ bones.c: In function 'fixuporacle': bones.c:274:1: warning: old-style function definition [-Wold-style-definition] 274 | fixuporacle(oracle) | ^~~~~~~~~~~ bones.c: In function 'savebones': bones.c:356:1: warning: old-style function definition [-Wold-style-definition] 356 | savebones(how, when, corpse) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o botl.o botl.c In file included from ../include/hack.h:10, from botl.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition botl.c: In function 'xlev_to_rank': botl.c:265:1: warning: old-style function definition [-Wold-style-definition] 265 | xlev_to_rank(xlev) | ^~~~~~~~~~~~ botl.c: In function 'rank_of': botl.c:282:1: warning: old-style function definition [-Wold-style-definition] 282 | rank_of(lev, monnum, female) | ^~~~~~~ botl.c: In function 'title_to_mon': botl.c:320:1: warning: old-style function definition [-Wold-style-definition] 320 | title_to_mon(str, rank_indx, title_length) | ^~~~~~~~~~~~ botl.c: In function 'describe_level': botl.c:386:1: warning: old-style function definition [-Wold-style-definition] 386 | describe_level(buf) | ^~~~~~~~~~~~~~ botl.c: In function 'eval_notify_windowport_field': botl.c:764:1: warning: old-style function definition [-Wold-style-definition] 764 | eval_notify_windowport_field(fld, valsetlist, idx) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'evaluate_and_notify_windowport': botl.c:883:1: warning: old-style function definition [-Wold-style-definition] 883 | evaluate_and_notify_windowport(valsetlist, idx) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'status_initialize': botl.c:940:1: warning: old-style function definition [-Wold-style-definition] 940 | status_initialize(reassessment) | ^~~~~~~~~~~~~~~~~ botl.c: In function 'compare_blstats': botl.c:1057:1: warning: old-style function definition [-Wold-style-definition] 1057 | compare_blstats(bl1, bl2) | ^~~~~~~~~~~~~~~ botl.c: In function 'anything_to_s': botl.c:1130:1: warning: old-style function definition [-Wold-style-definition] 1130 | anything_to_s(buf, a, anytype) | ^~~~~~~~~~~~~ botl.c: In function 's_to_anything': botl.c:1177:1: warning: old-style function definition [-Wold-style-definition] 1177 | s_to_anything(a, buf, anytype) | ^~~~~~~~~~~~~ botl.c: In function 'percentage': botl.c:1226:1: warning: old-style function definition [-Wold-style-definition] 1226 | percentage(bl, maxbl) | ^~~~~~~~~~ botl.c: In function 'bl_idx_to_fldname': botl.c:1392:1: warning: old-style function definition [-Wold-style-definition] 1392 | bl_idx_to_fldname(idx) | ^~~~~~~~~~~~~~~~~ botl.c: In function 'fldname_to_bl_indx': botl.c:1443:1: warning: old-style function definition [-Wold-style-definition] 1443 | fldname_to_bl_indx(name) | ^~~~~~~~~~~~~~~~~~ botl.c: In function 'hilite_reset_needed': botl.c:1482:1: warning: old-style function definition [-Wold-style-definition] 1482 | hilite_reset_needed(bl_p, augmented_time) | ^~~~~~~~~~~~~~~~~~~ botl.c: In function 'noneoftheabove': botl.c:1560:1: warning: old-style function definition [-Wold-style-definition] 1560 | noneoftheabove(hl_text) | ^~~~~~~~~~~~~~ botl.c: In function 'get_hilite': botl.c:1589:1: warning: old-style function definition [-Wold-style-definition] 1589 | get_hilite(idx, fldidx, vp, chg, pc, colorptr) | ^~~~~~~~~~ botl.c: In function 'split_clridx': botl.c:1781:1: warning: old-style function definition [-Wold-style-definition] 1781 | split_clridx(idx, coloridx, attrib) | ^~~~~~~~~~~~ botl.c: In function 'parse_status_hl1': botl.c:1800:1: warning: old-style function definition [-Wold-style-definition] 1800 | parse_status_hl1(op, from_configfile) | ^~~~~~~~~~~~~~~~ botl.c: In function 'is_ltgt_percentnumber': botl.c:1857:1: warning: old-style function definition [-Wold-style-definition] 1857 | is_ltgt_percentnumber(str) | ^~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'has_ltgt_percentnumber': botl.c:1879:1: warning: old-style function definition [-Wold-style-definition] 1879 | has_ltgt_percentnumber(str) | ^~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'splitsubfields': botl.c:1897:1: warning: old-style function definition [-Wold-style-definition] 1897 | splitsubfields(str, sfarr, maxsf) | ^~~~~~~~~~~~~~ botl.c: In function 'is_fld_arrayvalues': botl.c:1941:1: warning: old-style function definition [-Wold-style-definition] 1941 | is_fld_arrayvalues(str, arr, arrmin, arrmax, retidx) | ^~~~~~~~~~~~~~~~~~ botl.c: In function 'query_arrayvalue': botl.c:1958:1: warning: old-style function definition [-Wold-style-definition] 1958 | query_arrayvalue(querystr, arr, arrmin, arrmax) | ^~~~~~~~~~~~~~~~ botl.c: In function 'status_hilite_add_threshold': botl.c:1992:1: warning: old-style function definition [-Wold-style-definition] 1992 | status_hilite_add_threshold(fld, hilite) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'parse_status_hl2': botl.c:2017:1: warning: old-style function definition [-Wold-style-definition] 2017 | parse_status_hl2(s, from_configfile) | ^~~~~~~~~~~~~~~~ botl.c: In function 'conditionbitmask2str': botl.c:2367:1: warning: old-style function definition [-Wold-style-definition] 2367 | conditionbitmask2str(ul) | ^~~~~~~~~~~~~~~~~~~~ botl.c: In function 'match_str2conditionbitmask': botl.c:2398:1: warning: old-style function definition [-Wold-style-definition] 2398 | match_str2conditionbitmask(str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'str2conditionbitmask': botl.c:2437:1: warning: old-style function definition [-Wold-style-definition] 2437 | str2conditionbitmask(str) | ^~~~~~~~~~~~~~~~~~~~ botl.c: In function 'parse_condition': botl.c:2462:1: warning: old-style function definition [-Wold-style-definition] 2462 | parse_condition(s, sidx) | ^~~~~~~~~~~~~~~ botl.c: In function 'hlattr2attrname': botl.c:2603:1: warning: old-style function definition [-Wold-style-definition] 2603 | hlattr2attrname(attrib, buf, bufsz) | ^~~~~~~~~~~~~~~ botl.c: In function 'status_hilite_linestr_add': botl.c:2650:1: warning: old-style function definition [-Wold-style-definition] 2650 | status_hilite_linestr_add(fld, hl, mask, str) | ^~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'status_hilite_linestr_countfield': botl.c:2695:1: warning: old-style function definition [-Wold-style-definition] 2695 | status_hilite_linestr_countfield(fld) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'status_hilite2str': botl.c:2822:1: warning: old-style function definition [-Wold-style-definition] 2822 | status_hilite2str(hl) | ^~~~~~~~~~~~~~~~~ botl.c: In function 'status_hilite_menu_choose_behavior': botl.c:2935:1: warning: old-style function definition [-Wold-style-definition] 2935 | status_hilite_menu_choose_behavior(fld) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'status_hilite_menu_choose_updownboth': botl.c:3027:1: warning: old-style function definition [-Wold-style-definition] 3027 | status_hilite_menu_choose_updownboth(fld, str, ltok, gtok) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'status_hilite_menu_add': botl.c:3105:1: warning: old-style function definition [-Wold-style-definition] 3105 | status_hilite_menu_add(origfld) | ^~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'status_hilite_remove': botl.c:3510:1: warning: old-style function definition [-Wold-style-definition] 3510 | status_hilite_remove(id) | ^~~~~~~~~~~~~~~~~~~~ botl.c: In function 'status_hilite_menu_fld': botl.c:3560:1: warning: old-style function definition [-Wold-style-definition] 3560 | status_hilite_menu_fld(fld) | ^~~~~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o cmd.o cmd.c In file included from ../include/hack.h:10, from cmd.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition cmd.c: In function 'set_occupation': cmd.c:256:1: warning: old-style function definition [-Wold-style-definition] 256 | set_occupation(fn, txt, xtime) | ^~~~~~~~~~~~~~ cmd.c: In function 'pushch': cmd.c:313:1: warning: old-style function definition [-Wold-style-definition] 313 | pushch(ch) | ^~~~~~ cmd.c: In function 'savech': cmd.c:327:1: warning: old-style function definition [-Wold-style-definition] 327 | savech(ch) | ^~~~~~ cmd.c: In function 'enlght_out': cmd.c:1635:1: warning: old-style function definition [-Wold-style-definition] 1635 | enlght_out(buf) | ^~~~~~~~~~ cmd.c: In function 'enlght_line': cmd.c:1648:1: warning: old-style function definition [-Wold-style-definition] 1648 | enlght_line(start, middle, end, ps) | ^~~~~~~~~~~ cmd.c: In function 'enlght_combatinc': cmd.c:1659:1: warning: old-style function definition [-Wold-style-definition] 1659 | enlght_combatinc(inctyp, incamt, final, outbuf) | ^~~~~~~~~~~~~~~~ cmd.c: In function 'enlght_halfdmg': cmd.c:1699:1: warning: old-style function definition [-Wold-style-definition] 1699 | enlght_halfdmg(category, final) | ^~~~~~~~~~~~~~ cmd.c: In function 'cause_known': cmd.c:1736:1: warning: old-style function definition [-Wold-style-definition] 1736 | cause_known(propindx) | ^~~~~~~~~~~ cmd.c: In function 'attrval': cmd.c:1756:1: warning: old-style function definition [-Wold-style-definition] 1756 | attrval(attrindx, attrvalue, resultbuf) | ^~~~~~~ cmd.c: In function 'enlightenment': cmd.c:1770:1: warning: old-style function definition [-Wold-style-definition] 1770 | enlightenment(mode, final) | ^~~~~~~~~~~~~ cmd.c: In function 'background_enlightenment': cmd.c:1831:1: warning: old-style function definition [-Wold-style-definition] 1831 | background_enlightenment(unused_mode, final) | ^~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'basics_enlightenment': cmd.c:2076:1: warning: old-style function definition [-Wold-style-definition] 2076 | basics_enlightenment(mode, final) | ^~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'characteristics_enlightenment': cmd.c:2157:1: warning: old-style function definition [-Wold-style-definition] 2157 | characteristics_enlightenment(mode, final) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'one_characteristic': cmd.c:2178:1: warning: old-style function definition [-Wold-style-definition] 2178 | one_characteristic(mode, final, attrindx) | ^~~~~~~~~~~~~~~~~~ cmd.c: In function 'status_enlightenment': cmd.c:2273:1: warning: old-style function definition [-Wold-style-definition] 2273 | status_enlightenment(mode, final) | ^~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'attributes_enlightenment': cmd.c:2611:1: warning: old-style function definition [-Wold-style-definition] 2611 | attributes_enlightenment(unused_mode, final) | ^~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'youhiding': cmd.c:3178:1: warning: old-style function definition [-Wold-style-definition] 3178 | youhiding(via_enlghtmt, msgflag) | ^~~~~~~~~ cmd.c: In function 'show_conduct': cmd.c:3247:1: warning: old-style function definition [-Wold-style-definition] 3247 | show_conduct(final) | ^~~~~~~~~~~~ cmd.c: In function 'key2extcmddesc': cmd.c:3570:1: warning: old-style function definition [-Wold-style-definition] 3570 | key2extcmddesc(key) | ^~~~~~~~~~~~~~ cmd.c: In function 'bind_key': cmd.c:3619:1: warning: old-style function definition [-Wold-style-definition] 3619 | bind_key(key, command) | ^~~~~~~~ cmd.c: In function 'dokeylist_putcmds': cmd.c:3683:1: warning: old-style function definition [-Wold-style-definition] 3683 | dokeylist_putcmds(datawin, docount, cmdflags, exflags, keys_used) | ^~~~~~~~~~~~~~~~~ cmd.c: In function 'cmd_from_func': cmd.c:3842:1: warning: old-style function definition [-Wold-style-definition] 3842 | cmd_from_func(fn) | ^~~~~~~~~~~~~ cmd.c: In function 'size_obj': cmd.c:3862:1: warning: old-style function definition [-Wold-style-definition] 3862 | size_obj(otmp) | ^~~~~~~~ cmd.c: In function 'count_obj': cmd.c:3884:1: warning: old-style function definition [-Wold-style-definition] 3884 | count_obj(chain, total_count, total_size, top, recurse) | ^~~~~~~~~ cmd.c: In function 'obj_chain': cmd.c:3907:1: warning: old-style function definition [-Wold-style-definition] 3907 | obj_chain(win, src, chain, force, total_count, total_size) | ^~~~~~~~~ cmd.c: In function 'mon_invent_chain': cmd.c:3929:1: warning: old-style function definition [-Wold-style-definition] 3929 | mon_invent_chain(win, src, chain, total_count, total_size) | ^~~~~~~~~~~~~~~~ cmd.c: In function 'contained_stats': cmd.c:3952:1: warning: old-style function definition [-Wold-style-definition] 3952 | contained_stats(win, src, total_count, total_size) | ^~~~~~~~~~~~~~~ cmd.c: In function 'size_monst': cmd.c:3982:1: warning: old-style function definition [-Wold-style-definition] 3982 | size_monst(mtmp, incl_wsegs) | ^~~~~~~~~~ cmd.c: In function 'mon_chain': cmd.c:4011:1: warning: old-style function definition [-Wold-style-definition] 4011 | mon_chain(win, src, chain, force, total_count, total_size) | ^~~~~~~~~ cmd.c: In function 'misc_stats': cmd.c:4039:1: warning: old-style function definition [-Wold-style-definition] 4039 | misc_stats(win, total_count, total_size) | ^~~~~~~~~~ cmd.c: In function 'bind_specialkey': cmd.c:4335:1: warning: old-style function definition [-Wold-style-definition] 4335 | bind_specialkey(key, command) | ^~~~~~~~~~~~~~~ cmd.c: In function 'txt2key': cmd.c:4352:1: warning: old-style function definition [-Wold-style-definition] 4352 | txt2key(txt) | ^~~~~~~ cmd.c: In function 'key2txt': cmd.c:4411:1: warning: old-style function definition [-Wold-style-definition] 4411 | key2txt(c, txt) | ^~~~~~~ cmd.c: In function 'parseautocomplete': cmd.c:4432:1: warning: old-style function definition [-Wold-style-definition] 4432 | parseautocomplete(autocomplete, condition) | ^~~~~~~~~~~~~~~~~ cmd.c: In function 'reset_commands': cmd.c:4480:1: warning: old-style function definition [-Wold-style-definition] 4480 | reset_commands(initial) | ^~~~~~~~~~~~~~ cmd.c: In function 'accept_menu_prefix': cmd.c:4594:1: warning: old-style function definition [-Wold-style-definition] 4594 | accept_menu_prefix(cmd_func) | ^~~~~~~~~~~~~~~~~~ cmd.c: In function 'random_response': cmd.c:4669:1: warning: old-style function definition [-Wold-style-definition] 4669 | random_response(buf, sz) | ^~~~~~~~~~~~~~~ cmd.c: In function 'ch2spkeys': cmd.c:4697:1: warning: old-style function definition [-Wold-style-definition] 4697 | ch2spkeys(c, start, end) | ^~~~~~~~~ cmd.c: In function 'rhack': cmd.c:4710:1: warning: old-style function definition [-Wold-style-definition] 4710 | rhack(cmd) | ^~~~~ cmd.c: In function 'xytod': cmd.c:4940:1: warning: old-style function definition [-Wold-style-definition] 4940 | xytod(x, y) | ^~~~~ cmd.c: In function 'dtoxy': cmd.c:4953:1: warning: old-style function definition [-Wold-style-definition] 4953 | dtoxy(cc, dd) | ^~~~~ cmd.c: In function 'movecmd': cmd.c:4964:1: warning: old-style function definition [-Wold-style-definition] 4964 | movecmd(sym) | ^~~~~~~ cmd.c: In function 'redraw_cmd': cmd.c:4995:1: warning: old-style function definition [-Wold-style-definition] 4995 | redraw_cmd(c) | ^~~~~~~~~~ cmd.c: In function 'prefix_cmd': cmd.c:5003:1: warning: old-style function definition [-Wold-style-definition] 5003 | prefix_cmd(c) | ^~~~~~~~~~ cmd.c: In function 'get_adjacent_loc': cmd.c:5026:1: warning: old-style function definition [-Wold-style-definition] 5026 | get_adjacent_loc(prompt, emsg, x, y, cc) | ^~~~~~~~~~~~~~~~ cmd.c: In function 'getdir': cmd.c:5050:1: warning: old-style function definition [-Wold-style-definition] 5050 | getdir(s) | ^~~~~~ cmd.c: In function 'show_direction_keys': cmd.c:5101:1: warning: old-style function definition [-Wold-style-definition] 5101 | show_direction_keys(win, centerchar, nodiag) | ^~~~~~~~~~~~~~~~~~~ cmd.c: In function 'help_dir': cmd.c:5140:1: warning: old-style function definition [-Wold-style-definition] 5140 | help_dir(sym, spkey, msg) | ^~~~~~~~ cmd.c: In function 'directionname': cmd.c:5299:1: warning: old-style function definition [-Wold-style-definition] 5299 | directionname(dir) | ^~~~~~~~~~~~~ cmd.c: In function 'isok': cmd.c:5313:1: warning: old-style function definition [-Wold-style-definition] 5313 | isok(x, y) | ^~~~ cmd.c: In function 'add_herecmd_menuitem': cmd.c:5347:1: warning: old-style function definition [-Wold-style-definition] 5347 | add_herecmd_menuitem(win, func, text) | ^~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'there_cmd_menu': cmd.c:5363:1: warning: old-style function definition [-Wold-style-definition] 5363 | there_cmd_menu(doit, x, y) | ^~~~~~~~~~~~~~ cmd.c: In function 'here_cmd_menu': cmd.c:5466:1: warning: old-style function definition [-Wold-style-definition] 5466 | here_cmd_menu(doit) | ^~~~~~~~~~~~~ cmd.c: In function 'click_to_cmd': cmd.c:5571:1: warning: old-style function definition [-Wold-style-definition] 5571 | click_to_cmd(x, y, mod) | ^~~~~~~~~~~~ cmd.c: In function 'get_count': cmd.c:5702:1: warning: old-style function definition [-Wold-style-definition] 5702 | get_count(allowchars, inkey, maxcount, count, historical) | ^~~~~~~~~ cmd.c: In function 'hangup': cmd.c:5855:1: warning: old-style function definition [-Wold-style-definition] 5855 | hangup(sig_unused) /* called as signal() handler, so sent at least one arg */ | ^~~~~~ cmd.c: In function 'yn_function': cmd.c:6007:1: warning: old-style function definition [-Wold-style-definition] 6007 | yn_function(query, resp, def) | ^~~~~~~~~~~ cmd.c: In function 'paranoid_query': cmd.c:6045:1: warning: old-style function definition [-Wold-style-definition] 6045 | paranoid_query(be_paranoid, prompt) | ^~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o dbridge.o dbridge.c In file included from ../include/hack.h:10, from dbridge.c:20: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition dbridge.c: In function 'is_pool': dbridge.c:37:1: warning: old-style function definition [-Wold-style-definition] 37 | is_pool(x, y) | ^~~~~~~ dbridge.c: In function 'is_lava': dbridge.c:54:1: warning: old-style function definition [-Wold-style-definition] 54 | is_lava(x, y) | ^~~~~~~ dbridge.c: In function 'is_pool_or_lava': dbridge.c:70:1: warning: old-style function definition [-Wold-style-definition] 70 | is_pool_or_lava(x, y) | ^~~~~~~~~~~~~~~ dbridge.c: In function 'is_ice': dbridge.c:80:1: warning: old-style function definition [-Wold-style-definition] 80 | is_ice(x, y) | ^~~~~~ dbridge.c: In function 'is_moat': dbridge.c:95:1: warning: old-style function definition [-Wold-style-definition] 95 | is_moat(x, y) | ^~~~~~~ dbridge.c: In function 'db_under_typ': dbridge.c:112:1: warning: old-style function definition [-Wold-style-definition] 112 | db_under_typ(mask) | ^~~~~~~~~~~~ dbridge.c: In function 'is_drawbridge_wall': dbridge.c:135:1: warning: old-style function definition [-Wold-style-definition] 135 | is_drawbridge_wall(x, y) | ^~~~~~~~~~~~~~~~~~ dbridge.c: In function 'is_db_wall': dbridge.c:166:1: warning: old-style function definition [-Wold-style-definition] 166 | is_db_wall(x, y) | ^~~~~~~~~~ dbridge.c: In function 'find_drawbridge': dbridge.c:177:1: warning: old-style function definition [-Wold-style-definition] 177 | find_drawbridge(x, y) | ^~~~~~~~~~~~~~~ dbridge.c: In function 'get_wall_for_db': dbridge.c:209:1: warning: old-style function definition [-Wold-style-definition] 209 | get_wall_for_db(x, y) | ^~~~~~~~~~~~~~~ dbridge.c: In function 'create_drawbridge': dbridge.c:234:1: warning: old-style function definition [-Wold-style-definition] 234 | create_drawbridge(x, y, dir, flag) | ^~~~~~~~~~~~~~~~~ dbridge.c: In function 'e_at': dbridge.c:297:1: warning: old-style function definition [-Wold-style-definition] 297 | e_at(x, y) | ^~~~ dbridge.c: In function 'm_to_e': dbridge.c:315:1: warning: old-style function definition [-Wold-style-definition] 315 | m_to_e(mtmp, x, y, etmp) | ^~~~~~ dbridge.c: In function 'u_to_e': dbridge.c:333:1: warning: old-style function definition [-Wold-style-definition] 333 | u_to_e(etmp) | ^~~~~~ dbridge.c: In function 'set_entity': dbridge.c:343:1: warning: old-style function definition [-Wold-style-definition] 343 | set_entity(x, y, etmp) | ^~~~~~~~~~ dbridge.c: In function 'e_nam': dbridge.c:367:1: warning: old-style function definition [-Wold-style-definition] 367 | e_nam(etmp) | ^~~~~ dbridge.c: In function 'E_phrase': dbridge.c:378:1: warning: old-style function definition [-Wold-style-definition] 378 | E_phrase(etmp, verb) | ^~~~~~~~ dbridge.c: In function 'e_survives_at': dbridge.c:399:1: warning: old-style function definition [-Wold-style-definition] 399 | e_survives_at(etmp, x, y) | ^~~~~~~~~~~~~ dbridge.c: In function 'e_died': dbridge.c:423:1: warning: old-style function definition [-Wold-style-definition] 423 | e_died(etmp, xkill_flags, how) | ^~~~~~ dbridge.c: In function 'automiss': dbridge.c:487:1: warning: old-style function definition [-Wold-style-definition] 487 | automiss(etmp) | ^~~~~~~~ dbridge.c: In function 'e_missed': dbridge.c:498:1: warning: old-style function definition [-Wold-style-definition] 498 | e_missed(etmp, chunks) | ^~~~~~~~ dbridge.c: In function 'e_jumps': dbridge.c:535:1: warning: old-style function definition [-Wold-style-definition] 535 | e_jumps(etmp) | ^~~~~~~ dbridge.c: In function 'do_entity': dbridge.c:559:1: warning: old-style function definition [-Wold-style-definition] 559 | do_entity(etmp) | ^~~~~~~~~ dbridge.c: In function 'close_drawbridge': dbridge.c:769:1: warning: old-style function definition [-Wold-style-definition] 769 | close_drawbridge(x, y) | ^~~~~~~~~~~~~~~~ dbridge.c: In function 'open_drawbridge': dbridge.c:831:1: warning: old-style function definition [-Wold-style-definition] 831 | open_drawbridge(x, y) | ^~~~~~~~~~~~~~~ dbridge.c: In function 'destroy_drawbridge': dbridge.c:878:1: warning: old-style function definition [-Wold-style-definition] 878 | destroy_drawbridge(x, y) | ^~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o decl.o decl.c In file included from ../include/hack.h:10, from decl.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o detect.o detect.c In file included from ../include/hack.h:10, from detect.c:11: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition detect.c: In function 'browse_map': detect.c:58:1: warning: old-style function definition [-Wold-style-definition] 58 | browse_map(ter_typ, ter_explain) | ^~~~~~~~~~ detect.c: In function 'map_monst': detect.c:76:1: warning: old-style function definition [-Wold-style-definition] 76 | map_monst(mtmp, showtail) | ^~~~~~~~~ detect.c: In function 'trapped_chest_at': detect.c:95:1: warning: old-style function definition [-Wold-style-definition] 95 | trapped_chest_at(ttyp, x, y) | ^~~~~~~~~~~~~~~~ detect.c: In function 'trapped_door_at': detect.c:140:1: warning: old-style function definition [-Wold-style-definition] 140 | trapped_door_at(ttyp, x, y) | ^~~~~~~~~~~~~~~ detect.c: In function 'o_in': detect.c:161:1: warning: old-style function definition [-Wold-style-definition] 161 | o_in(obj, oclass) | ^~~~ detect.c: In function 'o_material': detect.c:191:1: warning: old-style function definition [-Wold-style-definition] 191 | o_material(obj, material) | ^~~~~~~~~~ detect.c: In function 'do_dknown_of': detect.c:213:1: warning: old-style function definition [-Wold-style-definition] 213 | do_dknown_of(obj) | ^~~~~~~~~~~~ detect.c: In function 'check_map_spot': detect.c:227:1: warning: old-style function definition [-Wold-style-definition] 227 | check_map_spot(x, y, oclass, material) | ^~~~~~~~~~~~~~ detect.c: In function 'clear_stale_map': detect.c:284:1: warning: old-style function definition [-Wold-style-definition] 284 | clear_stale_map(oclass, material) | ^~~~~~~~~~~~~~~ detect.c: In function 'gold_detect': detect.c:303:1: warning: old-style function definition [-Wold-style-definition] 303 | gold_detect(sobj) | ^~~~~~~~~~~ detect.c: In function 'food_detect': detect.c:455:1: warning: old-style function definition [-Wold-style-definition] 455 | food_detect(sobj) | ^~~~~~~~~~~ detect.c: In function 'object_detect': detect.c:582:1: warning: old-style function definition [-Wold-style-definition] 582 | object_detect(detector, class) | ^~~~~~~~~~~~~ detect.c: In function 'monster_detect': detect.c:783:1: warning: old-style function definition [-Wold-style-definition] 783 | monster_detect(otmp, mclass) | ^~~~~~~~~~~~~~ detect.c: In function 'sense_trap': detect.c:856:1: warning: old-style function definition [-Wold-style-definition] 856 | sense_trap(trap, x, y, src_cursed) | ^~~~~~~~~~ detect.c: In function 'detect_obj_traps': detect.c:899:1: warning: old-style function definition [-Wold-style-definition] 899 | detect_obj_traps(objlist, show_them, how) | ^~~~~~~~~~~~~~~~ detect.c: In function 'trap_detect': detect.c:932:1: warning: old-style function definition [-Wold-style-definition] 932 | trap_detect(sobj) | ^~~~~~~~~~~ detect.c: In function 'level_distance': detect.c:1042:1: warning: old-style function definition [-Wold-style-definition] 1042 | level_distance(where) | ^~~~~~~~~~~~~~ detect.c: In function 'use_crystal_ball': detect.c:1095:1: warning: old-style function definition [-Wold-style-definition] 1095 | use_crystal_ball(optr) | ^~~~~~~~~~~~~~~~ detect.c: In function 'show_map_spot': detect.c:1238:1: warning: old-style function definition [-Wold-style-definition] 1238 | show_map_spot(x, y) | ^~~~~~~~~~~~~ detect.c: In function 'do_vicinity_map': detect.c:1306:1: warning: old-style function definition [-Wold-style-definition] 1306 | do_vicinity_map(sobj) | ^~~~~~~~~~~~~~~ detect.c: In function 'cvt_sdoor_to_door': detect.c:1435:1: warning: old-style function definition [-Wold-style-definition] 1435 | cvt_sdoor_to_door(lev) | ^~~~~~~~~~~~~~~~~ detect.c: In function 'findone': detect.c:1455:1: warning: old-style function definition [-Wold-style-definition] 1455 | findone(zx, zy, num) | ^~~~~~~ detect.c: In function 'openone': detect.c:1511:1: warning: old-style function definition [-Wold-style-definition] 1511 | openone(zx, zy, num) | ^~~~~~~ detect.c: In function 'detecting': detect.c:1607:1: warning: old-style function definition [-Wold-style-definition] 1607 | detecting(func) | ^~~~~~~~~ detect.c: In function 'find_trap': detect.c:1614:1: warning: old-style function definition [-Wold-style-definition] 1614 | find_trap(trap) | ^~~~~~~~~ detect.c: In function 'mfind0': detect.c:1646:1: warning: old-style function definition [-Wold-style-definition] 1646 | mfind0(mtmp, via_warning) | ^~~~~~ detect.c: In function 'dosearch0': detect.c:1696:1: warning: old-style function definition [-Wold-style-definition] 1696 | dosearch0(aflag) | ^~~~~~~~~ detect.c: In function 'reveal_terrain_getglyph': detect.c:1834:1: warning: old-style function definition [-Wold-style-definition] 1834 | reveal_terrain_getglyph(x, y, full, swallowed, default_glyph, which_subset) | ^~~~~~~~~~~~~~~~~~~~~~~ detect.c: In function 'reveal_terrain': detect.c:1971:1: warning: old-style function definition [-Wold-style-definition] 1971 | reveal_terrain(full, which_subset) | ^~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o dig.o dig.c In file included from ../include/hack.h:10, from dig.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition dig.c: In function 'mkcavepos': dig.c:48:1: warning: old-style function definition [-Wold-style-definition] 48 | mkcavepos(x, y, dist, waslit, rockit) | ^~~~~~~~~ dig.c: In function 'mkcavearea': dig.c:91:1: warning: old-style function definition [-Wold-style-definition] 91 | mkcavearea(rockit) | ^~~~~~~~~~ dig.c: In function 'dig_typ': dig.c:143:1: warning: old-style function definition [-Wold-style-definition] 143 | dig_typ(otmp, x, y) | ^~~~~~~ dig.c: In function 'dig_check': dig.c:183:1: warning: old-style function definition [-Wold-style-definition] 183 | dig_check(madeby, verbose, x, y) | ^~~~~~~~~ dig.c: In function 'fillholetyp': dig.c:504:1: warning: old-style function definition [-Wold-style-definition] 504 | fillholetyp(x, y, fill_if_any) | ^~~~~~~~~~~ dig.c: In function 'digactualhole': dig.c:539:1: warning: old-style function definition [-Wold-style-definition] 539 | digactualhole(x, y, madeby, ttyp) | ^~~~~~~~~~~~~ dig.c: In function 'liquid_flow': dig.c:738:1: warning: old-style function definition [-Wold-style-definition] 738 | liquid_flow(x, y, typ, ttmp, fillmsg) | ^~~~~~~~~~~ dig.c: In function 'dighole': dig.c:763:1: warning: old-style function definition [-Wold-style-definition] 763 | dighole(pit_only, by_magic, cc) | ^~~~~~~ dig.c: In function 'dig_up_grave': dig.c:899:1: warning: old-style function definition [-Wold-style-definition] 899 | dig_up_grave(cc) | ^~~~~~~~~~~~ dig.c: In function 'use_pick_axe': dig.c:959:1: warning: old-style function definition [-Wold-style-definition] 959 | use_pick_axe(obj) | ^~~~~~~~~~~~ dig.c: In function 'use_pick_axe2': dig.c:1025:1: warning: old-style function definition [-Wold-style-definition] 1025 | use_pick_axe2(obj) | ^~~~~~~~~~~~~ dig.c: In function 'watch_dig': dig.c:1214:1: warning: old-style function definition [-Wold-style-definition] 1214 | watch_dig(mtmp, x, y, zap) | ^~~~~~~~~ dig.c: In function 'mdig_tunnel': dig.c:1260:1: warning: old-style function definition [-Wold-style-definition] 1260 | mdig_tunnel(mtmp) | ^~~~~~~~~~~ dig.c: In function 'draft_message': dig.c:1343:1: warning: old-style function definition [-Wold-style-definition] 1343 | draft_message(unexpected) | ^~~~~~~~~~~~~ dig.c: In function 'adj_pit_checks': dig.c:1599:1: warning: old-style function definition [-Wold-style-definition] 1599 | adj_pit_checks(cc, msg) | ^~~~~~~~~~~~~~ dig.c: In function 'pit_flow': dig.c:1690:1: warning: old-style function definition [-Wold-style-definition] 1690 | pit_flow(trap, filltyp) | ^~~~~~~~ dig.c: In function 'buried_ball': dig.c:1727:1: warning: old-style function definition [-Wold-style-definition] 1727 | buried_ball(cc) | ^~~~~~~~~~~ dig.c: In function 'bury_an_obj': dig.c:1823:1: warning: old-style function definition [-Wold-style-definition] 1823 | bury_an_obj(otmp, dealloced) | ^~~~~~~~~~~ dig.c: In function 'bury_objs': dig.c:1892:1: warning: old-style function definition [-Wold-style-definition] 1892 | bury_objs(x, y) | ^~~~~~~~~ dig.c: In function 'unearth_objs': dig.c:1927:1: warning: old-style function definition [-Wold-style-definition] 1927 | unearth_objs(x, y) | ^~~~~~~~~~~~ dig.c: In function 'rot_organic': dig.c:1967:1: warning: old-style function definition [-Wold-style-definition] 1967 | rot_organic(arg, timeout) | ^~~~~~~~~~~ dig.c: In function 'rot_corpse': dig.c:1990:1: warning: old-style function definition [-Wold-style-definition] 1990 | rot_corpse(arg, timeout) | ^~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o display.o display.c In file included from ../include/hack.h:10, from display.c:124: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition display.c: In function 'magic_map_background': display.c:158:1: warning: old-style function definition [-Wold-style-definition] 158 | magic_map_background(x, y, show) | ^~~~~~~~~~~~~~~~~~~~ display.c: In function 'map_background': display.c:208:1: warning: old-style function definition [-Wold-style-definition] 208 | map_background(x, y, show) | ^~~~~~~~~~~~~~ display.c: In function 'map_trap': display.c:227:1: warning: old-style function definition [-Wold-style-definition] 227 | map_trap(trap, show) | ^~~~~~~~ display.c: In function 'map_object': display.c:247:1: warning: old-style function definition [-Wold-style-definition] 247 | map_object(obj, show) | ^~~~~~~~~~ display.c: In function 'map_invisible': display.c:278:1: warning: old-style function definition [-Wold-style-definition] 278 | map_invisible(x, y) | ^~~~~~~~~~~~~ display.c: In function 'unmap_invisible': display.c:289:1: warning: old-style function definition [-Wold-style-definition] 289 | unmap_invisible(x, y) | ^~~~~~~~~~~~~~~ display.c: In function 'unmap_object': display.c:311:1: warning: old-style function definition [-Wold-style-definition] 311 | unmap_object(x, y) | ^~~~~~~~~~~~ display.c: In function 'map_location': display.c:359:1: warning: old-style function definition [-Wold-style-definition] 359 | map_location(x, y, show) | ^~~~~~~~~~~~ display.c: In function 'show_mon_or_warn': display.c:367:1: warning: old-style function definition [-Wold-style-definition] 367 | show_mon_or_warn(x, y, monglyph) | ^~~~~~~~~~~~~~~~ display.c: In function 'display_monster': display.c:400:1: warning: old-style function definition [-Wold-style-definition] 400 | display_monster(x, y, mon, sightflags, worm_tail) | ^~~~~~~~~~~~~~~ display.c: In function 'display_warning': display.c:514:1: warning: old-style function definition [-Wold-style-definition] 514 | display_warning(mon) | ^~~~~~~~~~~~~~~ display.c: In function 'warning_of': display.c:534:1: warning: old-style function definition [-Wold-style-definition] 534 | warning_of(mon) | ^~~~~~~~~~ display.c: In function 'feel_newsym': display.c:553:1: warning: old-style function definition [-Wold-style-definition] 553 | feel_newsym(x, y) | ^~~~~~~~~~~ display.c: In function 'feel_location': display.c:574:1: warning: old-style function definition [-Wold-style-definition] 574 | feel_location(x, y) | ^~~~~~~~~~~~~ display.c: In function 'newsym': display.c:733:1: warning: old-style function definition [-Wold-style-definition] 733 | newsym(x, y) | ^~~~~~ display.c: In function 'shieldeff': display.c:901:1: warning: old-style function definition [-Wold-style-definition] 901 | shieldeff(x, y) | ^~~~~~~~~ display.c: In function 'tether_glyph': display.c:919:1: warning: old-style function definition [-Wold-style-definition] 919 | tether_glyph(x, y) | ^~~~~~~~~~~~ display.c: In function 'tmp_at': display.c:965:1: warning: old-style function definition [-Wold-style-definition] 965 | tmp_at(x, y) | ^~~~~~ display.c: In function 'flash_glyph_at': display.c:1095:1: warning: old-style function definition [-Wold-style-definition] 1095 | flash_glyph_at(x, y, tg, rpt) | ^~~~~~~~~~~~~~ display.c: In function 'swallowed': display.c:1124:1: warning: old-style function definition [-Wold-style-definition] 1124 | swallowed(first) | ^~~~~~~~~ display.c: In function 'under_water': display.c:1188:1: warning: old-style function definition [-Wold-style-definition] 1188 | under_water(mode) | ^~~~~~~~~~~ display.c: In function 'under_ground': display.c:1239:1: warning: old-style function definition [-Wold-style-definition] 1239 | under_ground(mode) | ^~~~~~~~~~~~ display.c: In function 'newsym_force': display.c:1479:1: warning: old-style function definition [-Wold-style-definition] 1479 | newsym_force(x, y) | ^~~~~~~~~~~~ display.c: In function 'show_glyph': display.c:1494:1: warning: old-style function definition [-Wold-style-definition] 1494 | show_glyph(x, y, glyph) | ^~~~~~~~~~ display.c: In function 'row_refresh': display.c:1610:1: warning: old-style function definition [-Wold-style-definition] 1610 | row_refresh(start, stop, y) | ^~~~~~~~~~~ display.c: In function 'flush_screen': display.c:1640:1: warning: old-style function definition [-Wold-style-definition] 1640 | flush_screen(cursor_on_u) | ^~~~~~~~~~~~ display.c: In function 'back_to_glyph': display.c:1701:1: warning: old-style function definition [-Wold-style-definition] 1701 | back_to_glyph(x, y) | ^~~~~~~~~~~~~ display.c: In function 'swallow_to_glyph': display.c:1833:1: warning: old-style function definition [-Wold-style-definition] 1833 | swallow_to_glyph(mnum, loc) | ^~~~~~~~~~~~~~~~ display.c: In function 'zapdir_to_glyph': display.c:1858:1: warning: old-style function definition [-Wold-style-definition] 1858 | zapdir_to_glyph(dx, dy, beam_type) | ^~~~~~~~~~~~~~~ display.c: In function 'glyph_at': display.c:1877:1: warning: old-style function definition [-Wold-style-definition] 1877 | glyph_at(x, y) | ^~~~~~~~ display.c: In function 'get_bk_glyph': display.c:1899:1: warning: old-style function definition [-Wold-style-definition] 1899 | get_bk_glyph(x, y) | ^~~~~~~~~~~~ display.c: In function 'check_pos': display.c:2000:1: warning: old-style function definition [-Wold-style-definition] 2000 | check_pos(x, y, which) | ^~~~~~~~~ display.c: In function 'set_twall': display.c:2033:1: warning: old-style function definition [-Wold-style-definition] 2033 | set_twall(x0, y0, x1, y1, x2, y2, x3, y3) | ^~~~~~~~~ display.c: In function 'set_wall': display.c:2058:1: warning: old-style function definition [-Wold-style-definition] 2058 | set_wall(x, y, horiz) | ^~~~~~~~ display.c: In function 'set_corn': display.c:2080:1: warning: old-style function definition [-Wold-style-definition] 2080 | set_corn(x1, y1, x2, y2, x3, y3, x4, y4) | ^~~~~~~~ display.c: In function 'set_crosswall': display.c:2109:1: warning: old-style function definition [-Wold-style-definition] 2109 | set_crosswall(x, y) | ^~~~~~~~~~~~~ display.c: In function 'set_seenv': display.c:2232:1: warning: old-style function definition [-Wold-style-definition] 2232 | set_seenv(lev, x0, y0, x, y) | ^~~~~~~~~ display.c: In function 'unset_seenv': display.c:2244:1: warning: old-style function definition [-Wold-style-definition] 2244 | unset_seenv(lev, x0, y0, x1, y1) | ^~~~~~~~~~~ display.c: In function 't_warn': display.c:2311:1: warning: old-style function definition [-Wold-style-definition] 2311 | t_warn(lev) | ^~~~~~ display.c: In function 'wall_angle': display.c:2344:1: warning: old-style function definition [-Wold-style-definition] 2344 | wall_angle(lev) | ^~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o dlb.o dlb.c In file included from dlb.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition dlb.c: In function 'readlibdir': dlb.c:134:1: warning: old-style function definition [-Wold-style-definition] 134 | readlibdir(lp) | ^~~~~~~~~~ dlb.c: In function 'find_file': dlb.c:183:1: warning: old-style function definition [-Wold-style-definition] 183 | find_file(name, lib, startp, sizep) | ^~~~~~~~~ dlb.c: In function 'open_library': dlb.c:212:1: warning: old-style function definition [-Wold-style-definition] 212 | open_library(lib_name, lp) | ^~~~~~~~~~~~ dlb.c: In function 'close_library': dlb.c:231:1: warning: old-style function definition [-Wold-style-definition] 231 | close_library(lp) | ^~~~~~~~~~~~~ dlb.c: In function 'lib_dlb_fopen': dlb.c:288:1: warning: old-style function definition [-Wold-style-definition] 288 | lib_dlb_fopen(dp, name, mode) | ^~~~~~~~~~~~~ dlb.c: In function 'lib_dlb_fclose': dlb.c:310:1: warning: old-style function definition [-Wold-style-definition] 310 | lib_dlb_fclose(dp) | ^~~~~~~~~~~~~~ dlb.c: In function 'lib_dlb_fread': dlb.c:318:1: warning: old-style function definition [-Wold-style-definition] 318 | lib_dlb_fread(buf, size, quan, dp) | ^~~~~~~~~~~~~ dlb.c: In function 'lib_dlb_fseek': dlb.c:346:1: warning: old-style function definition [-Wold-style-definition] 346 | lib_dlb_fseek(dp, pos, whence) | ^~~~~~~~~~~~~ dlb.c: In function 'lib_dlb_fgets': dlb.c:374:1: warning: old-style function definition [-Wold-style-definition] 374 | lib_dlb_fgets(buf, len, dp) | ^~~~~~~~~~~~~ dlb.c: In function 'lib_dlb_fgetc': dlb.c:409:1: warning: old-style function definition [-Wold-style-definition] 409 | lib_dlb_fgetc(dp) | ^~~~~~~~~~~~~ dlb.c: In function 'lib_dlb_ftell': dlb.c:420:1: warning: old-style function definition [-Wold-style-definition] 420 | lib_dlb_ftell(dp) | ^~~~~~~~~~~~~ dlb.c: In function 'dlb_fopen': dlb.c:486:1: warning: old-style function definition [-Wold-style-definition] 486 | dlb_fopen(name, mode) | ^~~~~~~~~ dlb.c: In function 'dlb_fclose': dlb.c:514:1: warning: old-style function definition [-Wold-style-definition] 514 | dlb_fclose(dp) | ^~~~~~~~~~ dlb.c: In function 'dlb_fread': dlb.c:531:1: warning: old-style function definition [-Wold-style-definition] 531 | dlb_fread(buf, size, quan, dp) | ^~~~~~~~~ dlb.c: In function 'dlb_fseek': dlb.c:544:1: warning: old-style function definition [-Wold-style-definition] 544 | dlb_fseek(dp, pos, whence) | ^~~~~~~~~ dlb.c: In function 'dlb_fgets': dlb.c:557:1: warning: old-style function definition [-Wold-style-definition] 557 | dlb_fgets(buf, len, dp) | ^~~~~~~~~ dlb.c: In function 'dlb_fgetc': dlb.c:570:1: warning: old-style function definition [-Wold-style-definition] 570 | dlb_fgetc(dp) | ^~~~~~~~~ dlb.c: In function 'dlb_ftell': dlb.c:581:1: warning: old-style function definition [-Wold-style-definition] 581 | dlb_ftell(dp) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o do.o do.c In file included from ../include/hack.h:10, from do.c:8: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition do.c: In function 'boulder_hits_pool': do.c:49:1: warning: old-style function definition [-Wold-style-definition] 49 | boulder_hits_pool(otmp, rx, ry, pushing) | ^~~~~~~~~~~~~~~~~ do.c: In function 'flooreffects': do.c:134:1: warning: old-style function definition [-Wold-style-definition] 134 | flooreffects(obj, x, y, verb) | ^~~~~~~~~~~~ do.c: In function 'doaltarobj': do.c:271:1: warning: old-style function definition [-Wold-style-definition] 271 | doaltarobj(obj) | ^~~~~~~~~~ do.c: In function 'trycall': do.c:299:1: warning: old-style function definition [-Wold-style-definition] 299 | trycall(obj) | ^~~~~~~ do.c: In function 'dosinkring': do.c:397:1: warning: old-style function definition [-Wold-style-definition] 397 | dosinkring(obj) | ^~~~~~~~~~ do.c: In function 'canletgo': do.c:563:1: warning: old-style function definition [-Wold-style-definition] 563 | canletgo(obj, word) | ^~~~~~~~ do.c: In function 'drop': do.c:601:1: warning: old-style function definition [-Wold-style-definition] 601 | drop(obj) | ^~~~ do.c: In function 'dropx': do.c:669:1: warning: old-style function definition [-Wold-style-definition] 669 | dropx(obj) | ^~~~~ do.c: In function 'dropy': do.c:687:1: warning: old-style function definition [-Wold-style-definition] 687 | dropy(obj) | ^~~~~ do.c: In function 'dropz': do.c:695:1: warning: old-style function definition [-Wold-style-definition] 695 | dropz(obj, with_impact) | ^~~~~ do.c: In function 'obj_no_longer_held': do.c:766:1: warning: old-style function definition [-Wold-style-definition] 766 | obj_no_longer_held(obj) | ^~~~~~~~~~~~~~~~~~ do.c: In function 'menu_drop': do.c:822:1: warning: old-style function definition [-Wold-style-definition] 822 | menu_drop(retry) | ^~~~~~~~~ do.c: In function 'u_collide_m': do.c:1219:1: warning: old-style function definition [-Wold-style-definition] 1219 | u_collide_m(mtmp) | ^~~~~~~~~~~ do.c: In function 'goto_level': do.c:1256:1: warning: old-style function definition [-Wold-style-definition] 1256 | goto_level(newlevel, at_stairs, falling, portal) | ^~~~~~~~~~ do.c: In function 'schedule_goto': do.c:1718:1: warning: old-style function definition [-Wold-style-definition] 1718 | schedule_goto(tolev, at_stairs, falling, portal_flag, pre_msg, post_msg) | ^~~~~~~~~~~~~ do.c: In function 'revive_corpse': do.c:1780:1: warning: old-style function definition [-Wold-style-definition] 1780 | revive_corpse(corpse) | ^~~~~~~~~~~~~ do.c: In function 'revive_mon': do.c:1869:1: warning: old-style function definition [-Wold-style-definition] 1869 | revive_mon(arg, timeout) | ^~~~~~~~~~ do.c: In function 'set_wounded_legs': do.c:1966:1: warning: old-style function definition [-Wold-style-definition] 1966 | set_wounded_legs(side, timex) | ^~~~~~~~~~~~~~~~ do.c: In function 'heal_legs': do.c:1988:1: warning: old-style function definition [-Wold-style-definition] 1988 | heal_legs(how) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o do_name.o do_name.c In file included from ../include/hack.h:10, from do_name.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition do_name.c: In function 'getpos_sethilite': do_name.c:46:1: warning: old-style function definition [-Wold-style-definition] 46 | getpos_sethilite(gp_hilitef, gp_getvalidf) | ^~~~~~~~~~~~~~~~ do_name.c: In function 'getpos_help_keyxhelp': do_name.c:73:1: warning: old-style function definition [-Wold-style-definition] 73 | getpos_help_keyxhelp(tmpwin, k1, k2, gloc) | ^~~~~~~~~~~~~~~~~~~~ do_name.c: In function 'getpos_help': do_name.c:92:1: warning: old-style function definition [-Wold-style-definition] 92 | getpos_help(force, goal) | ^~~~~~~~~~~ do_name.c: In function 'cmp_coord_distu': do_name.c:221:1: warning: old-style function definition [-Wold-style-definition] 221 | cmp_coord_distu(a, b) | ^~~~~~~~~~~~~~~ do_name.c: In function 'gloc_filter_classify_glyph': do_name.c:257:1: warning: old-style function definition [-Wold-style-definition] 257 | gloc_filter_classify_glyph(glyph) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ do_name.c: In function 'gloc_filter_floodfill_matcharea': do_name.c:281:1: warning: old-style function definition [-Wold-style-definition] 281 | gloc_filter_floodfill_matcharea(x, y) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ do_name.c: In function 'gloc_filter_floodfill': do_name.c:300:1: warning: old-style function definition [-Wold-style-definition] 300 | gloc_filter_floodfill(x, y) | ^~~~~~~~~~~~~~~~~~~~~ do_name.c: In function 'gather_locs_interesting': do_name.c:340:1: warning: old-style function definition [-Wold-style-definition] 340 | gather_locs_interesting(x, y, gloc) | ^~~~~~~~~~~~~~~~~~~~~~~ do_name.c: In function 'gather_locs': do_name.c:412:1: warning: old-style function definition [-Wold-style-definition] 412 | gather_locs(arr_p, cnt_p, gloc) | ^~~~~~~~~~~ do_name.c: In function 'dxdy_to_dist_descr': do_name.c:459:1: warning: old-style function definition [-Wold-style-definition] 459 | dxdy_to_dist_descr(dx, dy, fulldir) | ^~~~~~~~~~~~~~~~~~ do_name.c: In function 'coord_desc': do_name.c:497:1: warning: old-style function definition [-Wold-style-definition] 497 | coord_desc(x, y, outbuf, cmode) | ^~~~~~~~~~ do_name.c: In function 'auto_describe': do_name.c:539:1: warning: old-style function definition [-Wold-style-definition] 539 | auto_describe(cx, cy) | ^~~~~~~~~~~~~ do_name.c: In function 'getpos_menu': do_name.c:565:1: warning: old-style function definition [-Wold-style-definition] 565 | getpos_menu(ccp, gloc) | ^~~~~~~~~~~ do_name.c: In function 'getpos': do_name.c:629:1: warning: old-style function definition [-Wold-style-definition] 629 | getpos(ccp, force, goal) | ^~~~~~ do_name.c: In function 'new_mname': do_name.c:991:1: warning: old-style function definition [-Wold-style-definition] 991 | new_mname(mon, lth) | ^~~~~~~~~ do_name.c: In function 'free_mname': do_name.c:1011:1: warning: old-style function definition [-Wold-style-definition] 1011 | free_mname(mon) | ^~~~~~~~~~ do_name.c: In function 'new_oname': do_name.c:1022:1: warning: old-style function definition [-Wold-style-definition] 1022 | new_oname(obj, lth) | ^~~~~~~~~ do_name.c: In function 'free_oname': do_name.c:1042:1: warning: old-style function definition [-Wold-style-definition] 1042 | free_oname(obj) | ^~~~~~~~~~ do_name.c: In function 'safe_oname': do_name.c:1057:1: warning: old-style function definition [-Wold-style-definition] 1057 | safe_oname(obj) | ^~~~~~~~~~ do_name.c: In function 'name_from_player': do_name.c:1068:1: warning: old-style function definition [-Wold-style-definition] 1068 | name_from_player(outbuf, prompt, defres) | ^~~~~~~~~~~~~~~~ do_name.c: In function 'christen_monst': do_name.c:1096:1: warning: old-style function definition [-Wold-style-definition] 1096 | christen_monst(mtmp, name) | ^~~~~~~~~~~~~~ do_name.c: In function 'alreadynamed': do_name.c:1119:1: warning: old-style function definition [-Wold-style-definition] 1119 | alreadynamed(mtmp, monnambuf, usrbuf) | ^~~~~~~~~~~~ do_name.c: In function 'do_oname': do_name.c:1228:1: warning: old-style function definition [-Wold-style-definition] 1228 | do_oname(obj) | ^~~~~~~~ do_name.c: In function 'oname': do_name.c:1296:1: warning: old-style function definition [-Wold-style-definition] 1296 | oname(obj, name) | ^~~~~ do_name.c: In function 'objtyp_is_callable': do_name.c:1348:1: warning: old-style function definition [-Wold-style-definition] 1348 | objtyp_is_callable(i) | ^~~~~~~~~~~~~~~~~~ do_name.c: In function 'docall_xname': do_name.c:1449:1: warning: old-style function definition [-Wold-style-definition] 1449 | docall_xname(obj) | ^~~~~~~~~~~~ do_name.c: In function 'docall': do_name.c:1481:1: warning: old-style function definition [-Wold-style-definition] 1481 | docall(obj) | ^~~~~~ do_name.c: In function 'x_monnam': do_name.c:1643:1: warning: old-style function definition [-Wold-style-definition] 1643 | x_monnam(mtmp, article, adjective, suppress, called) | ^~~~~~~~ do_name.c: In function 'l_monnam': do_name.c:1827:1: warning: old-style function definition [-Wold-style-definition] 1827 | l_monnam(mtmp) | ^~~~~~~~ do_name.c: In function 'mon_nam': do_name.c:1835:1: warning: old-style function definition [-Wold-style-definition] 1835 | mon_nam(mtmp) | ^~~~~~~ do_name.c: In function 'noit_mon_nam': do_name.c:1847:1: warning: old-style function definition [-Wold-style-definition] 1847 | noit_mon_nam(mtmp) | ^~~~~~~~~~~~ do_name.c: In function 'Monnam': do_name.c:1857:1: warning: old-style function definition [-Wold-style-definition] 1857 | Monnam(mtmp) | ^~~~~~ do_name.c: In function 'noit_Monnam': do_name.c:1867:1: warning: old-style function definition [-Wold-style-definition] 1867 | noit_Monnam(mtmp) | ^~~~~~~~~~~ do_name.c: In function 'noname_monnam': do_name.c:1878:1: warning: old-style function definition [-Wold-style-definition] 1878 | noname_monnam(mtmp, article) | ^~~~~~~~~~~~~ do_name.c: In function 'm_monnam': do_name.c:1888:1: warning: old-style function definition [-Wold-style-definition] 1888 | m_monnam(mtmp) | ^~~~~~~~ do_name.c: In function 'y_monnam': do_name.c:1896:1: warning: old-style function definition [-Wold-style-definition] 1896 | y_monnam(mtmp) | ^~~~~~~~ do_name.c: In function 'Adjmonnam': do_name.c:1912:1: warning: old-style function definition [-Wold-style-definition] 1912 | Adjmonnam(mtmp, adj) | ^~~~~~~~~ do_name.c: In function 'a_monnam': do_name.c:1924:1: warning: old-style function definition [-Wold-style-definition] 1924 | a_monnam(mtmp) | ^~~~~~~~ do_name.c: In function 'Amonnam': do_name.c:1932:1: warning: old-style function definition [-Wold-style-definition] 1932 | Amonnam(mtmp) | ^~~~~~~ do_name.c: In function 'distant_monnam': do_name.c:1944:1: warning: old-style function definition [-Wold-style-definition] 1944 | distant_monnam(mon, article, outbuf) | ^~~~~~~~~~~~~~ do_name.c: In function 'mon_nam_too': do_name.c:1965:1: warning: old-style function definition [-Wold-style-definition] 1965 | mon_nam_too(mon, other_mon) | ^~~~~~~~~~~ do_name.c: In function 'minimal_monnam': do_name.c:1992:1: warning: old-style function definition [-Wold-style-definition] 1992 | minimal_monnam(mon, ckloc) | ^~~~~~~~~~~~~~ do_name.c: In function 'bogusmon': do_name.c:2027:1: warning: old-style function definition [-Wold-style-definition] 2027 | bogusmon(buf, code) | ^~~~~~~~ do_name.c: In function 'rndmonnam': do_name.c:2049:1: warning: old-style function definition [-Wold-style-definition] 2049 | rndmonnam(code) | ^~~~~~~~~ do_name.c: In function 'bogon_is_pname': do_name.c:2076:1: warning: old-style function definition [-Wold-style-definition] 2076 | bogon_is_pname(code) | ^~~~~~~~~~~~~~ do_name.c: In function 'hcolor': do_name.c:2114:1: warning: old-style function definition [-Wold-style-definition] 2114 | hcolor(colorpref) | ^~~~~~ do_name.c: In function 'hliquid': do_name.c:2144:1: warning: old-style function definition [-Wold-style-definition] 2144 | hliquid(liquidpref) | ^~~~~~~ do_name.c: In function 'coyotename': do_name.c:2165:1: warning: old-style function definition [-Wold-style-definition] 2165 | coyotename(mtmp, buf) | ^~~~~~~~~~ do_name.c: In function 'rndorcname': do_name.c:2179:1: warning: old-style function definition [-Wold-style-definition] 2179 | rndorcname(s) | ^~~~~~~~~~ do_name.c: In function 'christen_orc': do_name.c:2199:1: warning: old-style function definition [-Wold-style-definition] 2199 | christen_orc(mtmp, gang, other) | ^~~~~~~~~~~~ do_name.c: In function 'noveltitle': do_name.c:2247:1: warning: old-style function definition [-Wold-style-definition] 2247 | noveltitle(novidx) | ^~~~~~~~~~ do_name.c: In function 'lookup_novel': do_name.c:2263:1: warning: old-style function definition [-Wold-style-definition] 2263 | lookup_novel(lookname, idx) | ^~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o do_wear.o do_wear.c In file included from ../include/hack.h:10, from do_wear.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition do_wear.c: In function 'fingers_or_gloves': do_wear.c:49:1: warning: old-style function definition [-Wold-style-definition] 49 | fingers_or_gloves(check_gloves) | ^~~~~~~~~~~~~~~~~ do_wear.c: In function 'off_msg': do_wear.c:58:1: warning: old-style function definition [-Wold-style-definition] 58 | off_msg(otmp) | ^~~~~~~ do_wear.c: In function 'on_msg': do_wear.c:67:1: warning: old-style function definition [-Wold-style-definition] 67 | on_msg(otmp) | ^~~~~~ do_wear.c: In function 'toggle_stealth': do_wear.c:92:1: warning: old-style function definition [-Wold-style-definition] 92 | toggle_stealth(obj, oldprop, on) | ^~~~~~~~~~~~~~ do_wear.c: In function 'toggle_displacement': do_wear.c:126:1: warning: old-style function definition [-Wold-style-definition] 126 | toggle_displacement(obj, oldprop, on) | ^~~~~~~~~~~~~~~~~~~ do_wear.c: In function 'wielding_corpse': do_wear.c:529:1: warning: old-style function definition [-Wold-style-definition] 529 | wielding_corpse(obj, voluntary) | ^~~~~~~~~~~~~~~ do_wear.c: In function 'learnring': do_wear.c:852:1: warning: old-style function definition [-Wold-style-definition] 852 | learnring(ring, observed) | ^~~~~~~~~ do_wear.c: In function 'Ring_on': do_wear.c:884:1: warning: old-style function definition [-Wold-style-definition] 884 | Ring_on(obj) | ^~~~~~~ do_wear.c: In function 'Ring_off_or_gone': do_wear.c:1001:1: warning: old-style function definition [-Wold-style-definition] 1001 | Ring_off_or_gone(obj, gone) | ^~~~~~~~~~~~~~~~ do_wear.c: In function 'Ring_off': do_wear.c:1113:1: warning: old-style function definition [-Wold-style-definition] 1113 | Ring_off(obj) | ^~~~~~~~ do_wear.c: In function 'Ring_gone': do_wear.c:1120:1: warning: old-style function definition [-Wold-style-definition] 1120 | Ring_gone(obj) | ^~~~~~~~~ do_wear.c: In function 'Blindf_on': do_wear.c:1127:1: warning: old-style function definition [-Wold-style-definition] 1127 | Blindf_on(otmp) | ^~~~~~~~~ do_wear.c: In function 'Blindf_off': do_wear.c:1163:1: warning: old-style function definition [-Wold-style-definition] 1163 | Blindf_off(otmp) | ^~~~~~~~~~ do_wear.c: In function 'set_wear': do_wear.c:1204:1: warning: old-style function definition [-Wold-style-definition] 1204 | set_wear(obj) | ^~~~~~~~ do_wear.c: In function 'donning': do_wear.c:1239:1: warning: old-style function definition [-Wold-style-definition] 1239 | donning(otmp) | ^~~~~~~ do_wear.c: In function 'doffing': do_wear.c:1269:1: warning: old-style function definition [-Wold-style-definition] 1269 | doffing(otmp) | ^~~~~~~ do_wear.c: In function 'cancel_doff': do_wear.c:1312:1: warning: old-style function definition [-Wold-style-definition] 1312 | cancel_doff(obj, slotmask) | ^~~~~~~~~~~ do_wear.c: In function 'stop_donning': do_wear.c:1351:1: warning: old-style function definition [-Wold-style-definition] 1351 | stop_donning(stolenobj) | ^~~~~~~~~~~~ do_wear.c: In function 'count_worn_stuff': do_wear.c:1404:1: warning: old-style function definition [-Wold-style-definition] 1404 | count_worn_stuff(which, accessorizing) | ^~~~~~~~~~~~~~~~ do_wear.c: In function 'armor_or_accessory_off': do_wear.c:1442:1: warning: old-style function definition [-Wold-style-definition] 1442 | armor_or_accessory_off(obj) | ^~~~~~~~~~~~~~~~~~~~~~ do_wear.c: In function 'cursed': do_wear.c:1549:1: warning: old-style function definition [-Wold-style-definition] 1549 | cursed(otmp) | ^~~~~~ do_wear.c: In function 'armoroff': do_wear.c:1577:1: warning: old-style function definition [-Wold-style-definition] 1577 | armoroff(otmp) | ^~~~~~~~ do_wear.c: In function 'already_wearing': do_wear.c:1662:1: warning: old-style function definition [-Wold-style-definition] 1662 | already_wearing(cc) | ^~~~~~~~~~~~~~~ do_wear.c: In function 'already_wearing2': do_wear.c:1669:1: warning: old-style function definition [-Wold-style-definition] 1669 | already_wearing2(cc1, cc2) | ^~~~~~~~~~~~~~~~ do_wear.c: In function 'canwearobj': do_wear.c:1683:1: warning: old-style function definition [-Wold-style-definition] 1683 | canwearobj(otmp, mask, noisy) | ^~~~~~~~~~ do_wear.c: In function 'accessory_or_armor_on': do_wear.c:1865:1: warning: old-style function definition [-Wold-style-definition] 1865 | accessory_or_armor_on(obj) | ^~~~~~~~~~~~~~~~~~~~~ do_wear.c: In function 'some_armor': do_wear.c:2242:1: warning: old-style function definition [-Wold-style-definition] 2242 | some_armor(victim) | ^~~~~~~~~~ do_wear.c: In function 'stuck_ring': do_wear.c:2270:1: warning: old-style function definition [-Wold-style-definition] 2270 | stuck_ring(ring, otyp) | ^~~~~~~~~~ do_wear.c: In function 'select_off': do_wear.c:2311:1: warning: old-style function definition [-Wold-style-definition] 2311 | select_off(otmp) | ^~~~~~~~~~ do_wear.c: In function 'menu_remarm': do_wear.c:2648:1: warning: old-style function definition [-Wold-style-definition] 2648 | menu_remarm(retry) | ^~~~~~~~~~~ do_wear.c: In function 'destroy_arm': do_wear.c:2701:1: warning: old-style function definition [-Wold-style-definition] 2701 | destroy_arm(atmp) | ^~~~~~~~~~~ do_wear.c: In function 'adj_abon': do_wear.c:2764:1: warning: old-style function definition [-Wold-style-definition] 2764 | adj_abon(otmp, delta) | ^~~~~~~~ do_wear.c: In function 'inaccessible_equipment': do_wear.c:2789:1: warning: old-style function definition [-Wold-style-definition] 2789 | inaccessible_equipment(obj, verb, only_if_known_cursed) | ^~~~~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o dog.o dog.c In file included from ../include/hack.h:10, from dog.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition dog.c: In function 'newedog': dog.c:11:1: warning: old-style function definition [-Wold-style-definition] 11 | newedog(mtmp) | ^~~~~~~ dog.c: In function 'free_edog': dog.c:23:1: warning: old-style function definition [-Wold-style-definition] 23 | free_edog(mtmp) | ^~~~~~~~~ dog.c: In function 'initedog': dog.c:34:1: warning: old-style function definition [-Wold-style-definition] 34 | initedog(mtmp) | ^~~~~~~~ dog.c: In function 'make_familiar': dog.c:70:1: warning: old-style function definition [-Wold-style-definition] 70 | make_familiar(otmp, x, y, quietly) | ^~~~~~~~~~~~~ dog.c: In function 'mon_arrive': dog.c:302:1: warning: old-style function definition [-Wold-style-definition] 302 | mon_arrive(mtmp, with_you) | ^~~~~~~~~~ dog.c: In function 'mon_catchup_elapsed_time': dog.c:465:1: warning: old-style function definition [-Wold-style-definition] 465 | mon_catchup_elapsed_time(mtmp, nmv) | ^~~~~~~~~~~~~~~~~~~~~~~~ dog.c: In function 'keepdogs': dog.c:565:1: warning: old-style function definition [-Wold-style-definition] 565 | keepdogs(pets_only) | ^~~~~~~~ dog.c: In function 'migrate_to_level': dog.c:676:1: warning: old-style function definition [-Wold-style-definition] 676 | migrate_to_level(mtmp, tolev, xyloc, cc) | ^~~~~~~~~~~~~~~~ dog.c: In function 'dogfood': dog.c:736:1: warning: old-style function definition [-Wold-style-definition] 736 | dogfood(mon, obj) | ^~~~~~~ dog.c: In function 'tamedog': dog.c:866:1: warning: old-style function definition [-Wold-style-definition] 866 | tamedog(mtmp, obj) | ^~~~~~~ dog.c: In function 'wary_dog': dog.c:962:1: warning: old-style function definition [-Wold-style-definition] 962 | wary_dog(mtmp, was_dead) | ^~~~~~~~ dog.c: In function 'abuse_dog': dog.c:1033:1: warning: old-style function definition [-Wold-style-definition] 1033 | abuse_dog(mtmp) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o dogmove.o dogmove.c In file included from ../include/hack.h:10, from dogmove.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition dogmove.c: In function 'droppables': dogmove.c:26:1: warning: old-style function definition [-Wold-style-definition] 26 | droppables(mon) | ^~~~~~~~~~ dogmove.c: In function 'cursed_object_at': dogmove.c:130:1: warning: old-style function definition [-Wold-style-definition] 130 | cursed_object_at(x, y) | ^~~~~~~~~~~~~~~~ dogmove.c: In function 'dog_nutrition': dogmove.c:142:1: warning: old-style function definition [-Wold-style-definition] 142 | dog_nutrition(mtmp, obj) | ^~~~~~~~~~~~~ dogmove.c: In function 'dog_eat': dogmove.c:206:1: warning: old-style function definition [-Wold-style-definition] 206 | dog_eat(mtmp, obj, x, y, devour) | ^~~~~~~ dogmove.c: In function 'dog_hunger': dogmove.c:357:1: warning: old-style function definition [-Wold-style-definition] 357 | dog_hunger(mtmp, edog) | ^~~~~~~~~~ dogmove.c: In function 'dog_invent': dogmove.c:403:1: warning: old-style function definition [-Wold-style-definition] 403 | dog_invent(mtmp, edog, udist) | ^~~~~~~~~~ dogmove.c: In function 'dog_goal': dogmove.c:476:1: warning: old-style function definition [-Wold-style-definition] 476 | dog_goal(mtmp, edog, after, udist, whappr) | ^~~~~~~~ dogmove.c: In function 'find_targ': dogmove.c:620:1: warning: old-style function definition [-Wold-style-definition] 620 | find_targ(mtmp, dx, dy, maxdist) | ^~~~~~~~~ dogmove.c: In function 'find_friends': dogmove.c:663:1: warning: old-style function definition [-Wold-style-definition] 663 | find_friends(mtmp, mtarg, maxdist) | ^~~~~~~~~~~~ dogmove.c: In function 'score_targ': dogmove.c:709:1: warning: old-style function definition [-Wold-style-definition] 709 | score_targ(mtmp, mtarg) | ^~~~~~~~~~ dogmove.c: In function 'best_target': dogmove.c:810:1: warning: old-style function definition [-Wold-style-definition] 810 | best_target(mtmp) | ^~~~~~~~~~~ dogmove.c: In function 'dog_move': dogmove.c:862:1: warning: old-style function definition [-Wold-style-definition] 862 | dog_move(mtmp, after) | ^~~~~~~~ dogmove.c: In function 'could_reach_item': dogmove.c:1270:1: warning: old-style function definition [-Wold-style-definition] 1270 | could_reach_item(mon, nx, ny) | ^~~~~~~~~~~~~~~~ dogmove.c: In function 'can_reach_location': dogmove.c:1289:1: warning: old-style function definition [-Wold-style-definition] 1289 | can_reach_location(mon, mx, my, fx, fy) | ^~~~~~~~~~~~~~~~~~ dogmove.c: In function 'wantdoor': dogmove.c:1325:1: warning: old-style function definition [-Wold-style-definition] 1325 | wantdoor(x, y, distance) | ^~~~~~~~ dogmove.c: In function 'finish_meating': dogmove.c:1358:1: warning: old-style function definition [-Wold-style-definition] 1358 | finish_meating(mtmp) | ^~~~~~~~~~~~~~ dogmove.c: In function 'quickmimic': dogmove.c:1371:1: warning: old-style function definition [-Wold-style-definition] 1371 | quickmimic(mtmp) | ^~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o dokick.o dokick.c In file included from ../include/hack.h:10, from dokick.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition dokick.c: In function 'kickdmg': dokick.c:33:1: warning: old-style function definition [-Wold-style-definition] 33 | kickdmg(mon, clumsy) | ^~~~~~~ dokick.c: In function 'maybe_kick_monster': dokick.c:126:1: warning: old-style function definition [-Wold-style-definition] 126 | maybe_kick_monster(mon, x, y) | ^~~~~~~~~~~~~~~~~~ dokick.c: In function 'kick_monster': dokick.c:148:1: warning: old-style function definition [-Wold-style-definition] 148 | kick_monster(mon, x, y) | ^~~~~~~~~~~~ dokick.c: In function 'ghitm': dokick.c:289:1: warning: old-style function definition [-Wold-style-definition] 289 | ghitm(mtmp, gold) | ^~~~~ dokick.c: In function 'container_impact_dmg': dokick.c:394:1: warning: old-style function definition [-Wold-style-definition] 394 | container_impact_dmg(obj, x, y) | ^~~~~~~~~~~~~~~~~~~~ dokick.c: In function 'kick_object': dokick.c:462:1: warning: old-style function definition [-Wold-style-definition] 462 | kick_object(x, y, kickobjnam) | ^~~~~~~~~~~ dokick.c: In function 'really_kick_object': dokick.c:482:1: warning: old-style function definition [-Wold-style-definition] 482 | really_kick_object(x, y) | ^~~~~~~~~~~~~~~~~~ dokick.c: In function 'kickstr': dokick.c:729:1: warning: old-style function definition [-Wold-style-definition] 729 | kickstr(buf, kickobjnam) | ^~~~~~~ dokick.c: In function 'drop_to': dokick.c:1338:1: warning: old-style function definition [-Wold-style-definition] 1338 | drop_to(cc, loc) | ^~~~~~~ dokick.c: In function 'impact_drop': dokick.c:1373:1: warning: old-style function definition [-Wold-style-definition] 1373 | impact_drop(missile, x, y, dlev) | ^~~~~~~~~~~ dokick.c: In function 'ship_object': dokick.c:1501:1: warning: old-style function definition [-Wold-style-definition] 1501 | ship_object(otmp, x, y, shop_floor_obj) | ^~~~~~~~~~~ dokick.c: In function 'obj_delivery': dokick.c:1623:1: warning: old-style function definition [-Wold-style-definition] 1623 | obj_delivery(near_hero) | ^~~~~~~~~~~~ dokick.c: In function 'deliver_obj_to_mon': dokick.c:1698:1: warning: old-style function definition [-Wold-style-definition] 1698 | deliver_obj_to_mon(mtmp, cnt, deliverflags) | ^~~~~~~~~~~~~~~~~~ dokick.c: In function 'otransit_msg': dokick.c:1749:1: warning: old-style function definition [-Wold-style-definition] 1749 | otransit_msg(otmp, nodrop, num) | ^~~~~~~~~~~~ dokick.c: In function 'down_gate': dokick.c:1781:1: warning: old-style function definition [-Wold-style-definition] 1781 | down_gate(x, y) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o dothrow.o dothrow.c In file included from ../include/hack.h:10, from dothrow.c:8: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition dothrow.c: In function 'throw_obj': dothrow.c:35:1: warning: old-style function definition [-Wold-style-definition] 35 | throw_obj(obj, shotlimit) | ^~~~~~~~~ dothrow.c: In function 'ok_to_throw': dothrow.c:238:1: warning: old-style function definition [-Wold-style-definition] 238 | ok_to_throw(shotlimit_p) | ^~~~~~~~~~~ dothrow.c: In function 'endmultishot': dothrow.c:409:1: warning: old-style function definition [-Wold-style-definition] 409 | endmultishot(verbose) | ^~~~~~~~~~~~ dothrow.c: In function 'hitfloor': dothrow.c:425:1: warning: old-style function definition [-Wold-style-definition] 425 | hitfloor(obj, verbosely) | ^~~~~~~~ dothrow.c: In function 'walk_path': dothrow.c:453:1: warning: old-style function definition [-Wold-style-definition] 453 | walk_path(src_cc, dest_cc, check_proc, arg) | ^~~~~~~~~ dothrow.c: In function 'hurtle_jump': dothrow.c:538:1: warning: old-style function definition [-Wold-style-definition] 538 | hurtle_jump(arg, x, y) | ^~~~~~~~~~~ dothrow.c: In function 'hurtle_step': dothrow.c:571:1: warning: old-style function definition [-Wold-style-definition] 571 | hurtle_step(arg, x, y) | ^~~~~~~~~~~ dothrow.c: In function 'mhurtle_step': dothrow.c:773:1: warning: old-style function definition [-Wold-style-definition] 773 | mhurtle_step(arg, x, y) | ^~~~~~~~~~~~ dothrow.c: In function 'hurtle': dothrow.c:802:1: warning: old-style function definition [-Wold-style-definition] 802 | hurtle(dx, dy, range, verbose) | ^~~~~~ dothrow.c: In function 'mhurtle': dothrow.c:859:1: warning: old-style function definition [-Wold-style-definition] 859 | mhurtle(mon, dx, dy, range) | ^~~~~~~ dothrow.c: In function 'check_shop_obj': dothrow.c:894:1: warning: old-style function definition [-Wold-style-definition] 894 | check_shop_obj(obj, x, y, broken) | ^~~~~~~~~~~~~~ dothrow.c: In function 'toss_up': dothrow.c:933:1: warning: old-style function definition [-Wold-style-definition] 933 | toss_up(obj, hitsroof) | ^~~~~~~ dothrow.c: In function 'throwing_weapon': dothrow.c:1062:1: warning: old-style function definition [-Wold-style-definition] 1062 | throwing_weapon(obj) | ^~~~~~~~~~~~~~~ dothrow.c: In function 'sho_obj_return_to_u': dothrow.c:1075:1: warning: old-style function definition [-Wold-style-definition] 1075 | sho_obj_return_to_u(obj) | ^~~~~~~~~~~~~~~~~~~ dothrow.c: In function 'throwit': dothrow.c:1095:1: warning: old-style function definition [-Wold-style-definition] 1095 | throwit(obj, wep_mask, twoweap) | ^~~~~~~ dothrow.c: In function 'omon_adj': dothrow.c:1448:1: warning: old-style function definition [-Wold-style-definition] 1448 | omon_adj(mon, obj, mon_notices) | ^~~~~~~~ dothrow.c: In function 'tmiss': dothrow.c:1491:1: warning: old-style function definition [-Wold-style-definition] 1491 | tmiss(obj, mon, maybe_wakeup) | ^~~~~ dothrow.c: In function 'thitmonst': dothrow.c:1523:1: warning: old-style function definition [-Wold-style-definition] 1523 | thitmonst(mon, obj) | ^~~~~~~~~ dothrow.c: In function 'gem_accept': dothrow.c:1802:1: warning: old-style function definition [-Wold-style-definition] 1802 | gem_accept(mon, obj) | ^~~~~~~~~~ dothrow.c: In function 'hero_breaks': dothrow.c:1909:1: warning: old-style function definition [-Wold-style-definition] 1909 | hero_breaks(obj, x, y, from_invent) | ^~~~~~~~~~~ dothrow.c: In function 'breaks': dothrow.c:1929:1: warning: old-style function definition [-Wold-style-definition] 1929 | breaks(obj, x, y) | ^~~~~~ dothrow.c: In function 'release_camera_demon': dothrow.c:1943:1: warning: old-style function definition [-Wold-style-definition] 1943 | release_camera_demon(obj, x, y) | ^~~~~~~~~~~~~~~~~~~~ dothrow.c: In function 'breakobj': dothrow.c:1965:1: warning: old-style function definition [-Wold-style-definition] 1965 | breakobj(obj, x, y, hero_caused, from_invent) | ^~~~~~~~ dothrow.c: In function 'breaktest': dothrow.c:2054:1: warning: old-style function definition [-Wold-style-definition] 2054 | breaktest(obj) | ^~~~~~~~~ dothrow.c: In function 'breakmsg': dothrow.c:2077:1: warning: old-style function definition [-Wold-style-definition] 2077 | breakmsg(obj, in_view) | ^~~~~~~~ dothrow.c: In function 'throw_gold': dothrow.c:2119:1: warning: old-style function definition [-Wold-style-definition] 2119 | throw_gold(obj) | ^~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o drawing.o drawing.c In file included from ../include/hack.h:10, from drawing.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition drawing.c: In function 'def_char_to_objclass': drawing.c:278:1: warning: old-style function definition [-Wold-style-definition] 278 | def_char_to_objclass(ch) | ^~~~~~~~~~~~~~~~~~~~ drawing.c: In function 'def_char_to_monclass': drawing.c:294:1: warning: old-style function definition [-Wold-style-definition] 294 | def_char_to_monclass(ch) | ^~~~~~~~~~~~~~~~~~~~ drawing.c: In function 'get_othersym': drawing.c:403:1: warning: old-style function definition [-Wold-style-definition] 403 | get_othersym(idx, which_set) | ^~~~~~~~~~~~ drawing.c: In function 'assign_graphics': drawing.c:479:1: warning: old-style function definition [-Wold-style-definition] 479 | assign_graphics(whichset) | ^~~~~~~~~~~~~~~ drawing.c: In function 'switch_symbols': drawing.c:515:1: warning: old-style function definition [-Wold-style-definition] 515 | switch_symbols(nondefault) | ^~~~~~~~~~~~~~ drawing.c: In function 'update_ov_primary_symset': drawing.c:550:1: warning: old-style function definition [-Wold-style-definition] 550 | update_ov_primary_symset(symp, val) | ^~~~~~~~~~~~~~~~~~~~~~~~ drawing.c: In function 'update_ov_rogue_symset': drawing.c:558:1: warning: old-style function definition [-Wold-style-definition] 558 | update_ov_rogue_symset(symp, val) | ^~~~~~~~~~~~~~~~~~~~~~ drawing.c: In function 'update_primary_symset': drawing.c:566:1: warning: old-style function definition [-Wold-style-definition] 566 | update_primary_symset(symp, val) | ^~~~~~~~~~~~~~~~~~~~~ drawing.c: In function 'update_rogue_symset': drawing.c:574:1: warning: old-style function definition [-Wold-style-definition] 574 | update_rogue_symset(symp, val) | ^~~~~~~~~~~~~~~~~~~ drawing.c: In function 'clear_symsetentry': drawing.c:582:1: warning: old-style function definition [-Wold-style-definition] 582 | clear_symsetentry(which_set, name_too) | ^~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o dungeon.o dungeon.c In file included from ../include/hack.h:10, from dungeon.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition dungeon.c: In function 'save_dungeon': dungeon.c:137:1: warning: old-style function definition [-Wold-style-definition] 137 | save_dungeon(fd, perform_write, free_data) | ^~~~~~~~~~~~ dungeon.c: In function 'restore_dungeon': dungeon.c:194:1: warning: old-style function definition [-Wold-style-definition] 194 | restore_dungeon(fd) | ^~~~~~~~~~~~~~~ dungeon.c: In function 'Fread': dungeon.c:242:1: warning: old-style function definition [-Wold-style-definition] 242 | Fread(ptr, size, nitems, stream) | ^~~~~ dungeon.c: In function 'dname_to_dnum': dungeon.c:258:1: warning: old-style function definition [-Wold-style-definition] 258 | dname_to_dnum(s) | ^~~~~~~~~~~~~ dungeon.c: In function 'find_level': dungeon.c:273:1: warning: old-style function definition [-Wold-style-definition] 273 | find_level(s) | ^~~~~~~~~~ dungeon.c: In function 'find_branch': dungeon.c:285:1: warning: old-style function definition [-Wold-style-definition] 285 | find_branch(s, pd) | ^~~~~~~~~~~ dungeon.c: In function 'parent_dnum': dungeon.c:318:1: warning: old-style function definition [-Wold-style-definition] 318 | parent_dnum(s, pd) | ^~~~~~~~~~~ dungeon.c: In function 'level_range': dungeon.c:350:1: warning: old-style function definition [-Wold-style-definition] 350 | level_range(dgn, base, randc, chain, pd, adjusted_base) | ^~~~~~~~~~~ dungeon.c: In function 'parent_dlevel': dungeon.c:385:1: warning: old-style function definition [-Wold-style-definition] 385 | parent_dlevel(s, pd) | ^~~~~~~~~~~~~ dungeon.c: In function 'correct_branch_type': dungeon.c:412:1: warning: old-style function definition [-Wold-style-definition] 412 | correct_branch_type(tbr) | ^~~~~~~~~~~~~~~~~~~ dungeon.c: In function 'insert_branch': dungeon.c:436:1: warning: old-style function definition [-Wold-style-definition] 436 | insert_branch(new_branch, extract_first) | ^~~~~~~~~~~~~ dungeon.c: In function 'add_branch': dungeon.c:486:1: warning: old-style function definition [-Wold-style-definition] 486 | add_branch(dgn, child_entry_level, pd) | ^~~~~~~~~~ dungeon.c: In function 'add_level': dungeon.c:518:1: warning: old-style function definition [-Wold-style-definition] 518 | add_level(new_lev) | ^~~~~~~~~ dungeon.c: In function 'init_level': dungeon.c:540:1: warning: old-style function definition [-Wold-style-definition] 540 | init_level(dgn, proto_index, pd) | ^~~~~~~~~~ dungeon.c: In function 'possible_places': dungeon.c:574:1: warning: old-style function definition [-Wold-style-definition] 574 | possible_places(idx, map, pd) | ^~~~~~~~~~~~~~~ dungeon.c: In function 'pick_level': dungeon.c:606:1: warning: old-style function definition [-Wold-style-definition] 606 | pick_level(map, nth) | ^~~~~~~~~~ dungeon.c: In function 'place_level': dungeon.c:638:1: warning: old-style function definition [-Wold-style-definition] 638 | place_level(proto_index, pd) | ^~~~~~~~~~~ dungeon.c: In function 'dunlev': dungeon.c:982:1: warning: old-style function definition [-Wold-style-definition] 982 | dunlev(lev) | ^~~~~~ dungeon.c: In function 'dunlevs_in_dungeon': dungeon.c:990:1: warning: old-style function definition [-Wold-style-definition] 990 | dunlevs_in_dungeon(lev) | ^~~~~~~~~~~~~~~~~~ dungeon.c: In function 'deepest_lev_reached': dungeon.c:998:1: warning: old-style function definition [-Wold-style-definition] 998 | deepest_lev_reached(noquest) | ^~~~~~~~~~~~~~~~~~~ dungeon.c: In function 'ledger_no': dungeon.c:1036:1: warning: old-style function definition [-Wold-style-definition] 1036 | ledger_no(lev) | ^~~~~~~~~ dungeon.c: In function 'ledger_to_dnum': dungeon.c:1061:1: warning: old-style function definition [-Wold-style-definition] 1061 | ledger_to_dnum(ledgerno) | ^~~~~~~~~~~~~~ dungeon.c: In function 'ledger_to_dlev': dungeon.c:1079:1: warning: old-style function definition [-Wold-style-definition] 1079 | ledger_to_dlev(ledgerno) | ^~~~~~~~~~~~~~ dungeon.c: In function 'depth': dungeon.c:1089:1: warning: old-style function definition [-Wold-style-definition] 1089 | depth(lev) | ^~~~~ dungeon.c: In function 'on_level': dungeon.c:1097:1: warning: old-style function definition [-Wold-style-definition] 1097 | on_level(lev1, lev2) | ^~~~~~~~ dungeon.c: In function 'Is_special': dungeon.c:1106:1: warning: old-style function definition [-Wold-style-definition] 1106 | Is_special(lev) | ^~~~~~~~~~ dungeon.c: In function 'Is_branchlev': dungeon.c:1123:1: warning: old-style function definition [-Wold-style-definition] 1123 | Is_branchlev(lev) | ^~~~~~~~~~~~ dungeon.c: In function 'builds_up': dungeon.c:1137:1: warning: old-style function definition [-Wold-style-definition] 1137 | builds_up(lev) | ^~~~~~~~~ dungeon.c: In function 'next_level': dungeon.c:1151:1: warning: old-style function definition [-Wold-style-definition] 1151 | next_level(at_stairs) | ^~~~~~~~~~ dungeon.c: In function 'prev_level': dungeon.c:1169:1: warning: old-style function definition [-Wold-style-definition] 1169 | prev_level(at_stairs) | ^~~~~~~~~~ dungeon.c: In function 'u_on_newpos': dungeon.c:1190:1: warning: old-style function definition [-Wold-style-definition] 1190 | u_on_newpos(x, y) | ^~~~~~~~~~~ dungeon.c: In function 'u_on_rndspot': dungeon.c:1216:1: warning: old-style function definition [-Wold-style-definition] 1216 | u_on_rndspot(upflag) | ^~~~~~~~~~~~ dungeon.c: In function 'u_on_sstairs': dungeon.c:1249:1: warning: old-style function definition [-Wold-style-definition] 1249 | u_on_sstairs(upflag) | ^~~~~~~~~~~~ dungeon.c: In function 'On_stairs': dungeon.c:1279:1: warning: old-style function definition [-Wold-style-definition] 1279 | On_stairs(x, y) | ^~~~~~~~~ dungeon.c: In function 'Is_botlevel': dungeon.c:1290:1: warning: old-style function definition [-Wold-style-definition] 1290 | Is_botlevel(lev) | ^~~~~~~~~~~ dungeon.c: In function 'Can_dig_down': dungeon.c:1297:1: warning: old-style function definition [-Wold-style-definition] 1297 | Can_dig_down(lev) | ^~~~~~~~~~~~ dungeon.c: In function 'Can_fall_thru': dungeon.c:1311:1: warning: old-style function definition [-Wold-style-definition] 1311 | Can_fall_thru(lev) | ^~~~~~~~~~~~~ dungeon.c: In function 'Can_rise_up': dungeon.c:1324:1: warning: old-style function definition [-Wold-style-definition] 1324 | Can_rise_up(x, y, lev) | ^~~~~~~~~~~ dungeon.c: In function 'has_ceiling': dungeon.c:1340:1: warning: old-style function definition [-Wold-style-definition] 1340 | has_ceiling(lev) | ^~~~~~~~~~~ dungeon.c: In function 'get_level': dungeon.c:1359:1: warning: old-style function definition [-Wold-style-definition] 1359 | get_level(newlevel, levnum) | ^~~~~~~~~ dungeon.c: In function 'In_quest': dungeon.c:1408:1: warning: old-style function definition [-Wold-style-definition] 1408 | In_quest(lev) | ^~~~~~~~ dungeon.c: In function 'In_mines': dungeon.c:1416:1: warning: old-style function definition [-Wold-style-definition] 1416 | In_mines(lev) | ^~~~~~~~ dungeon.c: In function 'dungeon_branch': dungeon.c:1431:1: warning: old-style function definition [-Wold-style-definition] 1431 | dungeon_branch(s) | ^~~~~~~~~~~~~~ dungeon.c: In function 'at_dgn_entrance': dungeon.c:1459:1: warning: old-style function definition [-Wold-style-definition] 1459 | at_dgn_entrance(s) | ^~~~~~~~~~~~~~~ dungeon.c: In function 'In_V_tower': dungeon.c:1470:1: warning: old-style function definition [-Wold-style-definition] 1470 | In_V_tower(lev) | ^~~~~~~~~~ dungeon.c: In function 'On_W_tower_level': dungeon.c:1478:1: warning: old-style function definition [-Wold-style-definition] 1478 | On_W_tower_level(lev) | ^~~~~~~~~~~~~~~~ dungeon.c: In function 'In_W_tower': dungeon.c:1488:1: warning: old-style function definition [-Wold-style-definition] 1488 | In_W_tower(x, y, lev) | ^~~~~~~~~~ dungeon.c: In function 'In_hell': dungeon.c:1509:1: warning: old-style function definition [-Wold-style-definition] 1509 | In_hell(lev) | ^~~~~~~ dungeon.c: In function 'find_hell': dungeon.c:1517:1: warning: old-style function definition [-Wold-style-definition] 1517 | find_hell(lev) | ^~~~~~~~~ dungeon.c: In function 'goto_hell': dungeon.c:1526:1: warning: old-style function definition [-Wold-style-definition] 1526 | goto_hell(at_stairs, falling) | ^~~~~~~~~ dungeon.c: In function 'assign_level': dungeon.c:1537:1: warning: old-style function definition [-Wold-style-definition] 1537 | assign_level(dest, src) | ^~~~~~~~~~~~ dungeon.c: In function 'assign_rnd_level': dungeon.c:1546:1: warning: old-style function definition [-Wold-style-definition] 1546 | assign_rnd_level(dest, src, range) | ^~~~~~~~~~~~~~~~ dungeon.c: In function 'induced_align': dungeon.c:1560:1: warning: old-style function definition [-Wold-style-definition] 1560 | induced_align(pct) | ^~~~~~~~~~~~~ dungeon.c: In function 'Invocation_lev': dungeon.c:1579:1: warning: old-style function definition [-Wold-style-definition] 1579 | Invocation_lev(lev) | ^~~~~~~~~~~~~~ dungeon.c: In function 'lev_by_name': dungeon.c:1650:1: warning: old-style function definition [-Wold-style-definition] 1650 | lev_by_name(nam) | ^~~~~~~~~~~ dungeon.c: In function 'unplaced_floater': dungeon.c:1727:1: warning: old-style function definition [-Wold-style-definition] 1727 | unplaced_floater(dptr) | ^~~~~~~~~~~~~~~~ dungeon.c: In function 'unreachable_level': dungeon.c:1743:1: warning: old-style function definition [-Wold-style-definition] 1743 | unreachable_level(lvl_p, unplaced) | ^~~~~~~~~~~~~~~~~ dungeon.c: In function 'tport_menu': dungeon.c:1759:1: warning: old-style function definition [-Wold-style-definition] 1759 | tport_menu(win, entry, lchoices, lvl_p, unreachable) | ^~~~~~~~~~ dungeon.c: In function 'br_string': dungeon.c:1794:1: warning: old-style function definition [-Wold-style-definition] 1794 | br_string(type) | ^~~~~~~~~ dungeon.c: In function 'chr_u_on_lvl': dungeon.c:1811:1: warning: old-style function definition [-Wold-style-definition] 1811 | chr_u_on_lvl(dlev) | ^~~~~~~~~~~~ dungeon.c: In function 'print_branch': dungeon.c:1819:1: warning: old-style function definition [-Wold-style-definition] 1819 | print_branch(win, dnum, lower_bound, upper_bound, bymenu, lchoices_p) | ^~~~~~~~~~~~ dungeon.c: In function 'print_dungeon': dungeon.c:1849:1: warning: old-style function definition [-Wold-style-definition] 1849 | print_dungeon(bymenu, rlev, rdgn) | ^~~~~~~~~~~~~ dungeon.c: In function 'recbranch_mapseen': dungeon.c:2009:1: warning: old-style function definition [-Wold-style-definition] 2009 | recbranch_mapseen(source, dest) | ^~~~~~~~~~~~~~~~~ dungeon.c: In function 'get_annotation': dungeon.c:2043:1: warning: old-style function definition [-Wold-style-definition] 2043 | get_annotation(lev) | ^~~~~~~~~~~~~~ dungeon.c: In function 'find_mapseen': dungeon.c:2104:1: warning: old-style function definition [-Wold-style-definition] 2104 | find_mapseen(lev) | ^~~~~~~~~~~~ dungeon.c: In function 'find_mapseen_by_str': dungeon.c:2117:1: warning: old-style function definition [-Wold-style-definition] 2117 | find_mapseen_by_str(s) | ^~~~~~~~~~~~~~~~~~~ dungeon.c: In function 'forget_mapseen': dungeon.c:2131:1: warning: old-style function definition [-Wold-style-definition] 2131 | forget_mapseen(ledger_num) | ^~~~~~~~~~~~~~ dungeon.c: In function 'rm_mapseen': dungeon.c:2160:1: warning: old-style function definition [-Wold-style-definition] 2160 | rm_mapseen(ledger_num) | ^~~~~~~~~~ dungeon.c: In function 'save_mapseen': dungeon.c:2194:1: warning: old-style function definition [-Wold-style-definition] 2194 | save_mapseen(fd, mptr) | ^~~~~~~~~~~~ dungeon.c: In function 'load_mapseen': dungeon.c:2217:1: warning: old-style function definition [-Wold-style-definition] 2217 | load_mapseen(fd) | ^~~~~~~~~~~~ dungeon.c: In function 'overview_stats': dungeon.c:2251:1: warning: old-style function definition [-Wold-style-definition] 2251 | overview_stats(win, statsfmt, total_count, total_size) | ^~~~~~~~~~~~~~ dungeon.c: In function 'remdun_mapseen': dungeon.c:2299:1: warning: old-style function definition [-Wold-style-definition] 2299 | remdun_mapseen(dnum) | ^~~~~~~~~~~~~~ dungeon.c: In function 'init_mapseen': dungeon.c:2324:1: warning: old-style function definition [-Wold-style-definition] 2324 | init_mapseen(lev) | ^~~~~~~~~~~~ dungeon.c: In function 'interest_mapseen': dungeon.c:2368:1: warning: old-style function definition [-Wold-style-definition] 2368 | interest_mapseen(mptr) | ^~~~~~~~~~~~~~~~ dungeon.c: In function 'mapseen_temple': dungeon.c:2667:1: warning: old-style function definition [-Wold-style-definition] 2667 | mapseen_temple(priest) | ^~~~~~~~~~~~~~ dungeon.c: In function 'room_discovered': dungeon.c:2680:1: warning: old-style function definition [-Wold-style-definition] 2680 | room_discovered(roomno) | ^~~~~~~~~~~~~~~ dungeon.c: In function 'show_overview': dungeon.c:2698:1: warning: old-style function definition [-Wold-style-definition] 2698 | show_overview(why, reason) | ^~~~~~~~~~~~~ dungeon.c: In function 'traverse_mapseenchn': dungeon.c:2723:1: warning: old-style function definition [-Wold-style-definition] 2723 | traverse_mapseenchn(viewendgame, win, why, reason, lastdun_p) | ^~~~~~~~~~~~~~~~~~~ dungeon.c: In function 'seen_string': dungeon.c:2745:1: warning: old-style function definition [-Wold-style-definition] 2745 | seen_string(x, obj) | ^~~~~~~~~~~ dungeon.c: In function 'br_string2': dungeon.c:2767:1: warning: old-style function definition [-Wold-style-definition] 2767 | br_string2(br) | ^~~~~~~~~~ dungeon.c: In function 'endgamelevelname': dungeon.c:2790:1: warning: old-style function definition [-Wold-style-definition] 2790 | endgamelevelname(outbuf, indx) | ^~~~~~~~~~~~~~~~ dungeon.c: In function 'shop_string': dungeon.c:2822:1: warning: old-style function definition [-Wold-style-definition] 2822 | shop_string(rtype) | ^~~~~~~~~~~ dungeon.c: In function 'tunesuffix': dungeon.c:2874:1: warning: old-style function definition [-Wold-style-definition] 2874 | tunesuffix(mptr, outbuf) | ^~~~~~~~~~ dungeon.c: In function 'print_mapseen': dungeon.c:2915:1: warning: old-style function definition [-Wold-style-definition] 2915 | print_mapseen(win, mptr, final, how, printdun) | ^~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o eat.o eat.c In file included from ../include/hack.h:10, from eat.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition eat.c: In function 'is_edible': eat.c:83:1: warning: old-style function definition [-Wold-style-definition] 83 | is_edible(obj) | ^~~~~~~~~ eat.c: In function 'food_xname': eat.c:208:1: warning: old-style function definition [-Wold-style-definition] 208 | food_xname(food, the_pfx) | ^~~~~~~~~~ eat.c: In function 'choke': eat.c:238:1: warning: old-style function definition [-Wold-style-definition] 238 | choke(food) | ^~~~~ eat.c: In function 'obj_nutrition': eat.c:316:1: warning: old-style function definition [-Wold-style-definition] 316 | obj_nutrition(otmp) | ^~~~~~~~~~~~~ eat.c: In function 'touchfood': eat.c:341:1: warning: old-style function definition [-Wold-style-definition] 341 | touchfood(otmp) | ^~~~~~~~~ eat.c: In function 'food_disappears': eat.c:378:1: warning: old-style function definition [-Wold-style-definition] 378 | food_disappears(obj) | ^~~~~~~~~~~~~~~ eat.c: In function 'food_substitution': eat.c:393:1: warning: old-style function definition [-Wold-style-definition] 393 | food_substitution(old_obj, new_obj) | ^~~~~~~~~~~~~~~~~ eat.c: In function 'done_eating': eat.c:453:1: warning: old-style function definition [-Wold-style-definition] 453 | done_eating(message) | ^~~~~~~~~~~ eat.c: In function 'eating_conducts': eat.c:484:1: warning: old-style function definition [-Wold-style-definition] 484 | eating_conducts(pd) | ^~~~~~~~~~~~~~~ eat.c: In function 'eat_brains': eat.c:496:1: warning: old-style function definition [-Wold-style-definition] 496 | eat_brains(magr, mdef, visflag, dmg_p) | ^~~~~~~~~~ eat.c: In function 'maybe_cannibal': eat.c:642:1: warning: old-style function definition [-Wold-style-definition] 642 | maybe_cannibal(pm, allowmsg) | ^~~~~~~~~~~~~~ eat.c: In function 'cprefx': eat.c:677:1: warning: old-style function definition [-Wold-style-definition] 677 | cprefx(pm) | ^~~~~~ eat.c: In function 'intrinsic_possible': eat.c:768:1: warning: old-style function definition [-Wold-style-definition] 768 | intrinsic_possible(type, ptr) | ^~~~~~~~~~~~~~~~~~ eat.c: In function 'givit': eat.c:832:1: warning: old-style function definition [-Wold-style-definition] 832 | givit(type, ptr) | ^~~~~ eat.c: In function 'cpostfx': eat.c:945:1: warning: old-style function definition [-Wold-style-definition] 945 | cpostfx(pm) | ^~~~~~~ eat.c: In function 'costly_tin': eat.c:1172:1: warning: old-style function definition [-Wold-style-definition] 1172 | costly_tin(alter_type) | ^~~~~~~~~~ eat.c: In function 'tin_variety_txt': eat.c:1189:1: warning: old-style function definition [-Wold-style-definition] 1189 | tin_variety_txt(s, tinvariety) | ^~~~~~~~~~~~~~~ eat.c: In function 'tin_details': eat.c:1214:1: warning: old-style function definition [-Wold-style-definition] 1214 | tin_details(obj, mnum, buf) | ^~~~~~~~~~~ eat.c: In function 'set_tin_variety': eat.c:1248:1: warning: old-style function definition [-Wold-style-definition] 1248 | set_tin_variety(obj, forcetype) | ^~~~~~~~~~~~~~~ eat.c: In function 'tin_variety': eat.c:1278:1: warning: old-style function definition [-Wold-style-definition] 1278 | tin_variety(obj, disp) | ^~~~~~~~~~~ eat.c: In function 'consume_tin': eat.c:1303:1: warning: old-style function definition [-Wold-style-definition] 1303 | consume_tin(mesg) | ^~~~~~~~~~~ eat.c: In function 'start_tin': eat.c:1457:1: warning: old-style function definition [-Wold-style-definition] 1457 | start_tin(otmp) | ^~~~~~~~~ eat.c: In function 'rottenfood': eat.c:1547:1: warning: old-style function definition [-Wold-style-definition] 1547 | rottenfood(obj) | ^~~~~~~~~~ eat.c: In function 'eatcorpse': eat.c:1589:1: warning: old-style function definition [-Wold-style-definition] 1589 | eatcorpse(otmp) | ^~~~~~~~~ eat.c: In function 'start_eating': eat.c:1728:1: warning: old-style function definition [-Wold-style-definition] 1728 | start_eating(otmp, already_partly_eaten) | ^~~~~~~~~~~~ eat.c: In function 'fprefx': eat.c:1790:1: warning: old-style function definition [-Wold-style-definition] 1790 | fprefx(otmp) | ^~~~~~ eat.c: In function 'bounded_increase': eat.c:1898:1: warning: old-style function definition [-Wold-style-definition] 1898 | bounded_increase(old, inc, typ) | ^~~~~~~~~~~~~~~~ eat.c: In function 'accessory_has_effect': eat.c:1936:1: warning: old-style function definition [-Wold-style-definition] 1936 | accessory_has_effect(otmp) | ^~~~~~~~~~~~~~~~~~~~ eat.c: In function 'eataccessory': eat.c:1944:1: warning: old-style function definition [-Wold-style-definition] 1944 | eataccessory(otmp) | ^~~~~~~~~~~~ eat.c: In function 'foodword': eat.c:2174:1: warning: old-style function definition [-Wold-style-definition] 2174 | foodword(otmp) | ^~~~~~~~ eat.c: In function 'fpostfx': eat.c:2187:1: warning: old-style function definition [-Wold-style-definition] 2187 | fpostfx(otmp) | ^~~~~~~ eat.c: In function 'edibility_prompts': eat.c:2296:1: warning: old-style function definition [-Wold-style-definition] 2296 | edibility_prompts(otmp) | ^~~~~~~~~~~~~~~~~ eat.c: In function 'use_tin_opener': eat.c:2727:1: warning: old-style function definition [-Wold-style-definition] 2727 | use_tin_opener(obj) | ^~~~~~~~~~~~~~ eat.c: In function 'morehungry': eat.c:2847:1: warning: old-style function definition [-Wold-style-definition] 2847 | morehungry(num) | ^~~~~~~~~~ eat.c: In function 'lesshungry': eat.c:2856:1: warning: old-style function definition [-Wold-style-definition] 2856 | lesshungry(num) | ^~~~~~~~~~ eat.c: In function 'newuhs': eat.c:2928:1: warning: old-style function definition [-Wold-style-definition] 2928 | newuhs(incr) | ^~~~~~ eat.c: In function 'floorfood': eat.c:3088:1: warning: old-style function definition [-Wold-style-definition] 3088 | floorfood(verb, corpsecheck) | ^~~~~~~~~ eat.c: In function 'eaten_stat': eat.c:3220:1: warning: old-style function definition [-Wold-style-definition] 3220 | eaten_stat(base, obj) | ^~~~~~~~~~ eat.c: In function 'consume_oeaten': eat.c:3242:1: warning: old-style function definition [-Wold-style-definition] 3242 | consume_oeaten(obj, amt) | ^~~~~~~~~~~~~~ eat.c: In function 'maybe_finished_meal': eat.c:3294:1: warning: old-style function definition [-Wold-style-definition] 3294 | maybe_finished_meal(stopping) | ^~~~~~~~~~~~~~~~~~~ eat.c: In function 'Popeye': eat.c:3315:1: warning: old-style function definition [-Wold-style-definition] 3315 | Popeye(threat) | ^~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o end.o end.c In file included from ../include/hack.h:10, from end.c:8: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition end.c: In function 'done1': end.c:315:1: warning: old-style function definition [-Wold-style-definition] 315 | done1(sig_unused) /* called as signal() handler, so sent at least one arg */ | ^~~~~ end.c: In function 'done_intr': end.c:389:1: warning: old-style function definition [-Wold-style-definition] 389 | done_intr(sig_unused) /* called as signal() handler, so sent at least 1 arg */ | ^~~~~~~~~ end.c: In function 'done_hangup': end.c:403:1: warning: old-style function definition [-Wold-style-definition] 403 | done_hangup(sig) | ^~~~~~~~~~~ end.c: In function 'done_in_by': end.c:415:1: warning: old-style function definition [-Wold-style-definition] 415 | done_in_by(mtmp, how) | ^~~~~~~~~~ end.c: In function 'fixup_death': end.c:549:1: warning: old-style function definition [-Wold-style-definition] 549 | fixup_death(how) | ^~~~~~~~~~~ end.c: In function 'should_query_disclose_option': end.c:654:1: warning: old-style function definition [-Wold-style-definition] 654 | should_query_disclose_option(category, defquery) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ end.c: In function 'dump_everything': end.c:723:1: warning: old-style function definition [-Wold-style-definition] 723 | dump_everything(how, when) | ^~~~~~~~~~~~~~~ end.c: In function 'disclose': end.c:793:1: warning: old-style function definition [-Wold-style-definition] 793 | disclose(how, taken) | ^~~~~~~~ end.c: In function 'savelife': end.c:867:1: warning: old-style function definition [-Wold-style-definition] 867 | savelife(how) | ^~~~~~~~ end.c: In function 'get_valuables': end.c:915:1: warning: old-style function definition [-Wold-style-definition] 915 | get_valuables(list) | ^~~~~~~~~~~~~ end.c: In function 'sort_valuables': end.c:950:1: warning: old-style function definition [-Wold-style-definition] 950 | sort_valuables(list, size) | ^~~~~~~~~~~~~~ end.c: In function 'artifact_score': end.c:1062:1: warning: old-style function definition [-Wold-style-definition] 1062 | artifact_score(list, counting, endwin) | ^~~~~~~~~~~~~~ end.c: In function 'done': end.c:1099:1: warning: old-style function definition [-Wold-style-definition] 1099 | done(how) | ^~~~ end.c: In function 'really_done': end.c:1207:1: warning: old-style function definition [-Wold-style-definition] 1207 | really_done(how) | ^~~~~~~~~~~ end.c: In function 'container_contents': end.c:1630:1: warning: old-style function definition [-Wold-style-definition] 1630 | container_contents(list, identified, all_containers, reportempty) | ^~~~~~~~~~~~~~~~~~ end.c: In function 'nh_terminate': end.c:1708:1: warning: old-style function definition [-Wold-style-definition] 1708 | nh_terminate(status) | ^~~~~~~~~~~~ end.c: In function 'vanqsort_cmp': end.c:1763:1: warning: old-style function definition [-Wold-style-definition] 1763 | vanqsort_cmp(vptr1, vptr2) | ^~~~~~~~~~~~ end.c: In function 'list_vanquished': end.c:1889:1: warning: old-style function definition [-Wold-style-definition] 1889 | list_vanquished(defquery, ask) | ^~~~~~~~~~~~~~~ end.c: In function 'list_genocided': end.c:2051:1: warning: old-style function definition [-Wold-style-definition] 2051 | list_genocided(defquery, ask) | ^~~~~~~~~~~~~~ end.c: In function 'delayed_killer': end.c:2128:1: warning: old-style function definition [-Wold-style-definition] 2128 | delayed_killer(id, format, killername) | ^~~~~~~~~~~~~~ end.c: In function 'find_delayed_killer': end.c:2150:1: warning: old-style function definition [-Wold-style-definition] 2150 | find_delayed_killer(id) | ^~~~~~~~~~~~~~~~~~~ end.c: In function 'dealloc_killer': end.c:2163:1: warning: old-style function definition [-Wold-style-definition] 2163 | dealloc_killer(kptr) | ^~~~~~~~~~~~~~ end.c: In function 'save_killers': end.c:2186:1: warning: old-style function definition [-Wold-style-definition] 2186 | save_killers(fd, mode) | ^~~~~~~~~~~~ end.c: In function 'restore_killers': end.c:2207:1: warning: old-style function definition [-Wold-style-definition] 2207 | restore_killers(fd) | ^~~~~~~~~~~~~~~ end.c: In function 'wordcount': end.c:2221:1: warning: old-style function definition [-Wold-style-definition] 2221 | wordcount(p) | ^~~~~~~~~ end.c: In function 'bel_copy1': end.c:2238:1: warning: old-style function definition [-Wold-style-definition] 2238 | bel_copy1(inp, out) | ^~~~~~~~~ end.c: In function 'build_english_list': end.c:2253:1: warning: old-style function definition [-Wold-style-definition] 2253 | build_english_list(in) | ^~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o engrave.o engrave.c In file included from ../include/hack.h:10, from engrave.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition engrave.c: In function 'random_engraving': engrave.c:13:1: warning: old-style function definition [-Wold-style-definition] 13 | random_engraving(outbuf) | ^~~~~~~~~~~~~~~~ engrave.c: In function 'wipeout_text': engrave.c:82:1: warning: old-style function definition [-Wold-style-definition] 82 | wipeout_text(engr, cnt, seed) | ^~~~~~~~~~~~ engrave.c: In function 'can_reach_floor': engrave.c:146:1: warning: old-style function definition [-Wold-style-definition] 146 | can_reach_floor(check_pit) | ^~~~~~~~~~~~~~~ engrave.c: In function 'cant_reach_floor': engrave.c:169:1: warning: old-style function definition [-Wold-style-definition] 169 | cant_reach_floor(x, y, up, check_pit) | ^~~~~~~~~~~~~~~~ engrave.c: In function 'surface': engrave.c:181:1: warning: old-style function definition [-Wold-style-definition] 181 | surface(x, y) | ^~~~~~~ engrave.c: In function 'ceiling': engrave.c:213:1: warning: old-style function definition [-Wold-style-definition] 213 | ceiling(x, y) | ^~~~~~~ engrave.c: In function 'engr_at': engrave.c:245:1: warning: old-style function definition [-Wold-style-definition] 245 | engr_at(x, y) | ^~~~~~~ engrave.c: In function 'sengr_at': engrave.c:266:1: warning: old-style function definition [-Wold-style-definition] 266 | sengr_at(s, x, y, strict) | ^~~~~~~~ engrave.c: In function 'u_wipe_engr': engrave.c:282:1: warning: old-style function definition [-Wold-style-definition] 282 | u_wipe_engr(cnt) | ^~~~~~~~~~~ engrave.c: In function 'wipe_engr_at': engrave.c:290:1: warning: old-style function definition [-Wold-style-definition] 290 | wipe_engr_at(x, y, cnt, magical) | ^~~~~~~~~~~~ engrave.c: In function 'read_engr_at': engrave.c:314:1: warning: old-style function definition [-Wold-style-definition] 314 | read_engr_at(x, y) | ^~~~~~~~~~~~ engrave.c: In function 'make_engr_at': engrave.c:389:1: warning: old-style function definition [-Wold-style-definition] 389 | make_engr_at(x, y, s, e_time, e_type) | ^~~~~~~~~~~~ engrave.c: In function 'del_engr_at': engrave.c:418:1: warning: old-style function definition [-Wold-style-definition] 418 | del_engr_at(x, y) | ^~~~~~~~~~~ engrave.c: In function 'save_engravings': engrave.c:1182:1: warning: old-style function definition [-Wold-style-definition] 1182 | save_engravings(fd, mode) | ^~~~~~~~~~~~~~~ engrave.c: In function 'rest_engravings': engrave.c:1204:1: warning: old-style function definition [-Wold-style-definition] 1204 | rest_engravings(fd) | ^~~~~~~~~~~~~~~ engrave.c: In function 'engr_stats': engrave.c:1230:1: warning: old-style function definition [-Wold-style-definition] 1230 | engr_stats(hdrfmt, hdrbuf, count, size) | ^~~~~~~~~~ engrave.c: In function 'del_engr': engrave.c:1246:1: warning: old-style function definition [-Wold-style-definition] 1246 | del_engr(ep) | ^~~~~~~~ engrave.c: In function 'rloc_engr': engrave.c:1269:1: warning: old-style function definition [-Wold-style-definition] 1269 | rloc_engr(ep) | ^~~~~~~~~ engrave.c: In function 'make_grave': engrave.c:1289:1: warning: old-style function definition [-Wold-style-definition] 1289 | make_grave(x, y, str) | ^~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o exper.o exper.c In file included from ../include/hack.h:10, from exper.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition exper.c: In function 'newuexp': exper.c:14:1: warning: old-style function definition [-Wold-style-definition] 14 | newuexp(lev) | ^~~~~~~ exper.c: In function 'enermod': exper.c:27:1: warning: old-style function definition [-Wold-style-definition] 27 | enermod(en) | ^~~~~~~ exper.c: In function 'experience': exper.c:77:1: warning: old-style function definition [-Wold-style-definition] 77 | experience(mtmp, nk) | ^~~~~~~~~~ exper.c: In function 'more_experienced': exper.c:163:1: warning: old-style function definition [-Wold-style-definition] 163 | more_experienced(exper, rexp) | ^~~~~~~~~~~~~~~~ exper.c: In function 'losexp': exper.c:202:1: warning: old-style function definition [-Wold-style-definition] 202 | losexp(drainer) | ^~~~~~ exper.c: In function 'pluslvl': exper.c:277:1: warning: old-style function definition [-Wold-style-definition] 277 | pluslvl(incr) | ^~~~~~~ exper.c: In function 'rndexp': exper.c:327:1: warning: old-style function definition [-Wold-style-definition] 327 | rndexp(gaining) | ^~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o explode.o explode.c In file included from ../include/hack.h:10, from explode.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition explode.c: In function 'explode': explode.c:28:1: warning: old-style function definition [-Wold-style-definition] 28 | explode(x, y, type, dam, olet, expltype) | ^~~~~~~ explode.c: In function 'scatter': explode.c:601:1: warning: old-style function definition [-Wold-style-definition] 601 | scatter(sx, sy, blastforce, scflags, obj) | ^~~~~~~ explode.c: In function 'splatter_burning_oil': explode.c:793:1: warning: old-style function definition [-Wold-style-definition] 793 | splatter_burning_oil(x, y, diluted_oil) | ^~~~~~~~~~~~~~~~~~~~ explode.c: In function 'explode_oil': explode.c:807:1: warning: old-style function definition [-Wold-style-definition] 807 | explode_oil(obj, x, y) | ^~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o extralev.o extralev.c In file included from ../include/hack.h:10, from extralev.c:9: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition extralev.c: In function 'roguejoin': extralev.c:30:1: warning: old-style function definition [-Wold-style-definition] 30 | roguejoin(x1, y1, x2, y2, horiz) | ^~~~~~~~~ extralev.c: In function 'roguecorr': extralev.c:56:1: warning: old-style function definition [-Wold-style-definition] 56 | roguecorr(x, y, dir) | ^~~~~~~~~ extralev.c: In function 'miniwalk': extralev.c:152:1: warning: old-style function definition [-Wold-style-definition] 152 | miniwalk(x, y) | ^~~~~~~~ extralev.c: In function 'corr': extralev.c:290:1: warning: old-style function definition [-Wold-style-definition] 290 | corr(x, y) | ^~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o files.o files.c In file included from ../include/hack.h:10, from files.c:8: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition files.c: In function 'fname_encode': files.c:251:1: warning: old-style function definition [-Wold-style-definition] 251 | fname_encode(legal, quotechar, s, callerbuf, bufsz) | ^~~~~~~~~~~~ files.c: In function 'fname_decode': files.c:299:1: warning: old-style function definition [-Wold-style-definition] 299 | fname_decode(quotechar, s, callerbuf, bufsz) | ^~~~~~~~~~~~ files.c: In function 'fqname': files.c:352:1: warning: old-style function definition [-Wold-style-definition] 352 | fqname(basenam, whichprefix, buffnum) | ^~~~~~ files.c: In function 'validate_prefix_locations': files.c:391:1: warning: old-style function definition [-Wold-style-definition] 391 | validate_prefix_locations(reasonbuf) | ^~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function 'fopen_datafile': files.c:442:1: warning: old-style function definition [-Wold-style-definition] 442 | fopen_datafile(filename, mode, prefix) | ^~~~~~~~~~~~~~ files.c: In function 'set_levelfile_name': files.c:486:1: warning: old-style function definition [-Wold-style-definition] 486 | set_levelfile_name(file, lev) | ^~~~~~~~~~~~~~~~~~ files.c: In function 'create_levelfile': files.c:503:1: warning: old-style function definition [-Wold-style-definition] 503 | create_levelfile(lev, errbuf) | ^~~~~~~~~~~~~~~~ files.c: In function 'open_levelfile': files.c:544:1: warning: old-style function definition [-Wold-style-definition] 544 | open_levelfile(lev, errbuf) | ^~~~~~~~~~~~~~ files.c: In function 'delete_levelfile': files.c:582:1: warning: old-style function definition [-Wold-style-definition] 582 | delete_levelfile(lev) | ^~~~~~~~~~~~~~~~ files.c: In function 'nhclose': files.c:712:1: warning: old-style function definition [-Wold-style-definition] 712 | nhclose(fd) | ^~~~~~~ files.c: In function 'set_bonesfile_name': files.c:727:1: warning: old-style function definition [-Wold-style-definition] 727 | set_bonesfile_name(file, lev) | ^~~~~~~~~~~~~~~~~~ files.c: In function 'create_bonesfile': files.c:799:1: warning: old-style function definition [-Wold-style-definition] 799 | create_bonesfile(lev, bonesid, errbuf) | ^~~~~~~~~~~~~~~~ files.c: In function 'commit_bonesfile': files.c:859:1: warning: old-style function definition [-Wold-style-definition] 859 | commit_bonesfile(lev) | ^~~~~~~~~~~~~~~~ files.c: In function 'open_bonesfile': files.c:885:1: warning: old-style function definition [-Wold-style-definition] 885 | open_bonesfile(lev, bonesid) | ^~~~~~~~~~~~~~ files.c: In function 'delete_bonesfile': files.c:904:1: warning: old-style function definition [-Wold-style-definition] 904 | delete_bonesfile(lev) | ^~~~~~~~~~~~~~~~ files.c: In function 'set_savefile_name': files.c:926:1: warning: old-style function definition [-Wold-style-definition] 926 | set_savefile_name(regularize_it) | ^~~~~~~~~~~~~~~~~ files.c: In function 'save_savefile_name': files.c:979:1: warning: old-style function definition [-Wold-style-definition] 979 | save_savefile_name(fd) | ^~~~~~~~~~~~~~~~~~ files.c: In function 'free_saved_games': files.c:1273:1: warning: old-style function definition [-Wold-style-definition] 1273 | free_saved_games(saved) | ^~~~~~~~~~~~~~~~ files.c: In function 'redirect': files.c:1292:1: warning: old-style function definition [-Wold-style-definition] 1292 | redirect(filename, mode, stream, uncomp) | ^~~~~~~~ files.c: In function 'docompress_file': files.c:1312:1: warning: old-style function definition [-Wold-style-definition] 1312 | docompress_file(filename, uncomp) | ^~~~~~~~~~~~~~~ files.c: In function 'nh_compress': files.c:1469:1: warning: old-style function definition [-Wold-style-definition] 1469 | nh_compress(filename) | ^~~~~~~~~~~ files.c: In function 'nh_uncompress': files.c:1483:1: warning: old-style function definition [-Wold-style-definition] 1483 | nh_uncompress(filename) | ^~~~~~~~~~~~~ files.c: In function 'lock_file': files.c:1708:1: warning: old-style function definition [-Wold-style-definition] 1708 | lock_file(filename, whichprefix, retryct) | ^~~~~~~~~ files.c: In function 'unlock_file': files.c:1874:1: warning: old-style function definition [-Wold-style-definition] 1874 | unlock_file(filename) | ^~~~~~~~~~~ files.c: In function 'set_configfile_name': files.c:1953:1: warning: old-style function definition [-Wold-style-definition] 1953 | set_configfile_name(fname) | ^~~~~~~~~~~~~~~~~~~ files.c: In function 'fopen_config_file': files.c:1965:1: warning: old-style function definition [-Wold-style-definition] 1965 | fopen_config_file(filename, src) | ^~~~~~~~~~~~~~~~~ files.c: In function 'get_uchars': files.c:2108:1: warning: old-style function definition [-Wold-style-definition] 2108 | get_uchars(bufp, list, modlist, size, name) | ^~~~~~~~~~ files.c: In function 'choose_random_part': files.c:2194:1: warning: old-style function definition [-Wold-style-definition] 2194 | choose_random_part(str,sep) | ^~~~~~~~~~~~~~~~~~ files.c: In function 'is_config_section': files.c:2247:1: warning: old-style function definition [-Wold-style-definition] 2247 | is_config_section(str) | ^~~~~~~~~~~~~~~~~ files.c: In function 'handle_config_section': files.c:2256:1: warning: old-style function definition [-Wold-style-definition] 2256 | handle_config_section(buf) | ^~~~~~~~~~~~~~~~~~~~~ files.c: In function 'find_optparam': files.c:2284:1: warning: old-style function definition [-Wold-style-definition] 2284 | find_optparam(buf) | ^~~~~~~~~~~~~ files.c: In function 'parse_config_line': files.c:2298:1: warning: old-style function definition [-Wold-style-definition] 2298 | parse_config_line(origbuf) | ^~~~~~~~~~~~~~~~~ files.c: In function 'config_error_init': files.c:2817:1: warning: old-style function definition [-Wold-style-definition] 2817 | config_error_init(from_file, sourcename, secure) | ^~~~~~~~~~~~~~~~~ files.c: In function 'config_error_nextline': files.c:2842:1: warning: old-style function definition [-Wold-style-definition] 2842 | config_error_nextline(line) | ^~~~~~~~~~~~~~~~~~~~~ files.c: In function 'config_erradd': files.c:2866:1: warning: old-style function definition [-Wold-style-definition] 2866 | config_erradd(buf) | ^~~~~~~~~~~~~ files.c: In function 'read_config_file': files.c:2918:1: warning: old-style function definition [-Wold-style-definition] 2918 | read_config_file(filename, src) | ^~~~~~~~~~~~~~~~ files.c: In function 'wizkit_addinv': files.c:3015:1: warning: old-style function definition [-Wold-style-definition] 3015 | wizkit_addinv(obj) | ^~~~~~~~~~~~~ files.c: In function 'proc_wizkit_line': files.c:3042:1: warning: old-style function definition [-Wold-style-definition] 3042 | proc_wizkit_line(buf) | ^~~~~~~~~~~~~~~~ files.c: In function 'parse_conf_file': files.c:3090:1: warning: old-style function definition [-Wold-style-definition] 3090 | parse_conf_file(fp, proc) | ^~~~~~~~~~~~~~~ files.c: In function 'read_sym_file': files.c:3254:1: warning: old-style function definition [-Wold-style-definition] 3254 | read_sym_file(which_set) | ^~~~~~~~~~~~~ files.c: In function 'proc_symset_line': files.c:3301:1: warning: old-style function definition [-Wold-style-definition] 3301 | proc_symset_line(buf) | ^~~~~~~~~~~~~~~~ files.c: In function 'parse_sym_line': files.c:3309:1: warning: old-style function definition [-Wold-style-definition] 3309 | parse_sym_line(buf, which_set) | ^~~~~~~~~~~~~~ files.c: In function 'set_symhandling': files.c:3497:1: warning: old-style function definition [-Wold-style-definition] 3497 | set_symhandling(handling, which_set) | ^~~~~~~~~~~~~~~ files.c: In function 'check_recordfile': files.c:3526:1: warning: old-style function definition [-Wold-style-definition] 3526 | check_recordfile(dir) | ^~~~~~~~~~~~~~~~ files.c: In function 'paniclog': files.c:3640:1: warning: old-style function definition [-Wold-style-definition] 3640 | paniclog(type, reason) | ^~~~~~~~ files.c: In function 'testinglog': files.c:3674:1: warning: old-style function definition [-Wold-style-definition] 3674 | testinglog(filenm, type, reason) | ^~~~~~~~~~ files.c: In function 'debugcore': files.c:3954:1: warning: old-style function definition [-Wold-style-definition] 3954 | debugcore(filename, wildcards) | ^~~~~~~~~ files.c: In function 'choose_passage': files.c:4251:1: warning: old-style function definition [-Wold-style-definition] 4251 | choose_passage(passagecnt, oid) | ^~~~~~~~~~~~~~ files.c: In function 'read_tribute': files.c:4293:1: warning: old-style function definition [-Wold-style-definition] 4293 | read_tribute(tribsection, tribtitle, tribpassage, nowin_buf, bufsz, oid) | ^~~~~~~~~~~~ files.c: In function 'Death_quote': files.c:4465:1: warning: old-style function definition [-Wold-style-definition] 4465 | Death_quote(buf, bufsz) | ^~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o fountain.o fountain.c In file included from ../include/hack.h:10, from fountain.c:7: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition fountain.c: In function 'floating_above': fountain.c:18:1: warning: old-style function definition [-Wold-style-definition] 18 | floating_above(what) | ^~~~~~~~~~~~~~ fountain.c: In function 'dogushforth': fountain.c:106:1: warning: old-style function definition [-Wold-style-definition] 106 | dogushforth(drinking) | ^~~~~~~~~~~ fountain.c: In function 'gush': fountain.c:121:1: warning: old-style function definition [-Wold-style-definition] 121 | gush(x, y, poolcnt) | ^~~~ fountain.c: In function 'dryup': fountain.c:167:1: warning: old-style function definition [-Wold-style-definition] 167 | dryup(x, y, isyou) | ^~~~~ fountain.c: In function 'dipfountain': fountain.c:362:1: warning: old-style function definition [-Wold-style-definition] 362 | dipfountain(obj) | ^~~~~~~~~~~ fountain.c: In function 'breaksink': fountain.c:506:1: warning: old-style function definition [-Wold-style-definition] 506 | breaksink(x, y) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o hack.o hack.c In file included from ../include/hack.h:10, from hack.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition hack.c: In function 'uint_to_any': hack.c:32:1: warning: old-style function definition [-Wold-style-definition] 32 | uint_to_any(ui) | ^~~~~~~~~~~ hack.c: In function 'long_to_any': hack.c:41:1: warning: old-style function definition [-Wold-style-definition] 41 | long_to_any(lng) | ^~~~~~~~~~~ hack.c: In function 'monst_to_any': hack.c:50:1: warning: old-style function definition [-Wold-style-definition] 50 | monst_to_any(mtmp) | ^~~~~~~~~~~~ hack.c: In function 'obj_to_any': hack.c:59:1: warning: old-style function definition [-Wold-style-definition] 59 | obj_to_any(obj) | ^~~~~~~~~~ hack.c: In function 'revive_nasty': hack.c:68:1: warning: old-style function definition [-Wold-style-definition] 68 | revive_nasty(x, y, msg) | ^~~~~~~~~~~~ hack.c: In function 'still_chewing': hack.c:390:1: warning: old-style function definition [-Wold-style-definition] 390 | still_chewing(x, y) | ^~~~~~~~~~~~~ hack.c: In function 'movobj': hack.c:541:1: warning: old-style function definition [-Wold-style-definition] 541 | movobj(obj, ox, oy) | ^~~~~~ hack.c: In function 'may_dig': hack.c:641:1: warning: old-style function definition [-Wold-style-definition] 641 | may_dig(x, y) | ^~~~~~~ hack.c: In function 'may_passwall': hack.c:651:1: warning: old-style function definition [-Wold-style-definition] 651 | may_passwall(x, y) | ^~~~~~~~~~~~ hack.c: In function 'bad_rock': hack.c:659:1: warning: old-style function definition [-Wold-style-definition] 659 | bad_rock(mdat, x, y) | ^~~~~~~~ hack.c: In function 'cant_squeeze_thru': hack.c:675:1: warning: old-style function definition [-Wold-style-definition] 675 | cant_squeeze_thru(mon) | ^~~~~~~~~~~~~~~~~ hack.c: In function 'invocation_pos': hack.c:702:1: warning: old-style function definition [-Wold-style-definition] 702 | invocation_pos(x, y) | ^~~~~~~~~~~~~~ hack.c: In function 'test_move': hack.c:713:1: warning: old-style function definition [-Wold-style-definition] 713 | test_move(ux, uy, dx, dy, mode) | ^~~~~~~~~ hack.c: In function 'findtravelpath': hack.c:932:1: warning: old-style function definition [-Wold-style-definition] 932 | findtravelpath(mode) | ^~~~~~~~~~~~~~ hack.c: In function 'is_valid_travelpt': hack.c:1172:1: warning: old-style function definition [-Wold-style-definition] 1172 | is_valid_travelpt(x,y) | ^~~~~~~~~~~~~~~~~ hack.c: In function 'trapmove': hack.c:1197:1: warning: old-style function definition [-Wold-style-definition] 1197 | trapmove(x, y, desttrap) | ^~~~~~~~ hack.c: In function 'maybe_smudge_engr': hack.c:1962:1: warning: old-style function definition [-Wold-style-definition] 1962 | maybe_smudge_engr(x1,y1,x2,y2) | ^~~~~~~~~~~~~~~~~ hack.c: In function 'pooleffects': hack.c:2067:1: warning: old-style function definition [-Wold-style-definition] 2067 | pooleffects(newspot) | ^~~~~~~~~~~ hack.c: In function 'spoteffects': hack.c:2146:1: warning: old-style function definition [-Wold-style-definition] 2146 | spoteffects(pick) | ^~~~~~~~~~~ hack.c: In function 'monstinroom': hack.c:2294:1: warning: old-style function definition [-Wold-style-definition] 2294 | monstinroom(mdat, roomno) | ^~~~~~~~~~~ hack.c: In function 'in_rooms': hack.c:2311:1: warning: old-style function definition [-Wold-style-definition] 2311 | in_rooms(x, y, typewanted) | ^~~~~~~~ hack.c: In function 'in_town': hack.c:2379:1: warning: old-style function definition [-Wold-style-definition] 2379 | in_town(x, y) | ^~~~~~~ hack.c: In function 'move_update': hack.c:2405:1: warning: old-style function definition [-Wold-style-definition] 2405 | move_update(newlev) | ^~~~~~~~~~~ hack.c: In function 'check_special_room': hack.c:2446:1: warning: old-style function definition [-Wold-style-definition] 2446 | check_special_room(newlev) | ^~~~~~~~~~~~~~~~~~ hack.c: In function 'doorless_door': hack.c:2839:1: warning: old-style function definition [-Wold-style-definition] 2839 | doorless_door(x, y) | ^~~~~~~~~~~~~ hack.c: In function 'crawl_destination': hack.c:2855:1: warning: old-style function definition [-Wold-style-definition] 2855 | crawl_destination(x, y) | ^~~~~~~~~~~~~~~~~ hack.c: In function 'nomul': hack.c:2905:1: warning: old-style function definition [-Wold-style-definition] 2905 | nomul(nval) | ^~~~~ hack.c: In function 'unmul': hack.c:2920:1: warning: old-style function definition [-Wold-style-definition] 2920 | unmul(msg_override) | ^~~~~ hack.c: In function 'losehp': hack.c:2988:1: warning: old-style function definition [-Wold-style-definition] 2988 | losehp(n, knam, k_format) | ^~~~~~ hack.c: In function 'calc_capacity': hack.c:3103:1: warning: old-style function definition [-Wold-style-definition] 3103 | calc_capacity(xtra_wt) | ^~~~~~~~~~~~~ hack.c: In function 'check_capacity': hack.c:3131:1: warning: old-style function definition [-Wold-style-definition] 3131 | check_capacity(str) | ^~~~~~~~~~~~~~ hack.c: In function 'inv_cnt': hack.c:3145:1: warning: old-style function definition [-Wold-style-definition] 3145 | inv_cnt(incl_gold) | ^~~~~~~ hack.c: In function 'money_cnt': hack.c:3164:1: warning: old-style function definition [-Wold-style-definition] 3164 | money_cnt(otmp) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o hacklib.o hacklib.c In file included from ../include/hack.h:10, from hacklib.c:7: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition hacklib.c: In function 'digit': hacklib.c:84:1: warning: old-style function definition [-Wold-style-definition] 84 | digit(c) | ^~~~~ hacklib.c: In function 'letter': hacklib.c:92:1: warning: old-style function definition [-Wold-style-definition] 92 | letter(c) | ^~~~~~ hacklib.c: In function 'highc': hacklib.c:100:1: warning: old-style function definition [-Wold-style-definition] 100 | highc(c) | ^~~~~ hacklib.c: In function 'lowc': hacklib.c:108:1: warning: old-style function definition [-Wold-style-definition] 108 | lowc(c) | ^~~~ hacklib.c: In function 'lcase': hacklib.c:116:1: warning: old-style function definition [-Wold-style-definition] 116 | lcase(s) | ^~~~~ hacklib.c: In function 'ucase': hacklib.c:129:1: warning: old-style function definition [-Wold-style-definition] 129 | ucase(s) | ^~~~~ hacklib.c: In function 'upstart': hacklib.c:142:1: warning: old-style function definition [-Wold-style-definition] 142 | upstart(s) | ^~~~~~~ hacklib.c: In function 'mungspaces': hacklib.c:152:1: warning: old-style function definition [-Wold-style-definition] 152 | mungspaces(bp) | ^~~~~~~~~~ hacklib.c: In function 'trimspaces': hacklib.c:175:1: warning: old-style function definition [-Wold-style-definition] 175 | trimspaces(txt) | ^~~~~~~~~~ hacklib.c: In function 'strip_newline': hacklib.c:192:1: warning: old-style function definition [-Wold-style-definition] 192 | strip_newline(str) | ^~~~~~~~~~~~~ hacklib.c: In function 'eos': hacklib.c:207:1: warning: old-style function definition [-Wold-style-definition] 207 | eos(s) | ^~~ hacklib.c: In function 'str_end_is': hacklib.c:217:1: warning: old-style function definition [-Wold-style-definition] 217 | str_end_is(str, chkstr) | ^~~~~~~~~~ hacklib.c: In function 'strkitten': hacklib.c:229:1: warning: old-style function definition [-Wold-style-definition] 229 | strkitten(s, c) | ^~~~~~~~~ hacklib.c: In function 'copynchars': hacklib.c:242:1: warning: old-style function definition [-Wold-style-definition] 242 | copynchars(dst, src, n) | ^~~~~~~~~~ hacklib.c: In function 'chrcasecpy': hacklib.c:259:1: warning: old-style function definition [-Wold-style-definition] 259 | chrcasecpy(oc, nc) | ^~~~~~~~~~ hacklib.c: In function 'strcasecpy': hacklib.c:282:1: warning: old-style function definition [-Wold-style-definition] 282 | strcasecpy(dst, src) | ^~~~~~~~~~ hacklib.c: In function 's_suffix': hacklib.c:306:1: warning: old-style function definition [-Wold-style-definition] 306 | s_suffix(s) | ^~~~~~~~ hacklib.c: In function 'ing_suffix': hacklib.c:325:1: warning: old-style function definition [-Wold-style-definition] 325 | ing_suffix(s) | ^~~~~~~~~~ hacklib.c: In function 'xcrypt': hacklib.c:361:1: warning: old-style function definition [-Wold-style-definition] 361 | xcrypt(str, buf) | ^~~~~~ hacklib.c: In function 'onlyspace': hacklib.c:382:1: warning: old-style function definition [-Wold-style-definition] 382 | onlyspace(s) | ^~~~~~~~~ hacklib.c: In function 'tabexpand': hacklib.c:393:1: warning: old-style function definition [-Wold-style-definition] 393 | tabexpand(sbuf) | ^~~~~~~~~ hacklib.c: In function 'visctrl': hacklib.c:419:1: warning: old-style function definition [-Wold-style-definition] 419 | visctrl(c) | ^~~~~~~ hacklib.c: In function 'stripchars': hacklib.c:450:1: warning: old-style function definition [-Wold-style-definition] 450 | stripchars(bp, stuff_to_strip, orig) | ^~~~~~~~~~ hacklib.c: In function 'strsubst': hacklib.c:474:1: warning: old-style function definition [-Wold-style-definition] 474 | strsubst(bp, orig, replacement) | ^~~~~~~~ hacklib.c: In function 'strNsubst': hacklib.c:496:1: warning: old-style function definition [-Wold-style-definition] 496 | strNsubst(inoutbuf, orig, replacement, n) | ^~~~~~~~~ hacklib.c: In function 'ordin': hacklib.c:540:1: warning: old-style function definition [-Wold-style-definition] 540 | ordin(n) | ^~~~~ hacklib.c: In function 'sitoa': hacklib.c:551:1: warning: old-style function definition [-Wold-style-definition] 551 | sitoa(n) | ^~~~~ hacklib.c: In function 'sgn': hacklib.c:562:1: warning: old-style function definition [-Wold-style-definition] 562 | sgn(n) | ^~~ hacklib.c: In function 'rounddiv': hacklib.c:570:1: warning: old-style function definition [-Wold-style-definition] 570 | rounddiv(x, y) | ^~~~~~~~ hacklib.c: In function 'distmin': hacklib.c:597:1: warning: old-style function definition [-Wold-style-definition] 597 | distmin(x0, y0, x1, y1) | ^~~~~~~ hacklib.c: In function 'dist2': hacklib.c:614:1: warning: old-style function definition [-Wold-style-definition] 614 | dist2(x0, y0, x1, y1) | ^~~~~ hacklib.c: In function 'isqrt': hacklib.c:624:1: warning: old-style function definition [-Wold-style-definition] 624 | isqrt(val) | ^~~~~ hacklib.c: In function 'online2': hacklib.c:647:1: warning: old-style function definition [-Wold-style-definition] 647 | online2(x0, y0, x1, y1) | ^~~~~~~ hacklib.c: In function 'pmatch_internal': hacklib.c:660:1: warning: old-style function definition [-Wold-style-definition] 660 | pmatch_internal(patrn, strng, ci, sk) | ^~~~~~~~~~~~~~~ hacklib.c: In function 'pmatch': hacklib.c:700:1: warning: old-style function definition [-Wold-style-definition] 700 | pmatch(patrn, strng) | ^~~~~~ hacklib.c: In function 'pmatchi': hacklib.c:708:1: warning: old-style function definition [-Wold-style-definition] 708 | pmatchi(patrn, strng) | ^~~~~~~ hacklib.c: In function 'pmatchz': hacklib.c:716:1: warning: old-style function definition [-Wold-style-definition] 716 | pmatchz(patrn, strng) | ^~~~~~~ hacklib.c: In function 'strncmpi': hacklib.c:728:1: warning: old-style function definition [-Wold-style-definition] 728 | strncmpi(s1, s2, n) /*{ aka strncasecmp }*/ | ^~~~~~~~ hacklib.c: In function 'strstri': hacklib.c:751:1: warning: old-style function definition [-Wold-style-definition] 751 | strstri(str, sub) | ^~~~~~~ hacklib.c: In function 'fuzzymatch': hacklib.c:798:1: warning: old-style function definition [-Wold-style-definition] 798 | fuzzymatch(s1, s2, ignore_chars, caseblind) | ^~~~~~~~~~ hacklib.c: In function 'set_random': hacklib.c:858:1: warning: old-style function definition [-Wold-style-definition] 858 | set_random(seed, fn) | ^~~~~~~~~~ hacklib.c: In function 'init_random': hacklib.c:907:1: warning: old-style function definition [-Wold-style-definition] 907 | init_random(fn) | ^~~~~~~~~~~ hacklib.c: In function 'reseed_random': hacklib.c:915:1: warning: old-style function definition [-Wold-style-definition] 915 | reseed_random(fn) | ^~~~~~~~~~~~~ hacklib.c: In function 'yyyymmdd': hacklib.c:968:1: warning: old-style function definition [-Wold-style-definition] 968 | yyyymmdd(date) | ^~~~~~~~ hacklib.c: In function 'hhmmss': hacklib.c:993:1: warning: old-style function definition [-Wold-style-definition] 993 | hhmmss(date) | ^~~~~~ hacklib.c: In function 'yyyymmddhhmmss': hacklib.c:1009:1: warning: old-style function definition [-Wold-style-definition] 1009 | yyyymmddhhmmss(date) | ^~~~~~~~~~~~~~ hacklib.c: In function 'time_from_yyyymmddhhmmss': hacklib.c:1038:1: warning: old-style function definition [-Wold-style-definition] 1038 | time_from_yyyymmddhhmmss(buf) | ^~~~~~~~~~~~~~~~~~~~~~~~ hacklib.c: In function 'strbuf_init': hacklib.c:1145:1: warning: old-style function definition [-Wold-style-definition] 1145 | strbuf_init(strbuf) | ^~~~~~~~~~~ hacklib.c: In function 'strbuf_append': hacklib.c:1154:1: warning: old-style function definition [-Wold-style-definition] 1154 | strbuf_append(strbuf, str) | ^~~~~~~~~~~~~ hacklib.c: In function 'strbuf_reserve': hacklib.c:1167:1: warning: old-style function definition [-Wold-style-definition] 1167 | strbuf_reserve(strbuf, len) | ^~~~~~~~~~~~~~ hacklib.c: In function 'strbuf_empty': hacklib.c:1190:1: warning: old-style function definition [-Wold-style-definition] 1190 | strbuf_empty(strbuf) | ^~~~~~~~~~~~ hacklib.c: In function 'strbuf_nl_to_crlf': hacklib.c:1200:1: warning: old-style function definition [-Wold-style-definition] 1200 | strbuf_nl_to_crlf(strbuf) | ^~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o invent.o invent.c In file included from ../include/hack.h:10, from invent.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition invent.c: In function 'loot_classify': invent.c:57:1: warning: old-style function definition [-Wold-style-definition] 57 | loot_classify(sort_item, obj) | ^~~~~~~~~~~~~ invent.c: In function 'loot_xname': invent.c:217:1: warning: old-style function definition [-Wold-style-definition] 217 | loot_xname(obj) | ^~~~~~~~~~ invent.c: In function 'sortloot_cmp': invent.c:304:1: warning: old-style function definition [-Wold-style-definition] 304 | sortloot_cmp(vptr1, vptr2) | ^~~~~~~~~~~~ invent.c: In function 'sortloot': invent.c:482:1: warning: old-style function definition [-Wold-style-definition] 482 | sortloot(olist, mode, by_nexthere, filterfunc) | ^~~~~~~~ invent.c: In function 'unsortloot': invent.c:537:1: warning: old-style function definition [-Wold-style-definition] 537 | unsortloot(loot_array_p) | ^~~~~~~~~~ invent.c: In function 'assigninvlet': invent.c:585:1: warning: old-style function definition [-Wold-style-definition] 585 | assigninvlet(otmp) | ^~~~~~~~~~~~ invent.c: In function 'merge_choice': invent.c:667:1: warning: old-style function definition [-Wold-style-definition] 667 | merge_choice(objlist, obj) | ^~~~~~~~~~~~ invent.c: In function 'merged': invent.c:704:1: warning: old-style function definition [-Wold-style-definition] 704 | merged(potmp, pobj) | ^~~~~~ invent.c: In function 'addinv_core1': invent.c:807:1: warning: old-style function definition [-Wold-style-definition] 807 | addinv_core1(obj) | ^~~~~~~~~~~~ invent.c: In function 'addinv_core2': invent.c:871:1: warning: old-style function definition [-Wold-style-definition] 871 | addinv_core2(obj) | ^~~~~~~~~~~~ invent.c: In function 'addinv': invent.c:886:1: warning: old-style function definition [-Wold-style-definition] 886 | addinv(obj) | ^~~~~~ invent.c: In function 'carry_obj_effects': invent.c:958:1: warning: old-style function definition [-Wold-style-definition] 958 | carry_obj_effects(obj) | ^~~~~~~~~~~~~~~~~ invent.c: In function 'hold_another_object': invent.c:978:1: warning: old-style function definition [-Wold-style-definition] 978 | hold_another_object(obj, drop_fmt, drop_arg, hold_msg) | ^~~~~~~~~~~~~~~~~~~ invent.c: In function 'useupall': invent.c:1063:1: warning: old-style function definition [-Wold-style-definition] 1063 | useupall(obj) | ^~~~~~~~ invent.c: In function 'useup': invent.c:1072:1: warning: old-style function definition [-Wold-style-definition] 1072 | useup(obj) | ^~~~~ invent.c: In function 'consume_obj_charge': invent.c:1089:1: warning: old-style function definition [-Wold-style-definition] 1089 | consume_obj_charge(obj, maybe_unpaid) | ^~~~~~~~~~~~~~~~~~ invent.c: In function 'freeinv_core': invent.c:1108:1: warning: old-style function definition [-Wold-style-definition] 1108 | freeinv_core(obj) | ^~~~~~~~~~~~ invent.c: In function 'freeinv': invent.c:1151:1: warning: old-style function definition [-Wold-style-definition] 1151 | freeinv(obj) | ^~~~~~~ invent.c: In function 'delallobj': invent.c:1160:1: warning: old-style function definition [-Wold-style-definition] 1160 | delallobj(x, y) | ^~~~~~~~~ invent.c: In function 'delobj': invent.c:1178:1: warning: old-style function definition [-Wold-style-definition] 1178 | delobj(obj) | ^~~~~~ invent.c: In function 'sobj_at': invent.c:1203:1: warning: old-style function definition [-Wold-style-definition] 1203 | sobj_at(otyp, x, y) | ^~~~~~~ invent.c: In function 'nxtobj': invent.c:1218:1: warning: old-style function definition [-Wold-style-definition] 1218 | nxtobj(obj, type, by_nexthere) | ^~~~~~ invent.c: In function 'carrying': invent.c:1236:1: warning: old-style function definition [-Wold-style-definition] 1236 | carrying(type) | ^~~~~~~~ invent.c: In function 'currency': invent.c:1275:1: warning: old-style function definition [-Wold-style-definition] 1275 | currency(amount) | ^~~~~~~~ invent.c: In function 'o_on': invent.c:1310:1: warning: old-style function definition [-Wold-style-definition] 1310 | o_on(id, objchn) | ^~~~ invent.c: In function 'obj_here': invent.c:1327:1: warning: old-style function definition [-Wold-style-definition] 1327 | obj_here(obj, x, y) | ^~~~~~~~ invent.c: In function 'g_at': invent.c:1340:1: warning: old-style function definition [-Wold-style-definition] 1340 | g_at(x, y) | ^~~~ invent.c: In function 'compactify': invent.c:1355:1: warning: old-style function definition [-Wold-style-definition] 1355 | compactify(buf) | ^~~~~~~~~~ invent.c: In function 'splittable': invent.c:1393:1: warning: old-style function definition [-Wold-style-definition] 1393 | splittable(obj) | ^~~~~~~~~~ invent.c: In function 'taking_off': invent.c:1402:1: warning: old-style function definition [-Wold-style-definition] 1402 | taking_off(action) | ^~~~~~~~~~ invent.c: In function 'putting_on': invent.c:1410:1: warning: old-style function definition [-Wold-style-definition] 1410 | putting_on(action) | ^~~~~~~~~~ invent.c: In function 'getobj': invent.c:1425:1: warning: old-style function definition [-Wold-style-definition] 1425 | getobj(let, word) | ^~~~~~ invent.c: In function 'silly_thing': invent.c:1832:1: warning: old-style function definition [-Wold-style-definition] 1832 | silly_thing(word, otmp) | ^~~~~~~~~~~ invent.c: In function 'ckvalidcat': invent.c:1867:1: warning: old-style function definition [-Wold-style-definition] 1867 | ckvalidcat(otmp) | ^~~~~~~~~~ invent.c: In function 'ckunpaid': invent.c:1875:1: warning: old-style function definition [-Wold-style-definition] 1875 | ckunpaid(otmp) | ^~~~~~~~ invent.c: In function 'is_worn': invent.c:1889:1: warning: old-style function definition [-Wold-style-definition] 1889 | is_worn(otmp) | ^~~~~~~ invent.c: In function 'safeq_xprname': invent.c:1905:1: warning: old-style function definition [-Wold-style-definition] 1905 | safeq_xprname(obj) | ^~~~~~~~~~~~~ invent.c: In function 'safeq_shortxprname': invent.c:1914:1: warning: old-style function definition [-Wold-style-definition] 1914 | safeq_shortxprname(obj) | ^~~~~~~~~~~~~~~~~~ invent.c: In function 'ggetobj': invent.c:1929:1: warning: old-style function definition [-Wold-style-definition] 1929 | ggetobj(word, fn, mx, combo, resultflags) | ^~~~~~~ invent.c: In function 'askchain': invent.c:2110:1: warning: old-style function definition [-Wold-style-definition] 2110 | askchain(objchn, olets, allflag, fn, ckfn, mx, word) | ^~~~~~~~ invent.c: In function 'fully_identify_obj': invent.c:2267:1: warning: old-style function definition [-Wold-style-definition] 2267 | fully_identify_obj(otmp) | ^~~~~~~~~~~~~~~~~~ invent.c: In function 'identify': invent.c:2282:1: warning: old-style function definition [-Wold-style-definition] 2282 | identify(otmp) | ^~~~~~~~ invent.c: In function 'menu_identify': invent.c:2292:1: warning: old-style function definition [-Wold-style-definition] 2292 | menu_identify(id_limit) | ^~~~~~~~~~~~~ invent.c: In function 'count_unidentified': invent.c:2330:1: warning: old-style function definition [-Wold-style-definition] 2330 | count_unidentified(objchn) | ^~~~~~~~~~~~~~~~~~ invent.c: In function 'identify_pack': invent.c:2344:1: warning: old-style function definition [-Wold-style-definition] 2344 | identify_pack(id_limit, learning_id) | ^~~~~~~~~~~~~ invent.c: In function 'obj_to_let': invent.c:2425:1: warning: old-style function definition [-Wold-style-definition] 2425 | obj_to_let(obj) | ^~~~~~~~~~ invent.c: In function 'prinv': invent.c:2440:1: warning: old-style function definition [-Wold-style-definition] 2440 | prinv(prefix, obj, quan) | ^~~~~ invent.c: In function 'xprname': invent.c:2452:1: warning: old-style function definition [-Wold-style-definition] 2452 | xprname(obj, txt, let, dot, cost, quan) | ^~~~~~~ invent.c: In function 'find_unpaid': invent.c:2533:1: warning: old-style function definition [-Wold-style-definition] 2533 | find_unpaid(list, last_found) | ^~~~~~~~~~~ invent.c: In function 'display_pickinv': invent.c:2576:1: warning: old-style function definition [-Wold-style-definition] 2576 | display_pickinv(lets, xtra_choice, query, want_reply, out_cnt) | ^~~~~~~~~~~~~~~ invent.c: In function 'display_inventory': invent.c:2815:1: warning: old-style function definition [-Wold-style-definition] 2815 | display_inventory(lets, want_reply) | ^~~~~~~~~~~~~~~~~ invent.c: In function 'display_used_invlets': invent.c:2828:1: warning: old-style function definition [-Wold-style-definition] 2828 | display_used_invlets(avoidlet) | ^~~~~~~~~~~~~~~~~~~~ invent.c: In function 'count_unpaid': invent.c:2886:1: warning: old-style function definition [-Wold-style-definition] 2886 | count_unpaid(list) | ^~~~~~~~~~~~ invent.c: In function 'count_buc': invent.c:2909:1: warning: old-style function definition [-Wold-style-definition] 2909 | count_buc(list, type, filterfunc) | ^~~~~~~~~ invent.c: In function 'tally_BUCX': invent.c:2944:1: warning: old-style function definition [-Wold-style-definition] 2944 | tally_BUCX(list, by_nexthere, bcp, ucp, ccp, xcp, ocp) | ^~~~~~~~~~ invent.c: In function 'count_contents': invent.c:2982:1: warning: old-style function definition [-Wold-style-definition] 2982 | count_contents(container, nested, quantity, everything, newdrop) | ^~~~~~~~~~~~~~ invent.c: In function 'this_type_only': invent.c:3119:1: warning: old-style function definition [-Wold-style-definition] 3119 | this_type_only(obj) | ^~~~~~~~~~~~~~ invent.c: In function 'dfeature_at': invent.c:3320:1: warning: old-style function definition [-Wold-style-definition] 3320 | dfeature_at(x, y, buf) | ^~~~~~~~~~~ invent.c: In function 'look_here': invent.c:3399:1: warning: old-style function definition [-Wold-style-definition] 3399 | look_here(obj_cnt, picked_some) | ^~~~~~~~~ invent.c: In function 'will_feel_cockatrice': invent.c:3588:1: warning: old-style function definition [-Wold-style-definition] 3588 | will_feel_cockatrice(otmp, force_touch) | ^~~~~~~~~~~~~~~~~~~~ invent.c: In function 'feel_cockatrice': invent.c:3599:1: warning: old-style function definition [-Wold-style-definition] 3599 | feel_cockatrice(otmp, force_touch) | ^~~~~~~~~~~~~~~ invent.c: In function 'stackobj': invent.c:3622:1: warning: old-style function definition [-Wold-style-definition] 3622 | stackobj(obj) | ^~~~~~~~ invent.c: In function 'mergable': invent.c:3635:1: warning: old-style function definition [-Wold-style-definition] 3635 | mergable(otmp, obj) | ^~~~~~~~ invent.c: In function 'noarmor': invent.c:3759:1: warning: old-style function definition [-Wold-style-definition] 3759 | noarmor(report_uskin) | ^~~~~~~ invent.c: In function 'tool_in_use': invent.c:3848:1: warning: old-style function definition [-Wold-style-definition] 3848 | tool_in_use(obj) | ^~~~~~~~~~~ invent.c: In function 'useupf': invent.c:3902:1: warning: old-style function definition [-Wold-style-definition] 3902 | useupf(obj, numused) | ^~~~~~ invent.c: In function 'let_to_name': invent.c:3942:1: warning: old-style function definition [-Wold-style-definition] 3942 | let_to_name(let, unpaid, showsym) | ^~~~~~~~~~~ invent.c: In function 'invdisp_nothing': invent.c:4300:1: warning: old-style function definition [-Wold-style-definition] 4300 | invdisp_nothing(hdr, txt) | ^~~~~~~~~~~~~~~ invent.c: In function 'worn_wield_only': invent.c:4323:1: warning: old-style function definition [-Wold-style-definition] 4323 | worn_wield_only(obj) | ^~~~~~~~~~~~~~~ invent.c: In function 'display_minventory': invent.c:4356:1: warning: old-style function definition [-Wold-style-definition] 4356 | display_minventory(mon, dflags, title) | ^~~~~~~~~~~~~~~~~~ invent.c: In function 'display_cinventory': invent.c:4407:1: warning: old-style function definition [-Wold-style-definition] 4407 | display_cinventory(obj) | ^~~~~~~~~~~~~~~~~~ invent.c: In function 'only_here': invent.c:4438:1: warning: old-style function definition [-Wold-style-definition] 4438 | only_here(obj) | ^~~~~~~~~ invent.c: In function 'display_binventory': invent.c:4451:1: warning: old-style function definition [-Wold-style-definition] 4451 | display_binventory(x, y, as_if_seen) | ^~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o isaac64.o isaac64.c In file included from isaac64.c:12: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o light.o light.c In file included from ../include/hack.h:10, from light.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition light.c: In function 'new_light_source': light.c:56:1: warning: old-style function definition [-Wold-style-definition] 56 | new_light_source(x, y, range, type, id) | ^~~~~~~~~~~~~~~~ light.c: In function 'del_light_source': light.c:87:1: warning: old-style function definition [-Wold-style-definition] 87 | del_light_source(type, id) | ^~~~~~~~~~~~~~~~ light.c: In function 'do_light_sources': light.c:131:1: warning: old-style function definition [-Wold-style-definition] 131 | do_light_sources(cs_rows) | ^~~~~~~~~~~~~~~~ light.c: In function 'show_transient_light': light.c:217:1: warning: old-style function definition [-Wold-style-definition] 217 | show_transient_light(obj, x, y) | ^~~~~~~~~~~~~~~~~~~~ light.c: In function 'find_mid': light.c:291:1: warning: old-style function definition [-Wold-style-definition] 291 | find_mid(nid, fmflags) | ^~~~~~~~ light.c: In function 'save_light_sources': light.c:316:1: warning: old-style function definition [-Wold-style-definition] 316 | save_light_sources(fd, mode, range) | ^~~~~~~~~~~~~~~~~~ light.c: In function 'restore_light_sources': light.c:366:1: warning: old-style function definition [-Wold-style-definition] 366 | restore_light_sources(fd) | ^~~~~~~~~~~~~~~~~~~~~ light.c: In function 'light_stats': light.c:385:1: warning: old-style function definition [-Wold-style-definition] 385 | light_stats(hdrfmt, hdrbuf, count, size) | ^~~~~~~~~~~ light.c: In function 'relink_light_sources': light.c:402:1: warning: old-style function definition [-Wold-style-definition] 402 | relink_light_sources(ghostly) | ^~~~~~~~~~~~~~~~~~~~ light.c: In function 'maybe_write_ls': light.c:441:1: warning: old-style function definition [-Wold-style-definition] 441 | maybe_write_ls(fd, range, write_it) | ^~~~~~~~~~~~~~ light.c: In function 'write_ls': light.c:506:1: warning: old-style function definition [-Wold-style-definition] 506 | write_ls(fd, ls) | ^~~~~~~~ light.c: In function 'obj_move_light_source': light.c:547:1: warning: old-style function definition [-Wold-style-definition] 547 | obj_move_light_source(src, dest) | ^~~~~~~~~~~~~~~~~~~~~ light.c: In function 'snuff_light_source': light.c:571:1: warning: old-style function definition [-Wold-style-definition] 571 | snuff_light_source(x, y) | ^~~~~~~~~~~~~~~~~~ light.c: In function 'obj_sheds_light': light.c:606:1: warning: old-style function definition [-Wold-style-definition] 606 | obj_sheds_light(obj) | ^~~~~~~~~~~~~~~ light.c: In function 'obj_is_burning': light.c:615:1: warning: old-style function definition [-Wold-style-definition] 615 | obj_is_burning(obj) | ^~~~~~~~~~~~~~ light.c: In function 'obj_split_light_source': light.c:625:1: warning: old-style function definition [-Wold-style-definition] 625 | obj_split_light_source(src, dest) | ^~~~~~~~~~~~~~~~~~~~~~ light.c: In function 'obj_merge_light_sources': light.c:655:1: warning: old-style function definition [-Wold-style-definition] 655 | obj_merge_light_sources(src, dest) | ^~~~~~~~~~~~~~~~~~~~~~~ light.c: In function 'obj_adjust_light_radius': light.c:674:1: warning: old-style function definition [-Wold-style-definition] 674 | obj_adjust_light_radius(obj, new_radius) | ^~~~~~~~~~~~~~~~~~~~~~~ light.c: In function 'candle_light_range': light.c:693:1: warning: old-style function definition [-Wold-style-definition] 693 | candle_light_range(obj) | ^~~~~~~~~~~~~~~~~~ light.c: In function 'arti_light_radius': light.c:733:1: warning: old-style function definition [-Wold-style-definition] 733 | arti_light_radius(obj) | ^~~~~~~~~~~~~~~~~ light.c: In function 'arti_light_description': light.c:755:1: warning: old-style function definition [-Wold-style-definition] 755 | arti_light_description(obj) | ^~~~~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o lock.o lock.c In file included from ../include/hack.h:10, from lock.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition lock.c: In function 'picking_lock': lock.c:26:1: warning: old-style function definition [-Wold-style-definition] 26 | picking_lock(x, y) | ^~~~~~~~~~~~ lock.c: In function 'picking_at': lock.c:40:1: warning: old-style function definition [-Wold-style-definition] 40 | picking_at(x, y) | ^~~~~~~~~~ lock.c: In function 'breakchestlock': lock.c:169:1: warning: old-style function definition [-Wold-style-definition] 169 | breakchestlock(box, destroyit) | ^~~~~~~~~~~~~~ lock.c: In function 'maybe_reset_pick': lock.c:277:1: warning: old-style function definition [-Wold-style-definition] 277 | maybe_reset_pick(container) | ^~~~~~~~~~~~~~~~ lock.c: In function 'pick_lock': lock.c:306:1: warning: old-style function definition [-Wold-style-definition] 306 | pick_lock(pick) | ^~~~~~~~~ lock.c: In function 'stumble_on_door_mimic': lock.c:611:1: warning: old-style function definition [-Wold-style-definition] 611 | stumble_on_door_mimic(x, y) | ^~~~~~~~~~~~~~~~~~~~~ lock.c: In function 'doopen_indir': lock.c:633:1: warning: old-style function definition [-Wold-style-definition] 633 | doopen_indir(x, y) | ^~~~~~~~~~~~ lock.c: In function 'obstructed': lock.c:742:1: warning: old-style function definition [-Wold-style-definition] 742 | obstructed(x, y, quietly) | ^~~~~~~~~~ lock.c: In function 'boxlock': lock.c:875:1: warning: old-style function definition [-Wold-style-definition] 875 | boxlock(obj, otmp) | ^~~~~~~ lock.c: In function 'doorlock': lock.c:921:1: warning: old-style function definition [-Wold-style-definition] 921 | doorlock(otmp, x, y) | ^~~~~~~~ lock.c: In function 'chest_shatter_msg': lock.c:1074:1: warning: old-style function definition [-Wold-style-definition] 1074 | chest_shatter_msg(otmp) | ^~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mail.o mail.c In file included from ../include/hack.h:10, from mail.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mail.c: In function 'md_start': mail.c:144:1: warning: old-style function definition [-Wold-style-definition] 144 | md_start(startp) | ^~~~~~~~ mail.c: In function 'md_stop': mail.c:244:1: warning: old-style function definition [-Wold-style-definition] 244 | md_stop(stopp, startp) | ^~~~~~~ mail.c: In function 'md_rush': mail.c:285:1: warning: old-style function definition [-Wold-style-definition] 285 | md_rush(md, tx, ty) | ^~~~~~~ mail.c: In function 'newmail': mail.c:388:1: warning: old-style function definition [-Wold-style-definition] 388 | newmail(info) | ^~~~~~~ mail.c: In function 'readmail': mail.c:678:1: warning: old-style function definition [-Wold-style-definition] 678 | readmail(otmp) | ^~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o makemon.o makemon.c In file included from ../include/hack.h:10, from makemon.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition makemon.c: In function 'is_home_elemental': makemon.c:34:1: warning: old-style function definition [-Wold-style-definition] 34 | is_home_elemental(ptr) | ^~~~~~~~~~~~~~~~~ makemon.c: In function 'wrong_elem_type': makemon.c:55:1: warning: old-style function definition [-Wold-style-definition] 55 | wrong_elem_type(ptr) | ^~~~~~~~~~~~~~~ makemon.c: In function 'm_initgrp': makemon.c:79:1: warning: old-style function definition [-Wold-style-definition] 79 | m_initgrp(mtmp, x, y, n, mmflags) | ^~~~~~~~~ makemon.c: In function 'm_initthrow': makemon.c:148:1: warning: old-style function definition [-Wold-style-definition] 148 | m_initthrow(mtmp, otyp, oquan) | ^~~~~~~~~~~ makemon.c: In function 'm_initweap': makemon.c:163:1: warning: old-style function definition [-Wold-style-definition] 163 | m_initweap(mtmp) | ^~~~~~~~~~ makemon.c: In function 'mkmonmoney': makemon.c:565:1: warning: old-style function definition [-Wold-style-definition] 565 | mkmonmoney(mtmp, amount) | ^~~~~~~~~~ makemon.c: In function 'm_initinv': makemon.c:576:1: warning: old-style function definition [-Wold-style-definition] 576 | m_initinv(mtmp) | ^~~~~~~~~ makemon.c: In function 'clone_mon': makemon.c:805:1: warning: old-style function definition [-Wold-style-definition] 805 | clone_mon(mon, x, y) | ^~~~~~~~~ makemon.c: In function 'propagate': makemon.c:924:1: warning: old-style function definition [-Wold-style-definition] 924 | propagate(mndx, tally, ghostly) | ^~~~~~~~~ makemon.c: In function 'monhp_per_lvl': makemon.c:956:1: warning: old-style function definition [-Wold-style-definition] 956 | monhp_per_lvl(mon) | ^~~~~~~~~~~~~ makemon.c: In function 'newmonhp': makemon.c:983:1: warning: old-style function definition [-Wold-style-definition] 983 | newmonhp(mon, mndx) | ^~~~~~~~ makemon.c: In function 'makemon_rnd_goodpos': makemon.c:1034:1: warning: old-style function definition [-Wold-style-definition] 1034 | makemon_rnd_goodpos(mon, gpflags, cc) | ^~~~~~~~~~~~~~~~~~~ makemon.c: In function 'makemon': makemon.c:1106:1: warning: old-style function definition [-Wold-style-definition] 1106 | makemon(ptr, x, y, mmflags) | ^~~~~~~ makemon.c: In function 'mbirth_limit': makemon.c:1418:1: warning: old-style function definition [-Wold-style-definition] 1418 | mbirth_limit(mndx) | ^~~~~~~~~~~~ makemon.c: In function 'create_critters': makemon.c:1433:1: warning: old-style function definition [-Wold-style-definition] 1433 | create_critters(cnt, mptr, neverask) | ^~~~~~~~~~~~~~~ makemon.c: In function 'uncommon': makemon.c:1466:1: warning: old-style function definition [-Wold-style-definition] 1466 | uncommon(mndx) | ^~~~~~~~ makemon.c: In function 'align_shift': makemon.c:1485:1: warning: old-style function definition [-Wold-style-definition] 1485 | align_shift(ptr) | ^~~~~~~~~~~ makemon.c: In function 'reset_rndmonst': makemon.c:1606:1: warning: old-style function definition [-Wold-style-definition] 1606 | reset_rndmonst(mndx) | ^~~~~~~~~~~~~~ makemon.c: In function 'mk_gen_ok': makemon.c:1620:1: warning: old-style function definition [-Wold-style-definition] 1620 | mk_gen_ok(mndx, mvflagsmask, genomask) | ^~~~~~~~~ makemon.c: In function 'mkclass': makemon.c:1644:1: warning: old-style function definition [-Wold-style-definition] 1644 | mkclass(class, spc) | ^~~~~~~ makemon.c: In function 'mkclass_aligned': makemon.c:1653:1: warning: old-style function definition [-Wold-style-definition] 1653 | mkclass_aligned(class, spc, atyp) | ^~~~~~~~~~~~~~~ makemon.c: In function 'mkclass_poly': makemon.c:1730:1: warning: old-style function definition [-Wold-style-definition] 1730 | mkclass_poly(class) | ^~~~~~~~~~~~ makemon.c: In function 'adj_lev': makemon.c:1757:1: warning: old-style function definition [-Wold-style-definition] 1757 | adj_lev(ptr) | ^~~~~~~ makemon.c: In function 'grow_up': makemon.c:1793:1: warning: old-style function definition [-Wold-style-definition] 1793 | grow_up(mtmp, victim) | ^~~~~~~ makemon.c: In function 'mongets': makemon.c:1914:1: warning: old-style function definition [-Wold-style-definition] 1914 | mongets(mtmp, otyp) | ^~~~~~~ makemon.c: In function 'golemhp': makemon.c:1967:1: warning: old-style function definition [-Wold-style-definition] 1967 | golemhp(type) | ^~~~~~~ makemon.c: In function 'peace_minded': makemon.c:2003:1: warning: old-style function definition [-Wold-style-definition] 2003 | peace_minded(ptr) | ^~~~~~~~~~~~ makemon.c: In function 'set_malign': makemon.c:2055:1: warning: old-style function definition [-Wold-style-definition] 2055 | set_malign(mtmp) | ^~~~~~~~~~ makemon.c: In function 'newmcorpsenm': makemon.c:2105:1: warning: old-style function definition [-Wold-style-definition] 2105 | newmcorpsenm(mtmp) | ^~~~~~~~~~~~ makemon.c: In function 'freemcorpsenm': makemon.c:2115:1: warning: old-style function definition [-Wold-style-definition] 2115 | freemcorpsenm(mtmp) | ^~~~~~~~~~~~~ makemon.c: In function 'set_mimic_sym': makemon.c:2130:1: warning: old-style function definition [-Wold-style-definition] 2130 | set_mimic_sym(mtmp) | ^~~~~~~~~~~~~ makemon.c: In function 'bagotricks': makemon.c:2275:1: warning: old-style function definition [-Wold-style-definition] 2275 | bagotricks(bag, tipping, seencount) | ^~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mapglyph.o mapglyph.c In file included from ../include/hack.h:10, from mapglyph.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mapglyph.c: In function 'mapglyph': mapglyph.c:62:1: warning: old-style function definition [-Wold-style-definition] 62 | mapglyph(glyph, ochar, ocolor, ospecial, x, y, mgflags) | ^~~~~~~~ mapglyph.c: In function 'encglyph': mapglyph.c:257:1: warning: old-style function definition [-Wold-style-definition] 257 | encglyph(glyph) | ^~~~~~~~ mapglyph.c: In function 'decode_mixed': mapglyph.c:267:1: warning: old-style function definition [-Wold-style-definition] 267 | decode_mixed(buf, str) | ^~~~~~~~~~~~ mapglyph.c: In function 'genl_putmixed': mapglyph.c:360:1: warning: old-style function definition [-Wold-style-definition] 360 | genl_putmixed(window, attr, str) | ^~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mcastu.o mcastu.c In file included from ../include/hack.h:10, from mcastu.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mcastu.c: In function 'cursetxt': mcastu.c:53:1: warning: old-style function definition [-Wold-style-definition] 53 | cursetxt(mtmp, undirected) | ^~~~~~~~ mcastu.c: In function 'choose_magic_spell': mcastu.c:82:1: warning: old-style function definition [-Wold-style-definition] 82 | choose_magic_spell(spellval) | ^~~~~~~~~~~~~~~~~~ mcastu.c: In function 'choose_clerical_spell': mcastu.c:137:1: warning: old-style function definition [-Wold-style-definition] 137 | choose_clerical_spell(spellnum) | ^~~~~~~~~~~~~~~~~~~~~ mcastu.c: In function 'castmu': mcastu.c:184:1: warning: old-style function definition [-Wold-style-definition] 184 | castmu(mtmp, mattk, thinks_it_foundyou, foundyou) | ^~~~~~ mcastu.c: In function 'm_cure_self': mcastu.c:341:1: warning: old-style function definition [-Wold-style-definition] 341 | m_cure_self(mtmp, dmg) | ^~~~~~~~~~~ mcastu.c: In function 'cast_wizard_spell': mcastu.c:367:1: warning: old-style function definition [-Wold-style-definition] 367 | cast_wizard_spell(mtmp, dmg, spellnum) | ^~~~~~~~~~~~~~~~~ mcastu.c: In function 'cast_cleric_spell': mcastu.c:524:1: warning: old-style function definition [-Wold-style-definition] 524 | cast_cleric_spell(mtmp, dmg, spellnum) | ^~~~~~~~~~~~~~~~~ mcastu.c: In function 'is_undirected_spell': mcastu.c:736:1: warning: old-style function definition [-Wold-style-definition] 736 | is_undirected_spell(adtyp, spellnum) | ^~~~~~~~~~~~~~~~~~~ mcastu.c: In function 'spell_would_be_useless': mcastu.c:767:1: warning: old-style function definition [-Wold-style-definition] 767 | spell_would_be_useless(mtmp, adtyp, spellnum) | ^~~~~~~~~~~~~~~~~~~~~~ mcastu.c: In function 'buzzmu': mcastu.c:841:1: warning: old-style function definition [-Wold-style-definition] 841 | buzzmu(mtmp, mattk) | ^~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mhitm.o mhitm.c In file included from ../include/hack.h:10, from mhitm.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mhitm.c: In function 'noises': mhitm.c:43:1: warning: old-style function definition [-Wold-style-definition] 43 | noises(magr, mattk) | ^~~~~~ mhitm.c: In function 'missmm': mhitm.c:60:1: warning: old-style function definition [-Wold-style-definition] 60 | missmm(magr, mdef, mattk) | ^~~~~~ mhitm.c: In function 'fightm': mhitm.c:117:1: warning: old-style function definition [-Wold-style-definition] 117 | fightm(mtmp) | ^~~~~~ mhitm.c: In function 'mdisplacem': mhitm.c:192:1: warning: old-style function definition [-Wold-style-definition] 192 | mdisplacem(magr, mdef, quietly) | ^~~~~~~~~~ mhitm.c: In function 'mattackm': mhitm.c:287:1: warning: old-style function definition [-Wold-style-definition] 287 | mattackm(magr, mdef) | ^~~~~~~~ mhitm.c: In function 'hitmm': mhitm.c:537:1: warning: old-style function definition [-Wold-style-definition] 537 | hitmm(magr, mdef, mattk) | ^~~~~ mhitm.c: In function 'gazemm': mhitm.c:645:1: warning: old-style function definition [-Wold-style-definition] 645 | gazemm(magr, mdef, mattk) | ^~~~~~ mhitm.c: In function 'engulf_target': mhitm.c:699:1: warning: old-style function definition [-Wold-style-definition] 699 | engulf_target(magr, mdef) | ^~~~~~~~~~~~~ mhitm.c: In function 'gulpmm': mhitm.c:731:1: warning: old-style function definition [-Wold-style-definition] 731 | gulpmm(magr, mdef, mattk) | ^~~~~~ mhitm.c: In function 'explmm': mhitm.c:819:1: warning: old-style function definition [-Wold-style-definition] 819 | explmm(magr, mdef, mattk) | ^~~~~~ mhitm.c: In function 'mdamagem': mhitm.c:859:1: warning: old-style function definition [-Wold-style-definition] 859 | mdamagem(magr, mdef, mattk) | ^~~~~~~~ mhitm.c: In function 'paralyze_monst': mhitm.c:1492:1: warning: old-style function definition [-Wold-style-definition] 1492 | paralyze_monst(mon, amt) | ^~~~~~~~~~~~~~ mhitm.c: In function 'sleep_monst': mhitm.c:1507:1: warning: old-style function definition [-Wold-style-definition] 1507 | sleep_monst(mon, amt, how) | ^~~~~~~~~~~ mhitm.c: In function 'slept_monst': mhitm.c:1530:1: warning: old-style function definition [-Wold-style-definition] 1530 | slept_monst(mon) | ^~~~~~~~~~~ mhitm.c: In function 'rustm': mhitm.c:1541:1: warning: old-style function definition [-Wold-style-definition] 1541 | rustm(mdef, obj) | ^~~~~ mhitm.c: In function 'mswingsm': mhitm.c:1566:1: warning: old-style function definition [-Wold-style-definition] 1566 | mswingsm(magr, mdef, otemp) | ^~~~~~~~ mhitm.c: In function 'passivemm': mhitm.c:1583:1: warning: old-style function definition [-Wold-style-definition] 1583 | passivemm(magr, mdef, mhit, mdead) | ^~~~~~~~~ mhitm.c: In function 'xdrainenergym': mhitm.c:1738:1: warning: old-style function definition [-Wold-style-definition] 1738 | xdrainenergym(mon, givemsg) | ^~~~~~~~~~~~~ mhitm.c: In function 'attk_protection': mhitm.c:1754:1: warning: old-style function definition [-Wold-style-definition] 1754 | attk_protection(aatyp) | ^~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mhitu.o mhitu.c In file included from ../include/hack.h:10, from mhitu.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mhitu.c: In function 'hitmsg': mhitu.c:30:1: warning: old-style function definition [-Wold-style-definition] 30 | hitmsg(mtmp, mattk) | ^~~~~~ mhitu.c: In function 'missmu': mhitu.c:81:1: warning: old-style function definition [-Wold-style-definition] 81 | missmu(mtmp, nearmiss, mattk) | ^~~~~~ mhitu.c: In function 'mswings': mhitu.c:100:1: warning: old-style function definition [-Wold-style-definition] 100 | mswings(mtmp, otemp) | ^~~~~~~ mhitu.c: In function 'mpoisons_subj': mhitu.c:113:1: warning: old-style function definition [-Wold-style-definition] 113 | mpoisons_subj(mtmp, mattk) | ^~~~~~~~~~~~~ mhitu.c: In function 'wildmiss': mhitu.c:143:1: warning: old-style function definition [-Wold-style-definition] 143 | wildmiss(mtmp, mattk) | ^~~~~~~~ mhitu.c: In function 'expels': mhitu.c:219:1: warning: old-style function definition [-Wold-style-definition] 219 | expels(mtmp, mdat, message) | ^~~~~~ mhitu.c: In function 'getmattk': mhitu.c:262:1: warning: old-style function definition [-Wold-style-definition] 262 | getmattk(magr, mdef, indx, prev_result, alt_attk_buf) | ^~~~~~~~ mhitu.c: In function 'mattacku': mhitu.c:364:1: warning: old-style function definition [-Wold-style-definition] 364 | mattacku(mtmp) | ^~~~~~~~ mhitu.c: In function 'diseasemu': mhitu.c:817:1: warning: old-style function definition [-Wold-style-definition] 817 | diseasemu(mdat) | ^~~~~~~~~ mhitu.c: In function 'u_slip_free': mhitu.c:832:1: warning: old-style function definition [-Wold-style-definition] 832 | u_slip_free(mtmp, mattk) | ^~~~~~~~~~~ mhitu.c: In function 'magic_negation': mhitu.c:869:1: warning: old-style function definition [-Wold-style-definition] 869 | magic_negation(mon) | ^~~~~~~~~~~~~~ mhitu.c: In function 'hitmu': mhitu.c:921:1: warning: old-style function definition [-Wold-style-definition] 921 | hitmu(mtmp, mattk) | ^~~~~ mhitu.c: In function 'gulpmu': mhitu.c:1780:1: warning: old-style function definition [-Wold-style-definition] 1780 | gulpmu(mtmp, mattk) | ^~~~~~ mhitu.c: In function 'explmu': mhitu.c:2038:1: warning: old-style function definition [-Wold-style-definition] 2038 | explmu(mtmp, mattk, ufound) | ^~~~~~ mhitu.c: In function 'gazemu': mhitu.c:2143:1: warning: old-style function definition [-Wold-style-definition] 2143 | gazemu(mtmp, mattk) | ^~~~~~ mhitu.c: In function 'mdamageu': mhitu.c:2359:1: warning: old-style function definition [-Wold-style-definition] 2359 | mdamageu(mtmp, n) | ^~~~~~~~ mhitu.c: In function 'could_seduce': mhitu.c:2380:1: warning: old-style function definition [-Wold-style-definition] 2380 | could_seduce(magr, mdef, mattk) | ^~~~~~~~~~~~ mhitu.c: In function 'doseduce': mhitu.c:2432:1: warning: old-style function definition [-Wold-style-definition] 2432 | doseduce(mon) | ^~~~~~~~ mhitu.c: In function 'mayberem': mhitu.c:2728:1: warning: old-style function definition [-Wold-style-definition] 2728 | mayberem(mon, seducer, obj, str) | ^~~~~~~~ mhitu.c: In function 'passiveum': mhitu.c:2781:1: warning: old-style function definition [-Wold-style-definition] 2781 | passiveum(olduasmon, mtmp, mattk) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o minion.o minion.c In file included from ../include/hack.h:10, from minion.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition minion.c: In function 'newemin': minion.c:9:1: warning: old-style function definition [-Wold-style-definition] 9 | newemin(mtmp) | ^~~~~~~ minion.c: In function 'free_emin': minion.c:21:1: warning: old-style function definition [-Wold-style-definition] 21 | free_emin(mtmp) | ^~~~~~~~~ minion.c: In function 'monster_census': minion.c:33:1: warning: old-style function definition [-Wold-style-definition] 33 | monster_census(spotted) | ^~~~~~~~~~~~~~ minion.c: In function 'msummon': minion.c:51:1: warning: old-style function definition [-Wold-style-definition] 51 | msummon(mon) | ^~~~~~~ minion.c: In function 'summon_minion': minion.c:164:1: warning: old-style function definition [-Wold-style-definition] 164 | summon_minion(alignment, talk) | ^~~~~~~~~~~~~ minion.c: In function 'demon_talk': minion.c:230:1: warning: old-style function definition [-Wold-style-definition] 230 | demon_talk(mtmp) | ^~~~~~~~~~ minion.c: In function 'bribe': minion.c:320:1: warning: old-style function definition [-Wold-style-definition] 320 | bribe(mtmp) | ^~~~~ minion.c: In function 'dprince': minion.c:351:1: warning: old-style function definition [-Wold-style-definition] 351 | dprince(atyp) | ^~~~~~~ minion.c: In function 'dlord': minion.c:366:1: warning: old-style function definition [-Wold-style-definition] 366 | dlord(atyp) | ^~~~~ minion.c: In function 'ndemon': minion.c:406:1: warning: old-style function definition [-Wold-style-definition] 406 | ndemon(atyp) | ^~~~~~ minion.c: In function 'lose_guardian_angel': minion.c:431:1: warning: old-style function definition [-Wold-style-definition] 431 | lose_guardian_angel(mon) | ^~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mklev.o mklev.c In file included from ../include/hack.h:10, from mklev.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mklev.c: In function 'do_comp': mklev.c:47:1: warning: old-style function definition [-Wold-style-definition] 47 | do_comp(vx, vy) | ^~~~~~~ mklev.c: In function 'finddpos': mklev.c:69:1: warning: old-style function definition [-Wold-style-definition] 69 | finddpos(cc, xl, yl, xh, yh) | ^~~~~~~~ mklev.c: In function 'do_room_or_subroom': mklev.c:111:1: warning: old-style function definition [-Wold-style-definition] 111 | do_room_or_subroom(croom, lowx, lowy, hix, hiy, lit, rtype, special, is_room) | ^~~~~~~~~~~~~~~~~~ mklev.c: In function 'add_room': mklev.c:187:1: warning: old-style function definition [-Wold-style-definition] 187 | add_room(lowx, lowy, hix, hiy, lit, rtype, special) | ^~~~~~~~ mklev.c: In function 'add_subroom': mklev.c:204:1: warning: old-style function definition [-Wold-style-definition] 204 | add_subroom(proom, lowx, lowy, hix, hiy, lit, rtype, special) | ^~~~~~~~~~~ mklev.c: In function 'join': mklev.c:244:1: warning: old-style function definition [-Wold-style-definition] 244 | join(a, b, nxcor) | ^~~~ mklev.c: In function 'add_door': mklev.c:351:1: warning: old-style function definition [-Wold-style-definition] 351 | add_door(x, y, aroom) | ^~~~~~~~ mklev.c: In function 'dosdoor': mklev.c:384:1: warning: old-style function definition [-Wold-style-definition] 384 | dosdoor(x, y, aroom, type) | ^~~~~~~ mklev.c: In function 'place_niche': mklev.c:451:1: warning: old-style function definition [-Wold-style-definition] 451 | place_niche(aroom, dy, xx, yy) | ^~~~~~~~~~~ mklev.c: In function 'makeniche': mklev.c:484:1: warning: old-style function definition [-Wold-style-definition] 484 | makeniche(trap_type) | ^~~~~~~~~ mklev.c: In function 'mineralize': mklev.c:892:1: warning: old-style function definition [-Wold-style-definition] 892 | mineralize(kelp_pool, kelp_moat, goldprob, gemprob, skip_lvl_checks) | ^~~~~~~~~~ mklev.c: In function 'topologize': mklev.c:1041:1: warning: old-style function definition [-Wold-style-definition] 1041 | topologize(croom) | ^~~~~~~~~~ mklev.c: In function 'find_branch_room': mklev.c:1102:1: warning: old-style function definition [-Wold-style-definition] 1102 | find_branch_room(mp) | ^~~~~~~~~~~~~~~~ mklev.c: In function 'pos_to_room': mklev.c:1133:1: warning: old-style function definition [-Wold-style-definition] 1133 | pos_to_room(x, y) | ^~~~~~~~~~~ mklev.c: In function 'place_branch': mklev.c:1148:1: warning: old-style function definition [-Wold-style-definition] 1148 | place_branch(br, x, y) | ^~~~~~~~~~~~ mklev.c: In function 'bydoor': mklev.c:1207:1: warning: old-style function definition [-Wold-style-definition] 1207 | bydoor(x, y) | ^~~~~~ mklev.c: In function 'okdoor': mklev.c:1237:1: warning: old-style function definition [-Wold-style-definition] 1237 | okdoor(x, y) | ^~~~~~ mklev.c: In function 'dodoor': mklev.c:1247:1: warning: old-style function definition [-Wold-style-definition] 1247 | dodoor(x, y, aroom) | ^~~~~~ mklev.c: In function 'occupied': mklev.c:1260:1: warning: old-style function definition [-Wold-style-definition] 1260 | occupied(x, y) | ^~~~~~~~ mklev.c: In function 'mktrap': mklev.c:1271:1: warning: old-style function definition [-Wold-style-definition] 1271 | mktrap(num, mazeflag, croom, tm) | ^~~~~~ mklev.c: In function 'mkstairs': mklev.c:1534:1: warning: old-style function definition [-Wold-style-definition] 1534 | mkstairs(x, y, up, croom) | ^~~~~~~~ mklev.c: In function 'mkfount': mklev.c:1568:1: warning: old-style function definition [-Wold-style-definition] 1568 | mkfount(mazeflag, croom) | ^~~~~~~ mklev.c: In function 'mksink': mklev.c:1594:1: warning: old-style function definition [-Wold-style-definition] 1594 | mksink(croom) | ^~~~~~ mklev.c: In function 'mkaltar': mklev.c:1614:1: warning: old-style function definition [-Wold-style-definition] 1614 | mkaltar(croom) | ^~~~~~~ mklev.c: In function 'mkgrave': mklev.c:1640:1: warning: old-style function definition [-Wold-style-definition] 1640 | mkgrave(croom) | ^~~~~~~ mklev.c: In function 'mkinvpos': mklev.c:1765:1: warning: old-style function definition [-Wold-style-definition] 1765 | mkinvpos(x, y, dist) | ^~~~~~~~ mklev.c: In function 'mk_knox_portal': mklev.c:1862:1: warning: old-style function definition [-Wold-style-definition] 1862 | mk_knox_portal(x, y) | ^~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mkmap.o mkmap.c In file included from ../include/hack.h:10, from mkmap.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mkmap.c: In function 'init_map': mkmap.c:29:1: warning: old-style function definition [-Wold-style-definition] 29 | init_map(bg_typ) | ^~~~~~~~ mkmap.c: In function 'init_fill': mkmap.c:40:1: warning: old-style function definition [-Wold-style-definition] 40 | init_fill(bg_typ, fg_typ) | ^~~~~~~~~ mkmap.c: In function 'get_map': mkmap.c:59:1: warning: old-style function definition [-Wold-style-definition] 59 | get_map(col, row, bg_typ) | ^~~~~~~ mkmap.c: In function 'pass_one': mkmap.c:72:1: warning: old-style function definition [-Wold-style-definition] 72 | pass_one(bg_typ, fg_typ) | ^~~~~~~~ mkmap.c: In function 'pass_two': mkmap.c:106:1: warning: old-style function definition [-Wold-style-definition] 106 | pass_two(bg_typ, fg_typ) | ^~~~~~~~ mkmap.c: In function 'pass_three': mkmap.c:130:1: warning: old-style function definition [-Wold-style-definition] 130 | pass_three(bg_typ, fg_typ) | ^~~~~~~~~~ mkmap.c: In function 'flood_fill_rm': mkmap.c:160:1: warning: old-style function definition [-Wold-style-definition] 160 | flood_fill_rm(sx, sy, rmno, lit, anyroom) | ^~~~~~~~~~~~~ mkmap.c: In function 'join_map': mkmap.c:273:1: warning: old-style function definition [-Wold-style-definition] 273 | join_map(bg_typ, fg_typ) | ^~~~~~~~ mkmap.c: In function 'finish_map': mkmap.c:346:1: warning: old-style function definition [-Wold-style-definition] 346 | finish_map(fg_typ, bg_typ, lit, walled, icedpools) | ^~~~~~~~~~ mkmap.c: In function 'remove_rooms': mkmap.c:387:1: warning: old-style function definition [-Wold-style-definition] 387 | remove_rooms(lx, ly, hx, hy) | ^~~~~~~~~~~~ mkmap.c: In function 'remove_room': mkmap.c:419:1: warning: old-style function definition [-Wold-style-definition] 419 | remove_room(roomno) | ^~~~~~~~~~~ mkmap.c: In function 'mkmap': mkmap.c:452:1: warning: old-style function definition [-Wold-style-definition] 452 | mkmap(init_lev) | ^~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mkmaze.o mkmaze.c In file included from ../include/hack.h:10, from mkmaze.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mkmaze.c: In function 'iswall': mkmaze.c:46:1: warning: old-style function definition [-Wold-style-definition] 46 | iswall(x, y) | ^~~~~~ mkmaze.c: In function 'iswall_or_stone': mkmaze.c:59:1: warning: old-style function definition [-Wold-style-definition] 59 | iswall_or_stone(x, y) | ^~~~~~~~~~~~~~~ mkmaze.c: In function 'is_solid': mkmaze.c:71:1: warning: old-style function definition [-Wold-style-definition] 71 | is_solid(x, y) | ^~~~~~~~ mkmaze.c: In function 'extend_spine': mkmaze.c:96:1: warning: old-style function definition [-Wold-style-definition] 96 | extend_spine(locale, wall_there, dx, dy) | ^~~~~~~~~~~~ mkmaze.c: In function 'wall_cleanup': mkmaze.c:130:1: warning: old-style function definition [-Wold-style-definition] 130 | wall_cleanup(x1, y1, x2, y2) | ^~~~~~~~~~~~ mkmaze.c: In function 'fix_wall_spines': mkmaze.c:162:1: warning: old-style function definition [-Wold-style-definition] 162 | fix_wall_spines(x1, y1, x2, y2) | ^~~~~~~~~~~~~~~ mkmaze.c: In function 'wallification': mkmaze.c:224:1: warning: old-style function definition [-Wold-style-definition] 224 | wallification(x1, y1, x2, y2) | ^~~~~~~~~~~~~ mkmaze.c: In function 'okay': mkmaze.c:232:1: warning: old-style function definition [-Wold-style-definition] 232 | okay(x, y, dir) | ^~~~ mkmaze.c: In function 'maze0xy': mkmaze.c:246:1: warning: old-style function definition [-Wold-style-definition] 246 | maze0xy(cc) | ^~~~~~~ mkmaze.c: In function 'bad_location': mkmaze.c:261:1: warning: old-style function definition [-Wold-style-definition] 261 | bad_location(x, y, lx, ly, hx, hy) | ^~~~~~~~~~~~ mkmaze.c: In function 'place_lregion': mkmaze.c:275:1: warning: old-style function definition [-Wold-style-definition] 275 | place_lregion(lx, ly, hx, hy, nlx, nly, nhx, nhy, rtype, lev) | ^~~~~~~~~~~~~ mkmaze.c: In function 'put_lregion_here': mkmaze.c:322:1: warning: old-style function definition [-Wold-style-definition] 322 | put_lregion_here(x, y, nlx, nly, nhx, nhy, rtype, oneshot, lev) | ^~~~~~~~~~~~~~~~ mkmaze.c: In function 'check_ransacked': mkmaze.c:623:1: warning: old-style function definition [-Wold-style-definition] 623 | check_ransacked(s) | ^~~~~~~~~~~~~~~ mkmaze.c: In function 'migrate_orc': mkmaze.c:634:1: warning: old-style function definition [-Wold-style-definition] 634 | migrate_orc(mtmp, mflags) | ^~~~~~~~~~~ mkmaze.c: In function 'shiny_orc_stuff': mkmaze.c:667:1: warning: old-style function definition [-Wold-style-definition] 667 | shiny_orc_stuff(mtmp) | ^~~~~~~~~~~~~~~ mkmaze.c: In function 'migr_booty_item': mkmaze.c:699:1: warning: old-style function definition [-Wold-style-definition] 699 | migr_booty_item(otyp, gang) | ^~~~~~~~~~~~~~~ mkmaze.c: In function 'maze_inbounds': mkmaze.c:810:1: warning: old-style function definition [-Wold-style-definition] 810 | maze_inbounds(x, y) | ^~~~~~~~~~~~~ mkmaze.c: In function 'maze_remove_deadends': mkmaze.c:818:1: warning: old-style function definition [-Wold-style-definition] 818 | maze_remove_deadends(typ) | ^~~~~~~~~~~~~~~~~~~~ mkmaze.c: In function 'create_maze': mkmaze.c:865:1: warning: old-style function definition [-Wold-style-definition] 865 | create_maze(corrwid, wallthick) | ^~~~~~~~~~~ mkmaze.c: In function 'makemaz': mkmaze.c:957:1: warning: old-style function definition [-Wold-style-definition] 957 | makemaz(s) | ^~~~~~~ mkmaze.c: In function 'walkfrom': mkmaze.c:1167:1: warning: old-style function definition [-Wold-style-definition] 1167 | walkfrom(x, y, typ) | ^~~~~~~~ mkmaze.c: In function 'mazexy': mkmaze.c:1206:1: warning: old-style function definition [-Wold-style-definition] 1206 | mazexy(cc) | ^~~~~~ mkmaze.c: In function 'mkportal': mkmaze.c:1330:1: warning: old-style function definition [-Wold-style-definition] 1330 | mkportal(x, y, todnum, todlevel) | ^~~~~~~~ mkmaze.c: In function 'save_waterlevel': mkmaze.c:1571:1: warning: old-style function definition [-Wold-style-definition] 1571 | save_waterlevel(fd, mode) | ^~~~~~~~~~~~~~~ mkmaze.c: In function 'restore_waterlevel': mkmaze.c:1596:1: warning: old-style function definition [-Wold-style-definition] 1596 | restore_waterlevel(fd) | ^~~~~~~~~~~~~~~~~~ mkmaze.c: In function 'waterbody_name': mkmaze.c:1637:1: warning: old-style function definition [-Wold-style-definition] 1637 | waterbody_name(x, y) | ^~~~~~~~~~~~~~ mkmaze.c: In function 'mk_bubble': mkmaze.c:1737:1: warning: old-style function definition [-Wold-style-definition] 1737 | mk_bubble(x, y, n) | ^~~~~~~~~ mkmaze.c: In function 'mv_bubble': mkmaze.c:1801:1: warning: old-style function definition [-Wold-style-definition] 1801 | mv_bubble(b, dx, dy, ini) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mkobj.o mkobj.c In file included from ../include/hack.h:10, from mkobj.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mkobj.c: In function 'dealloc_oextra': mkobj.c:85:1: warning: old-style function definition [-Wold-style-definition] 85 | dealloc_oextra(o) | ^~~~~~~~~~~~~~ mkobj.c: In function 'newomonst': mkobj.c:108:1: warning: old-style function definition [-Wold-style-definition] 108 | newomonst(otmp) | ^~~~~~~~~ mkobj.c: In function 'free_omonst': mkobj.c:123:1: warning: old-style function definition [-Wold-style-definition] 123 | free_omonst(otmp) | ^~~~~~~~~~~ mkobj.c: In function 'newomid': mkobj.c:139:1: warning: old-style function definition [-Wold-style-definition] 139 | newomid(otmp) | ^~~~~~~ mkobj.c: In function 'free_omid': mkobj.c:151:1: warning: old-style function definition [-Wold-style-definition] 151 | free_omid(otmp) | ^~~~~~~~~ mkobj.c: In function 'newolong': mkobj.c:161:1: warning: old-style function definition [-Wold-style-definition] 161 | newolong(otmp) | ^~~~~~~~ mkobj.c: In function 'free_olong': mkobj.c:173:1: warning: old-style function definition [-Wold-style-definition] 173 | free_olong(otmp) | ^~~~~~~~~~ mkobj.c: In function 'new_omailcmd': mkobj.c:183:1: warning: old-style function definition [-Wold-style-definition] 183 | new_omailcmd(otmp, response_cmd) | ^~~~~~~~~~~~ mkobj.c: In function 'free_omailcmd': mkobj.c:195:1: warning: old-style function definition [-Wold-style-definition] 195 | free_omailcmd(otmp) | ^~~~~~~~~~~~~ mkobj.c: In function 'mkobj_at': mkobj.c:205:1: warning: old-style function definition [-Wold-style-definition] 205 | mkobj_at(let, x, y, artif) | ^~~~~~~~ mkobj.c: In function 'mksobj_at': mkobj.c:218:1: warning: old-style function definition [-Wold-style-definition] 218 | mksobj_at(otyp, x, y, init, artif) | ^~~~~~~~~ mkobj.c: In function 'mksobj_migr_to_species': mkobj.c:230:1: warning: old-style function definition [-Wold-style-definition] 230 | mksobj_migr_to_species(otyp, mflags2, init, artif) | ^~~~~~~~~~~~~~~~~~~~~~ mkobj.c: In function 'mkobj': mkobj.c:247:1: warning: old-style function definition [-Wold-style-definition] 247 | mkobj(oclass, artif) | ^~~~~ mkobj.c: In function 'mkbox_cnts': mkobj.c:275:1: warning: old-style function definition [-Wold-style-definition] 275 | mkbox_cnts(box) | ^~~~~~~~~~ mkobj.c: In function 'copy_oextra': mkobj.c:379:1: warning: old-style function definition [-Wold-style-definition] 379 | copy_oextra(obj2, obj1) | ^~~~~~~~~~~ mkobj.c: In function 'splitobj': mkobj.c:428:1: warning: old-style function definition [-Wold-style-definition] 428 | splitobj(obj, num) | ^~~~~~~~ mkobj.c: In function 'nextoid': mkobj.c:470:1: warning: old-style function definition [-Wold-style-definition] 470 | nextoid(oldobj, newobj) | ^~~~~~~ mkobj.c: In function 'unsplitobj': mkobj.c:490:1: warning: old-style function definition [-Wold-style-definition] 490 | unsplitobj(obj) | ^~~~~~~~~~ mkobj.c: In function 'replace_object': mkobj.c:576:1: warning: old-style function definition [-Wold-style-definition] 576 | replace_object(obj, otmp) | ^~~~~~~~~~~~~~ mkobj.c: In function 'unknwn_contnr_contents': mkobj.c:621:1: warning: old-style function definition [-Wold-style-definition] 621 | unknwn_contnr_contents(obj) | ^~~~~~~~~~~~~~~~~~~~~~ mkobj.c: In function 'bill_dummy_object': mkobj.c:650:1: warning: old-style function definition [-Wold-style-definition] 650 | bill_dummy_object(otmp) | ^~~~~~~~~~~~~~~~~ mkobj.c: In function 'costly_alteration': mkobj.c:693:1: warning: old-style function definition [-Wold-style-definition] 693 | costly_alteration(obj, alter_type) | ^~~~~~~~~~~~~~~~~ mkobj.c: In function 'mksobj': mkobj.c:771:1: warning: old-style function definition [-Wold-style-definition] 771 | mksobj(otyp, init, artif) | ^~~~~~ mkobj.c: In function 'set_corpsenm': mkobj.c:1135:1: warning: old-style function definition [-Wold-style-definition] 1135 | set_corpsenm(obj, id) | ^~~~~~~~~~~~ mkobj.c: In function 'start_corpse_timeout': mkobj.c:1176:1: warning: old-style function definition [-Wold-style-definition] 1176 | start_corpse_timeout(body) | ^~~~~~~~~~~~~~~~~~~~ mkobj.c: In function 'maybe_adjust_light': mkobj.c:1227:1: warning: old-style function definition [-Wold-style-definition] 1227 | maybe_adjust_light(obj, old_range) | ^~~~~~~~~~~~~~~~~~ mkobj.c: In function 'bless': mkobj.c:1270:1: warning: old-style function definition [-Wold-style-definition] 1270 | bless(otmp) | ^~~~~ mkobj.c: In function 'unbless': mkobj.c:1293:1: warning: old-style function definition [-Wold-style-definition] 1293 | unbless(otmp) | ^~~~~~~ mkobj.c: In function 'curse': mkobj.c:1310:1: warning: old-style function definition [-Wold-style-definition] 1310 | curse(otmp) | ^~~~~ mkobj.c: In function 'uncurse': mkobj.c:1350:1: warning: old-style function definition [-Wold-style-definition] 1350 | uncurse(otmp) | ^~~~~~~ mkobj.c: In function 'blessorcurse': mkobj.c:1370:1: warning: old-style function definition [-Wold-style-definition] 1370 | blessorcurse(otmp, chance) | ^~~~~~~~~~~~ mkobj.c: In function 'bcsign': mkobj.c:1388:1: warning: old-style function definition [-Wold-style-definition] 1388 | bcsign(otmp) | ^~~~~~ mkobj.c: In function 'set_bknown': mkobj.c:1396:1: warning: old-style function definition [-Wold-style-definition] 1396 | set_bknown(obj, onoff) | ^~~~~~~~~~ mkobj.c: In function 'weight': mkobj.c:1416:1: warning: old-style function definition [-Wold-style-definition] 1416 | weight(obj) | ^~~~~~ mkobj.c: In function 'rnd_treefruit_at': mkobj.c:1478:1: warning: old-style function definition [-Wold-style-definition] 1478 | rnd_treefruit_at(x, y) | ^~~~~~~~~~~~~~~~ mkobj.c: In function 'mkgold': mkobj.c:1486:1: warning: old-style function definition [-Wold-style-definition] 1486 | mkgold(amount, x, y) | ^~~~~~ mkobj.c: In function 'mkcorpstat': mkobj.c:1524:1: warning: old-style function definition [-Wold-style-definition] 1524 | mkcorpstat(objtype, mtmp, ptr, x, y, corpstatflags) | ^~~~~~~~~~ mkobj.c: In function 'corpse_revive_type': mkobj.c:1578:1: warning: old-style function definition [-Wold-style-definition] 1578 | corpse_revive_type(obj) | ^~~~~~~~~~~~~~~~~~ mkobj.c: In function 'obj_attach_mid': mkobj.c:1597:1: warning: old-style function definition [-Wold-style-definition] 1597 | obj_attach_mid(obj, mid) | ^~~~~~~~~~~~~~ mkobj.c: In function 'save_mtraits': mkobj.c:1609:1: warning: old-style function definition [-Wold-style-definition] 1609 | save_mtraits(obj, mtmp) | ^~~~~~~~~~~~ mkobj.c: In function 'get_mtraits': mkobj.c:1640:1: warning: old-style function definition [-Wold-style-definition] 1640 | get_mtraits(obj, copyof) | ^~~~~~~~~~~ mkobj.c: In function 'mk_tt_object': mkobj.c:1667:1: warning: old-style function definition [-Wold-style-definition] 1667 | mk_tt_object(objtype, x, y) | ^~~~~~~~~~~~ mkobj.c: In function 'mk_named_object': mkobj.c:1688:1: warning: old-style function definition [-Wold-style-definition] 1688 | mk_named_object(objtype, ptr, x, y, nm) | ^~~~~~~~~~~~~~~ mkobj.c: In function 'is_flammable': mkobj.c:1705:1: warning: old-style function definition [-Wold-style-definition] 1705 | is_flammable(otmp) | ^~~~~~~~~~~~ mkobj.c: In function 'is_rottable': mkobj.c:1725:1: warning: old-style function definition [-Wold-style-definition] 1725 | is_rottable(otmp) | ^~~~~~~~~~~ mkobj.c: In function 'place_object': mkobj.c:1741:1: warning: old-style function definition [-Wold-style-definition] 1741 | place_object(otmp, x, y) | ^~~~~~~~~~~~ mkobj.c: In function 'obj_ice_effects': mkobj.c:1801:1: warning: old-style function definition [-Wold-style-definition] 1801 | obj_ice_effects(x, y, do_buried) | ^~~~~~~~~~~~~~~ mkobj.c: In function 'peek_at_iced_corpse_age': mkobj.c:1829:1: warning: old-style function definition [-Wold-style-definition] 1829 | peek_at_iced_corpse_age(otmp) | ^~~~~~~~~~~~~~~~~~~~~~~ mkobj.c: In function 'obj_timer_checks': mkobj.c:1847:1: warning: old-style function definition [-Wold-style-definition] 1847 | obj_timer_checks(otmp, x, y, force) | ^~~~~~~~~~~~~~~~ mkobj.c: In function 'remove_object': mkobj.c:1915:1: warning: old-style function definition [-Wold-style-definition] 1915 | remove_object(otmp) | ^~~~~~~~~~~~~ mkobj.c: In function 'discard_minvent': mkobj.c:1934:1: warning: old-style function definition [-Wold-style-definition] 1934 | discard_minvent(mtmp) | ^~~~~~~~~~~~~~~ mkobj.c: In function 'obj_extract_self': mkobj.c:1972:1: warning: old-style function definition [-Wold-style-definition] 1972 | obj_extract_self(obj) | ^~~~~~~~~~~~~~~~ mkobj.c: In function 'extract_nobj': mkobj.c:2010:1: warning: old-style function definition [-Wold-style-definition] 2010 | extract_nobj(obj, head_ptr) | ^~~~~~~~~~~~ mkobj.c: In function 'extract_nexthere': mkobj.c:2038:1: warning: old-style function definition [-Wold-style-definition] 2038 | extract_nexthere(obj, head_ptr) | ^~~~~~~~~~~~~~~~ mkobj.c: In function 'add_to_minv': mkobj.c:2064:1: warning: old-style function definition [-Wold-style-definition] 2064 | add_to_minv(mon, obj) | ^~~~~~~~~~~ mkobj.c: In function 'add_to_container': mkobj.c:2090:1: warning: old-style function definition [-Wold-style-definition] 2090 | add_to_container(container, obj) | ^~~~~~~~~~~~~~~~ mkobj.c: In function 'add_to_migration': mkobj.c:2113:1: warning: old-style function definition [-Wold-style-definition] 2113 | add_to_migration(obj) | ^~~~~~~~~~~~~~~~ mkobj.c: In function 'add_to_buried': mkobj.c:2129:1: warning: old-style function definition [-Wold-style-definition] 2129 | add_to_buried(obj) | ^~~~~~~~~~~~~ mkobj.c: In function 'container_weight': mkobj.c:2142:1: warning: old-style function definition [-Wold-style-definition] 2142 | container_weight(container) | ^~~~~~~~~~~~~~~~ mkobj.c: In function 'dealloc_obj': mkobj.c:2159:1: warning: old-style function definition [-Wold-style-definition] 2159 | dealloc_obj(obj) | ^~~~~~~~~~~ mkobj.c: In function 'hornoplenty': mkobj.c:2196:1: warning: old-style function definition [-Wold-style-definition] 2196 | hornoplenty(horn, tipping) | ^~~~~~~~~~~ mkobj.c: In function 'objlist_sanity': mkobj.c:2342:1: warning: old-style function definition [-Wold-style-definition] 2342 | objlist_sanity(objlist, wheretype, mesg) | ^~~~~~~~~~~~~~ mkobj.c: In function 'mon_obj_sanity': mkobj.c:2394:1: warning: old-style function definition [-Wold-style-definition] 2394 | mon_obj_sanity(monlist, mesg) | ^~~~~~~~~~~~~~ mkobj.c: In function 'where_name': mkobj.c:2430:1: warning: old-style function definition [-Wold-style-definition] 2430 | where_name(obj) | ^~~~~~~~~~ mkobj.c: In function 'insane_object': mkobj.c:2447:1: warning: old-style function definition [-Wold-style-definition] 2447 | insane_object(obj, fmt, mesg, mon) | ^~~~~~~~~~~~~ mkobj.c: In function 'init_dummyobj': mkobj.c:2479:1: warning: old-style function definition [-Wold-style-definition] 2479 | init_dummyobj(obj, otyp, oquan) | ^~~~~~~~~~~~~ mkobj.c: In function 'check_contained': mkobj.c:2505:1: warning: old-style function definition [-Wold-style-definition] 2505 | check_contained(container, mesg) | ^~~~~~~~~~~~~~~ mkobj.c: In function 'check_glob': mkobj.c:2553:1: warning: old-style function definition [-Wold-style-definition] 2553 | check_glob(obj, mesg) | ^~~~~~~~~~ mkobj.c: In function 'sanity_check_worn': mkobj.c:2576:1: warning: old-style function definition [-Wold-style-definition] 2576 | sanity_check_worn(obj) | ^~~~~~~~~~~~~~~~~ mkobj.c: In function 'obj_nexto': mkobj.c:2773:1: warning: old-style function definition [-Wold-style-definition] 2773 | obj_nexto(otmp) | ^~~~~~~~~ mkobj.c: In function 'obj_nexto_xy': mkobj.c:2792:1: warning: old-style function definition [-Wold-style-definition] 2792 | obj_nexto_xy(obj, x, y, recurs) | ^~~~~~~~~~~~ mkobj.c: In function 'obj_absorb': mkobj.c:2837:1: warning: old-style function definition [-Wold-style-definition] 2837 | obj_absorb(obj1, obj2) | ^~~~~~~~~~ mkobj.c: In function 'obj_meld': mkobj.c:2890:1: warning: old-style function definition [-Wold-style-definition] 2890 | obj_meld(obj1, obj2) | ^~~~~~~~ mkobj.c: In function 'pudding_merge_message': mkobj.c:2935:1: warning: old-style function definition [-Wold-style-definition] 2935 | pudding_merge_message(otmp, otmp2) | ^~~~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mkroom.o mkroom.c In file included from ../include/hack.h:10, from mkroom.c:18: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mkroom.c: In function 'isbig': mkroom.c:35:1: warning: old-style function definition [-Wold-style-definition] 35 | isbig(sroom) | ^~~~~ mkroom.c: In function 'mkroom': mkroom.c:46:1: warning: old-style function definition [-Wold-style-definition] 46 | mkroom(roomtype) | ^~~~~~ mkroom.c: In function 'pick_room': mkroom.c:207:1: warning: old-style function definition [-Wold-style-definition] 207 | pick_room(strict) | ^~~~~~~~~ mkroom.c: In function 'mkzoo': mkroom.c:232:1: warning: old-style function definition [-Wold-style-definition] 232 | mkzoo(type) | ^~~~~ mkroom.c: In function 'mk_zoo_thronemon': mkroom.c:244:1: warning: old-style function definition [-Wold-style-definition] 244 | mk_zoo_thronemon(x,y) | ^~~~~~~~~~~~~~~~ mkroom.c: In function 'fill_zoo': mkroom.c:264:1: warning: old-style function definition [-Wold-style-definition] 264 | fill_zoo(sroom) | ^~~~~~~~ mkroom.c: In function 'mkundead': mkroom.c:438:1: warning: old-style function definition [-Wold-style-definition] 438 | mkundead(mm, revive_corpses, mm_flags) | ^~~~~~~~ mkroom.c: In function 'shrine_pos': mkroom.c:550:1: warning: old-style function definition [-Wold-style-definition] 550 | shrine_pos(roomno) | ^~~~~~~~~~ mkroom.c: In function 'nexttodoor': mkroom.c:597:1: warning: old-style function definition [-Wold-style-definition] 597 | nexttodoor(sx, sy) | ^~~~~~~~~~ mkroom.c: In function 'has_dnstairs': mkroom.c:615:1: warning: old-style function definition [-Wold-style-definition] 615 | has_dnstairs(sroom) | ^~~~~~~~~~~~ mkroom.c: In function 'has_upstairs': mkroom.c:626:1: warning: old-style function definition [-Wold-style-definition] 626 | has_upstairs(sroom) | ^~~~~~~~~~~~ mkroom.c: In function 'somex': mkroom.c:637:1: warning: old-style function definition [-Wold-style-definition] 637 | somex(croom) | ^~~~~ mkroom.c: In function 'somey': mkroom.c:644:1: warning: old-style function definition [-Wold-style-definition] 644 | somey(croom) | ^~~~~ mkroom.c: In function 'inside_room': mkroom.c:651:1: warning: old-style function definition [-Wold-style-definition] 651 | inside_room(croom, x, y) | ^~~~~~~~~~~ mkroom.c: In function 'somexy': mkroom.c:660:1: warning: old-style function definition [-Wold-style-definition] 660 | somexy(croom, c) | ^~~~~~ mkroom.c: In function 'search_special': mkroom.c:717:1: warning: old-style function definition [-Wold-style-definition] 717 | search_special(type) | ^~~~~~~~~~~~~~ mkroom.c: In function 'save_room': mkroom.c:799:1: warning: old-style function definition [-Wold-style-definition] 799 | save_room(fd, r) | ^~~~~~~~~ mkroom.c: In function 'save_rooms': mkroom.c:819:1: warning: old-style function definition [-Wold-style-definition] 819 | save_rooms(fd) | ^~~~~~~~~~ mkroom.c: In function 'rest_room': mkroom.c:831:1: warning: old-style function definition [-Wold-style-definition] 831 | rest_room(fd, r) | ^~~~~~~~~ mkroom.c: In function 'rest_rooms': mkroom.c:850:1: warning: old-style function definition [-Wold-style-definition] 850 | rest_rooms(fd) | ^~~~~~~~~~ mkroom.c: In function 'cmap_to_type': mkroom.c:868:1: warning: old-style function definition [-Wold-style-definition] 868 | cmap_to_type(sym) | ^~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mon.o mon.c In file included from ../include/hack.h:10, from mon.c:11: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mon.c: In function 'sanity_check_single_mon': mon.c:49:1: warning: old-style function definition [-Wold-style-definition] 49 | sanity_check_single_mon(mtmp, chk_geno, msg) | ^~~~~~~~~~~~~~~~~~~~~~~ mon.c: In function 'undead_to_corpse': mon.c:147:1: warning: old-style function definition [-Wold-style-definition] 147 | undead_to_corpse(mndx) | ^~~~~~~~~~~~~~~~ mon.c: In function 'genus': mon.c:201:1: warning: old-style function definition [-Wold-style-definition] 201 | genus(mndx, mode) | ^~~~~ mon.c: In function 'pm_to_cham': mon.c:267:1: warning: old-style function definition [-Wold-style-definition] 267 | pm_to_cham(mndx) | ^~~~~~~~~~ mon.c: In function 'make_corpse': mon.c:297:1: warning: old-style function definition [-Wold-style-definition] 297 | make_corpse(mtmp, corpseflags) | ^~~~~~~~~~~ mon.c: In function 'minliquid': mon.c:491:1: warning: old-style function definition [-Wold-style-definition] 491 | minliquid(mtmp) | ^~~~~~~~~ mon.c: In function 'mcalcmove': mon.c:639:1: warning: old-style function definition [-Wold-style-definition] 639 | mcalcmove(mon) | ^~~~~~~~~ mon.c: In function 'meatmetal': mon.c:872:1: warning: old-style function definition [-Wold-style-definition] 872 | meatmetal(mtmp) | ^~~~~~~~~ mon.c: In function 'meatobj': mon.c:964:1: warning: old-style function definition [-Wold-style-definition] 964 | meatobj(mtmp) /* for gelatinous cubes */ | ^~~~~~~ mon.c: In function 'mpickgold': mon.c:1101:1: warning: old-style function definition [-Wold-style-definition] 1101 | mpickgold(mtmp) | ^~~~~~~~~ mon.c: In function 'mpickstuff': mon.c:1121:1: warning: old-style function definition [-Wold-style-definition] 1121 | mpickstuff(mtmp, str) | ^~~~~~~~~~ mon.c: In function 'curr_mon_load': mon.c:1171:1: warning: old-style function definition [-Wold-style-definition] 1171 | curr_mon_load(mtmp) | ^~~~~~~~~~~~~ mon.c: In function 'max_mon_load': mon.c:1186:1: warning: old-style function definition [-Wold-style-definition] 1186 | max_mon_load(mtmp) | ^~~~~~~~~~~~ mon.c: In function 'can_carry': mon.c:1230:1: warning: old-style function definition [-Wold-style-definition] 1230 | can_carry(mtmp, otmp) | ^~~~~~~~~ mon.c: In function 'mfndpos': mon.c:1305:1: warning: old-style function definition [-Wold-style-definition] 1305 | mfndpos(mon, poss, info, flag) | ^~~~~~~ mon.c: In function 'mm_aggression': mon.c:1556:1: warning: old-style function definition [-Wold-style-definition] 1556 | mm_aggression(magr, mdef) | ^~~~~~~~~~~~~ mon.c: In function 'mm_displacement': mon.c:1573:1: warning: old-style function definition [-Wold-style-definition] 1573 | mm_displacement(magr, mdef) | ^~~~~~~~~~~~~~~ mon.c: In function 'monnear': mon.c:1597:1: warning: old-style function definition [-Wold-style-definition] 1597 | monnear(mon, x, y) | ^~~~~~~ mon.c: In function 'replmon': mon.c:1638:1: warning: old-style function definition [-Wold-style-definition] 1638 | replmon(mtmp, mtmp2) | ^~~~~~~ mon.c: In function 'relmon': mon.c:1682:1: warning: old-style function definition [-Wold-style-definition] 1682 | relmon(mon, monst_list) | ^~~~~~ mon.c: In function 'copy_mextra': mon.c:1737:1: warning: old-style function definition [-Wold-style-definition] 1737 | copy_mextra(mtmp2, mtmp1) | ^~~~~~~~~~~ mon.c: In function 'dealloc_mextra': mon.c:1779:1: warning: old-style function definition [-Wold-style-definition] 1779 | dealloc_mextra(m) | ^~~~~~~~~~~~~~ mon.c: In function 'dealloc_monst': mon.c:1805:1: warning: old-style function definition [-Wold-style-definition] 1805 | dealloc_monst(mon) | ^~~~~~~~~~~~~ mon.c: In function 'm_detach': mon.c:1822:1: warning: old-style function definition [-Wold-style-definition] 1822 | m_detach(mtmp, mptr) | ^~~~~~~~ mon.c: In function 'mlifesaver': mon.c:1865:1: warning: old-style function definition [-Wold-style-definition] 1865 | mlifesaver(mon) | ^~~~~~~~~~ mon.c: In function 'lifesaved_monster': mon.c:1878:1: warning: old-style function definition [-Wold-style-definition] 1878 | lifesaved_monster(mtmp) | ^~~~~~~~~~~~~~~~~ mon.c: In function 'mondead': mon.c:1928:1: warning: old-style function definition [-Wold-style-definition] 1928 | mondead(mtmp) | ^~~~~~~ mon.c: In function 'corpse_chance': mon.c:2075:1: warning: old-style function definition [-Wold-style-definition] 2075 | corpse_chance(mon, magr, was_swallowed) | ^~~~~~~~~~~~~ mon.c: In function 'mondied': mon.c:2143:1: warning: old-style function definition [-Wold-style-definition] 2143 | mondied(mdef) | ^~~~~~~ mon.c: In function 'mongone': mon.c:2157:1: warning: old-style function definition [-Wold-style-definition] 2157 | mongone(mdef) | ^~~~~~~ mon.c: In function 'monstone': mon.c:2181:1: warning: old-style function definition [-Wold-style-definition] 2181 | monstone(mdef) | ^~~~~~~~ mon.c: In function 'monkilled': mon.c:2271:1: warning: old-style function definition [-Wold-style-definition] 2271 | monkilled(mdef, fltxt, how) | ^~~~~~~~~ mon.c: In function 'unstuck': mon.c:2298:1: warning: old-style function definition [-Wold-style-definition] 2298 | unstuck(mtmp) | ^~~~~~~ mon.c: In function 'killed': mon.c:2321:1: warning: old-style function definition [-Wold-style-definition] 2321 | killed(mtmp) | ^~~~~~ mon.c: In function 'xkilled': mon.c:2329:1: warning: old-style function definition [-Wold-style-definition] 2329 | xkilled(mtmp, xkill_flags) | ^~~~~~~ mon.c: In function 'mon_to_stone': mon.c:2522:1: warning: old-style function definition [-Wold-style-definition] 2522 | mon_to_stone(mtmp) | ^~~~~~~~~~~~ mon.c: In function 'vamp_stone': mon.c:2541:1: warning: old-style function definition [-Wold-style-definition] 2541 | vamp_stone(mtmp) | ^~~~~~~~~~ mon.c: In function 'm_into_limbo': mon.c:2613:1: warning: old-style function definition [-Wold-style-definition] 2613 | m_into_limbo(mtmp) | ^~~~~~~~~~~~ mon.c: In function 'migrate_mon': mon.c:2623:1: warning: old-style function definition [-Wold-style-definition] 2623 | migrate_mon(mtmp, target_lev, xyloc) | ^~~~~~~~~~~ mon.c: In function 'ok_to_obliterate': mon.c:2634:1: warning: old-style function definition [-Wold-style-definition] 2634 | ok_to_obliterate(mtmp) | ^~~~~~~~~~~~~~~~ mon.c: In function 'elemental_clog': mon.c:2649:1: warning: old-style function definition [-Wold-style-definition] 2649 | elemental_clog(mon) | ^~~~~~~~~~~~~~ mon.c: In function 'mnexto': mon.c:2727:1: warning: old-style function definition [-Wold-style-definition] 2727 | mnexto(mtmp) | ^~~~~~ mon.c: In function 'deal_with_overcrowding': mon.c:2755:1: warning: old-style function definition [-Wold-style-definition] 2755 | deal_with_overcrowding(mtmp) | ^~~~~~~~~~~~~~~~~~~~~~ mon.c: In function 'maybe_mnexto': mon.c:2769:1: warning: old-style function definition [-Wold-style-definition] 2769 | maybe_mnexto(mtmp) | ^~~~~~~~~~~~ mon.c: In function 'mnearto': mon.c:2801:1: warning: old-style function definition [-Wold-style-definition] 2801 | mnearto(mtmp, x, y, move_other) | ^~~~~~~ mon.c: In function 'm_respond': mon.c:2858:1: warning: old-style function definition [-Wold-style-definition] 2858 | m_respond(mtmp) | ^~~~~~~~~ mon.c: In function 'setmangry': mon.c:2891:1: warning: old-style function definition [-Wold-style-definition] 2891 | setmangry(mtmp, via_attack) | ^~~~~~~~~ mon.c: In function 'wakeup': mon.c:3027:1: warning: old-style function definition [-Wold-style-definition] 3027 | wakeup(mtmp, via_attack) | ^~~~~~ mon.c: In function 'wake_nearto': mon.c:3053:1: warning: old-style function definition [-Wold-style-definition] 3053 | wake_nearto(x, y, distance) | ^~~~~~~~~~~ mon.c: In function 'seemimic': mon.c:3082:1: warning: old-style function definition [-Wold-style-definition] 3082 | seemimic(mtmp) | ^~~~~~~~ mon.c: In function 'restore_cham': mon.c:3152:1: warning: old-style function definition [-Wold-style-definition] 3152 | restore_cham(mon) | ^~~~~~~~~~~~ mon.c: In function 'restrap': mon.c:3172:1: warning: old-style function definition [-Wold-style-definition] 3172 | restrap(mtmp) | ^~~~~~~ mon.c: In function 'hideunder': mon.c:3198:1: warning: old-style function definition [-Wold-style-definition] 3198 | hideunder(mtmp) | ^~~~~~~~~ mon.c: In function 'hide_monst': mon.c:3232:1: warning: old-style function definition [-Wold-style-definition] 3232 | hide_monst(mon) | ^~~~~~~~~~ mon.c: In function 'mon_animal_list': mon.c:3259:1: warning: old-style function definition [-Wold-style-definition] 3259 | mon_animal_list(construct) | ^~~~~~~~~~~~~~~ mon.c: In function 'decide_to_shapeshift': mon.c:3302:1: warning: old-style function definition [-Wold-style-definition] 3302 | decide_to_shapeshift(mon, shiftflags) | ^~~~~~~~~~~~~~~~~~~~ mon.c: In function 'pickvampshape': mon.c:3364:1: warning: old-style function definition [-Wold-style-definition] 3364 | pickvampshape(mon) | ^~~~~~~~~~~~~ mon.c: In function 'isspecmon': mon.c:3394:1: warning: old-style function definition [-Wold-style-definition] 3394 | isspecmon(mon) | ^~~~~~~~~ mon.c: In function 'validspecmon': mon.c:3405:1: warning: old-style function definition [-Wold-style-definition] 3405 | validspecmon(mon, mndx) | ^~~~~~~~~~~~ mon.c: In function 'validvamp': mon.c:3429:1: warning: old-style function definition [-Wold-style-definition] 3429 | validvamp(mon, mndx_p, monclass) | ^~~~~~~~~ mon.c: In function 'select_newcham_form': mon.c:3480:1: warning: old-style function definition [-Wold-style-definition] 3480 | select_newcham_form(mon) | ^~~~~~~~~~~~~~~~~~~ mon.c: In function 'accept_newcham_form': mon.c:3614:1: warning: old-style function definition [-Wold-style-definition] 3614 | accept_newcham_form(mon, mndx) | ^~~~~~~~~~~~~~~~~~~ mon.c: In function 'mgender_from_permonst': mon.c:3642:1: warning: old-style function definition [-Wold-style-definition] 3642 | mgender_from_permonst(mtmp, mdat) | ^~~~~~~~~~~~~~~~~~~~~ mon.c: In function 'newcham': mon.c:3662:1: warning: old-style function definition [-Wold-style-definition] 3662 | newcham(mtmp, mdat, polyspot, msg) | ^~~~~~~ mon.c: In function 'can_be_hatched': mon.c:3897:1: warning: old-style function definition [-Wold-style-definition] 3897 | can_be_hatched(mnum) | ^~~~~~~~~~~~~~ mon.c: In function 'egg_type_from_parent': mon.c:3921:1: warning: old-style function definition [-Wold-style-definition] 3921 | egg_type_from_parent(mnum, force_ordinary) | ^~~~~~~~~~~~~~~~~~~~ mon.c: In function 'dead_species': mon.c:3937:1: warning: old-style function definition [-Wold-style-definition] 3937 | dead_species(m_idx, egg) | ^~~~~~~~~~~~ mon.c: In function 'kill_eggs': mon.c:3960:1: warning: old-style function definition [-Wold-style-definition] 3960 | kill_eggs(obj_list) | ^~~~~~~~~ mon.c: In function 'golemeffects': mon.c:4032:1: warning: old-style function definition [-Wold-style-definition] 4032 | golemeffects(mon, damtype, dam) | ^~~~~~~~~~~~ mon.c: In function 'angry_guards': mon.c:4067:1: warning: old-style function definition [-Wold-style-definition] 4067 | angry_guards(silent) | ^~~~~~~~~~~~ mon.c: In function 'mimic_hit_msg': mon.c:4125:1: warning: old-style function definition [-Wold-style-definition] 4125 | mimic_hit_msg(mtmp, otyp) | ^~~~~~~~~~~~~ mon.c: In function 'usmellmon': mon.c:4147:1: warning: old-style function definition [-Wold-style-definition] 4147 | usmellmon(mdat) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mondata.o mondata.c In file included from ../include/hack.h:10, from mondata.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mondata.c: In function 'set_mon_data': mondata.c:13:1: warning: old-style function definition [-Wold-style-definition] 13 | set_mon_data(mon, ptr) | ^~~~~~~~~~~~ mondata.c: In function 'attacktype_fordmg': mondata.c:43:1: warning: old-style function definition [-Wold-style-definition] 43 | attacktype_fordmg(ptr, atyp, dtyp) | ^~~~~~~~~~~~~~~~~ mondata.c: In function 'attacktype': mondata.c:57:1: warning: old-style function definition [-Wold-style-definition] 57 | attacktype(ptr, atyp) | ^~~~~~~~~~ mondata.c: In function 'noattacks': mondata.c:66:1: warning: old-style function definition [-Wold-style-definition] 66 | noattacks(ptr) | ^~~~~~~~~ mondata.c: In function 'poly_when_stoned': mondata.c:86:1: warning: old-style function definition [-Wold-style-definition] 86 | poly_when_stoned(ptr) | ^~~~~~~~~~~~~~~~ mondata.c: In function 'resists_drli': mondata.c:97:1: warning: old-style function definition [-Wold-style-definition] 97 | resists_drli(mon) | ^~~~~~~~~~~~ mondata.c: In function 'resists_magm': mondata.c:114:1: warning: old-style function definition [-Wold-style-definition] 114 | resists_magm(mon) | ^~~~~~~~~~~~ mondata.c: In function 'resists_blnd': mondata.c:148:1: warning: old-style function definition [-Wold-style-definition] 148 | resists_blnd(mon) | ^~~~~~~~~~~~ mondata.c: In function 'can_blnd': mondata.c:187:1: warning: old-style function definition [-Wold-style-definition] 187 | can_blnd(magr, mdef, aatyp, obj) | ^~~~~~~~ mondata.c: In function 'ranged_attk': mondata.c:275:1: warning: old-style function definition [-Wold-style-definition] 275 | ranged_attk(ptr) | ^~~~~~~~~~~ mondata.c: In function 'mon_hates_silver': mondata.c:299:1: warning: old-style function definition [-Wold-style-definition] 299 | mon_hates_silver(mon) | ^~~~~~~~~~~~~~~~ mondata.c: In function 'hates_silver': mondata.c:307:1: warning: old-style function definition [-Wold-style-definition] 307 | hates_silver(ptr) | ^~~~~~~~~~~~ mondata.c: In function 'mon_hates_light': mondata.c:317:1: warning: old-style function definition [-Wold-style-definition] 317 | mon_hates_light(mon) | ^~~~~~~~~~~~~~~ mondata.c: In function 'passes_bars': mondata.c:325:1: warning: old-style function definition [-Wold-style-definition] 325 | passes_bars(mptr) | ^~~~~~~~~~~ mondata.c: In function 'can_blow': mondata.c:336:1: warning: old-style function definition [-Wold-style-definition] 336 | can_blow(mtmp) | ^~~~~~~~ mondata.c: In function 'can_chant': mondata.c:350:1: warning: old-style function definition [-Wold-style-definition] 350 | can_chant(mtmp) | ^~~~~~~~~ mondata.c: In function 'can_be_strangled': mondata.c:362:1: warning: old-style function definition [-Wold-style-definition] 362 | can_be_strangled(mon) | ^~~~~~~~~~~~~~~~ mondata.c: In function 'can_track': mondata.c:395:1: warning: old-style function definition [-Wold-style-definition] 395 | can_track(ptr) | ^~~~~~~~~ mondata.c: In function 'sliparm': mondata.c:406:1: warning: old-style function definition [-Wold-style-definition] 406 | sliparm(ptr) | ^~~~~~~ mondata.c: In function 'breakarm': mondata.c:415:1: warning: old-style function definition [-Wold-style-definition] 415 | breakarm(ptr) | ^~~~~~~~ mondata.c: In function 'sticks': mondata.c:430:1: warning: old-style function definition [-Wold-style-definition] 430 | sticks(ptr) | ^~~~~~ mondata.c: In function 'cantvomit': mondata.c:439:1: warning: old-style function definition [-Wold-style-definition] 439 | cantvomit(ptr) | ^~~~~~~~~ mondata.c: In function 'num_horns': mondata.c:452:1: warning: old-style function definition [-Wold-style-definition] 452 | num_horns(ptr) | ^~~~~~~~~ mondata.c: In function 'dmgtype_fromattack': mondata.c:475:1: warning: old-style function definition [-Wold-style-definition] 475 | dmgtype_fromattack(ptr, dtyp, atyp) | ^~~~~~~~~~~~~~~~~~ mondata.c: In function 'dmgtype': mondata.c:489:1: warning: old-style function definition [-Wold-style-definition] 489 | dmgtype(ptr, dtyp) | ^~~~~~~ mondata.c: In function 'max_passive_dmg': mondata.c:499:1: warning: old-style function definition [-Wold-style-definition] 499 | max_passive_dmg(mdef, magr) | ^~~~~~~~~~~~~~~ mondata.c: In function 'same_race': mondata.c:547:1: warning: old-style function definition [-Wold-style-definition] 547 | same_race(pm1, pm2) | ^~~~~~~~~ mondata.c: In function 'monsndx': mondata.c:652:1: warning: old-style function definition [-Wold-style-definition] 652 | monsndx(ptr) | ^~~~~~~ mondata.c: In function 'name_to_mon': mondata.c:674:1: warning: old-style function definition [-Wold-style-definition] 674 | name_to_mon(in_str) | ^~~~~~~~~~~ mondata.c: In function 'name_to_monclass': mondata.c:813:1: warning: old-style function definition [-Wold-style-definition] 813 | name_to_monclass(in_str, mndx_p) | ^~~~~~~~~~~~~~~~ mondata.c: In function 'gender': mondata.c:905:1: warning: old-style function definition [-Wold-style-definition] 905 | gender(mtmp) | ^~~~~~ mondata.c: In function 'pronoun_gender': mondata.c:916:1: warning: old-style function definition [-Wold-style-definition] 916 | pronoun_gender(mtmp, override_vis) | ^~~~~~~~~~~~~~ mondata.c: In function 'levl_follower': mondata.c:930:1: warning: old-style function definition [-Wold-style-definition] 930 | levl_follower(mtmp) | ^~~~~~~~~~~~~ mondata.c: In function 'little_to_big': mondata.c:1022:1: warning: old-style function definition [-Wold-style-definition] 1022 | little_to_big(montype) | ^~~~~~~~~~~~~ mondata.c: In function 'big_to_little': mondata.c:1036:1: warning: old-style function definition [-Wold-style-definition] 1036 | big_to_little(montype) | ^~~~~~~~~~~~~ mondata.c: In function 'big_little_match': mondata.c:1052:1: warning: old-style function definition [-Wold-style-definition] 1052 | big_little_match(montyp1, montyp2) | ^~~~~~~~~~~~~~~~ mondata.c: In function 'raceptr': mondata.c:1081:1: warning: old-style function definition [-Wold-style-definition] 1081 | raceptr(mtmp) | ^~~~~~~ mondata.c: In function 'locomotion': mondata.c:1099:1: warning: old-style function definition [-Wold-style-definition] 1099 | locomotion(ptr, def) | ^~~~~~~~~~ mondata.c: In function 'stagger': mondata.c:1116:1: warning: old-style function definition [-Wold-style-definition] 1116 | stagger(ptr, def) | ^~~~~~~ mondata.c: In function 'on_fire': mondata.c:1134:1: warning: old-style function definition [-Wold-style-definition] 1134 | on_fire(mptr, mattk) | ^~~~~~~ mondata.c: In function 'olfaction': mondata.c:1182:1: warning: old-style function definition [-Wold-style-definition] 1182 | olfaction(mdat) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o monmove.o monmove.c In file included from ../include/hack.h:10, from monmove.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition monmove.c: In function 'mb_trapped': monmove.c:23:1: warning: old-style function definition [-Wold-style-definition] 23 | mb_trapped(mtmp) | ^~~~~~~~~~ monmove.c: In function 'monhaskey': monmove.c:47:1: warning: old-style function definition [-Wold-style-definition] 47 | monhaskey(mon, for_unlocking) | ^~~~~~~~~ monmove.c: In function 'mon_yells': monmove.c:57:1: warning: old-style function definition [-Wold-style-definition] 57 | mon_yells(mon, shout) | ^~~~~~~~~ monmove.c: In function 'watch_on_duty': monmove.c:82:1: warning: old-style function definition [-Wold-style-definition] 82 | watch_on_duty(mtmp) | ^~~~~~~~~~~~~ monmove.c: In function 'dochugw': monmove.c:110:1: warning: old-style function definition [-Wold-style-definition] 110 | dochugw(mtmp) | ^~~~~~~ monmove.c: In function 'onscary': monmove.c:135:1: warning: old-style function definition [-Wold-style-definition] 135 | onscary(x, y, mtmp) | ^~~~~~~ monmove.c: In function 'mon_regen': monmove.c:187:1: warning: old-style function definition [-Wold-style-definition] 187 | mon_regen(mon, digest_meal) | ^~~~~~~~~ monmove.c: In function 'disturb': monmove.c:209:1: warning: old-style function definition [-Wold-style-definition] 209 | disturb(mtmp) | ^~~~~~~ monmove.c: In function 'release_hero': monmove.c:244:1: warning: old-style function definition [-Wold-style-definition] 244 | release_hero(mon) | ^~~~~~~~~~~~ monmove.c: In function 'monflee': monmove.c:267:1: warning: old-style function definition [-Wold-style-definition] 267 | monflee(mtmp, fleetime, first, fleemsg) | ^~~~~~~ monmove.c: In function 'distfleeck': monmove.c:315:1: warning: old-style function definition [-Wold-style-definition] 315 | distfleeck(mtmp, inrange, nearby, scared) | ^~~~~~~~~~ monmove.c: In function 'm_arrival': monmove.c:356:1: warning: old-style function definition [-Wold-style-definition] 356 | m_arrival(mon) | ^~~~~~~~~ monmove.c: In function 'dochug': monmove.c:369:1: warning: old-style function definition [-Wold-style-definition] 369 | dochug(mtmp) | ^~~~~~ monmove.c: In function 'itsstuck': monmove.c:675:1: warning: old-style function definition [-Wold-style-definition] 675 | itsstuck(mtmp) | ^~~~~~~~ monmove.c: In function 'should_displace': monmove.c:693:1: warning: old-style function definition [-Wold-style-definition] 693 | should_displace(mtmp, poss, info, cnt, gx, gy) | ^~~~~~~~~~~~~~~ monmove.c: In function 'm_digweapon_check': monmove.c:730:1: warning: old-style function definition [-Wold-style-definition] 730 | m_digweapon_check(mtmp, nix, niy) | ^~~~~~~~~~~~~~~~~ monmove.c: In function 'm_move': monmove.c:768:1: warning: old-style function definition [-Wold-style-definition] 768 | m_move(mtmp, after) | ^~~~~~ monmove.c: In function 'dissolve_bars': monmove.c:1502:1: warning: old-style function definition [-Wold-style-definition] 1502 | dissolve_bars(x, y) | ^~~~~~~~~~~~~ monmove.c: In function 'closed_door': monmove.c:1511:1: warning: old-style function definition [-Wold-style-definition] 1511 | closed_door(x, y) | ^~~~~~~~~~~ monmove.c: In function 'accessible': monmove.c:1519:1: warning: old-style function definition [-Wold-style-definition] 1519 | accessible(x, y) | ^~~~~~~~~~ monmove.c: In function 'set_apparxy': monmove.c:1533:1: warning: old-style function definition [-Wold-style-definition] 1533 | set_apparxy(mtmp) | ^~~~~~~~~~~ monmove.c: In function 'undesirable_disp': monmove.c:1607:1: warning: old-style function definition [-Wold-style-definition] 1607 | undesirable_disp(mtmp, x, y) | ^~~~~~~~~~~~~~~~ monmove.c: In function 'stuff_prevents_passage': monmove.c:1648:1: warning: old-style function definition [-Wold-style-definition] 1648 | stuff_prevents_passage(mtmp) | ^~~~~~~~~~~~~~~~~~~~~~ monmove.c: In function 'can_ooze': monmove.c:1686:1: warning: old-style function definition [-Wold-style-definition] 1686 | can_ooze(mtmp) | ^~~~~~~~ monmove.c: In function 'can_fog': monmove.c:1696:1: warning: old-style function definition [-Wold-style-definition] 1696 | can_fog(mtmp) | ^~~~~~~ monmove.c: In function 'vamp_shift': monmove.c:1706:1: warning: old-style function definition [-Wold-style-definition] 1706 | vamp_shift(mon, ptr, domsg) | ^~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mplayer.o mplayer.c In file included from ../include/hack.h:10, from mplayer.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mplayer.c: In function 'get_mplname': mplayer.c:71:1: warning: old-style function definition [-Wold-style-definition] 71 | get_mplname(mtmp, nam) | ^~~~~~~~~~~ mplayer.c: In function 'mk_mplayer_armor': mplayer.c:96:1: warning: old-style function definition [-Wold-style-definition] 96 | mk_mplayer_armor(mon, typ) | ^~~~~~~~~~~~~~~~ mplayer.c: In function 'mk_mplayer': mplayer.c:120:1: warning: old-style function definition [-Wold-style-definition] 120 | mk_mplayer(ptr, x, y, special) | ^~~~~~~~~~ mplayer.c: In function 'create_mplayers': mplayer.c:331:1: warning: old-style function definition [-Wold-style-definition] 331 | create_mplayers(num, special) | ^~~~~~~~~~~~~~~ mplayer.c: In function 'mplayer_talk': mplayer.c:362:1: warning: old-style function definition [-Wold-style-definition] 362 | mplayer_talk(mtmp) | ^~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o mthrowu.o mthrowu.c In file included from ../include/hack.h:10, from mthrowu.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition mthrowu.c: In function 'thitu': mthrowu.c:34:1: warning: old-style function definition [-Wold-style-definition] 34 | thitu(tlev, dam, objp, name) | ^~~~~ mthrowu.c: In function 'drop_throw': mthrowu.c:109:1: warning: old-style function definition [-Wold-style-definition] 109 | drop_throw(obj, ohit, x, y) | ^~~~~~~~~~ mthrowu.c: In function 'monmulti': mthrowu.c:158:1: warning: old-style function definition [-Wold-style-definition] 158 | monmulti(mtmp, otmp, mwep) | ^~~~~~~~ mthrowu.c: In function 'monshoot': mthrowu.c:246:1: warning: old-style function definition [-Wold-style-definition] 246 | monshoot(mtmp, otmp, mwep) | ^~~~~~~~ mthrowu.c: In function 'ohitmon': mthrowu.c:305:1: warning: old-style function definition [-Wold-style-definition] 305 | ohitmon(mtmp, otmp, range, verbose) | ^~~~~~~ mthrowu.c: In function 'm_throw': mthrowu.c:484:1: warning: old-style function definition [-Wold-style-definition] 484 | m_throw(mon, x, y, dx, dy, range, obj) | ^~~~~~~ mthrowu.c: In function 'thrwmm': mthrowu.c:707:1: warning: old-style function definition [-Wold-style-definition] 707 | thrwmm(mtmp, mtarg) | ^~~~~~ mthrowu.c: In function 'spitmm': mthrowu.c:755:1: warning: old-style function definition [-Wold-style-definition] 755 | spitmm(mtmp, mattk, mtarg) | ^~~~~~ mthrowu.c: In function 'breamm': mthrowu.c:807:1: warning: old-style function definition [-Wold-style-definition] 807 | breamm(mtmp, mattk, mtarg) | ^~~~~~ mthrowu.c: In function 'm_useupall': mthrowu.c:856:1: warning: old-style function definition [-Wold-style-definition] 856 | m_useupall(mon, obj) | ^~~~~~~~~~ mthrowu.c: In function 'm_useup': mthrowu.c:873:1: warning: old-style function definition [-Wold-style-definition] 873 | m_useup(mon, obj) | ^~~~~~~ mthrowu.c: In function 'thrwmu': mthrowu.c:887:1: warning: old-style function definition [-Wold-style-definition] 887 | thrwmu(mtmp) | ^~~~~~ mthrowu.c: In function 'spitmu': mthrowu.c:956:1: warning: old-style function definition [-Wold-style-definition] 956 | spitmu(mtmp, mattk) | ^~~~~~ mthrowu.c: In function 'breamu': mthrowu.c:999:1: warning: old-style function definition [-Wold-style-definition] 999 | breamu(mtmp, mattk) | ^~~~~~ mthrowu.c: In function 'linedup': mthrowu.c:1039:1: warning: old-style function definition [-Wold-style-definition] 1039 | linedup(ax, ay, bx, by, boulderhandling) | ^~~~~~~ mthrowu.c: In function 'm_lined_up': mthrowu.c:1081:1: warning: old-style function definition [-Wold-style-definition] 1081 | m_lined_up(mtarg, mtmp) | ^~~~~~~~~~ mthrowu.c: In function 'lined_up': mthrowu.c:1090:1: warning: old-style function definition [-Wold-style-definition] 1090 | lined_up(mtmp) | ^~~~~~~~ mthrowu.c: In function 'm_carrying': mthrowu.c:1109:1: warning: old-style function definition [-Wold-style-definition] 1109 | m_carrying(mtmp, type) | ^~~~~~~~~~ mthrowu.c: In function 'hit_bars': mthrowu.c:1122:1: warning: old-style function definition [-Wold-style-definition] 1122 | hit_bars(objp, objx, objy, barsx, barsy, your_fault, from_invent) | ^~~~~~~~ mthrowu.c: In function 'hits_bars': mthrowu.c:1157:1: warning: old-style function definition [-Wold-style-definition] 1157 | hits_bars(obj_p, x, y, barsx, barsy, always_hit, whodidit) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o muse.o muse.c In file included from ../include/hack.h:10, from muse.c:9: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition muse.c: In function 'precheck': muse.c:63:1: warning: old-style function definition [-Wold-style-definition] 63 | precheck(mon, obj) | ^~~~~~~~ muse.c: In function 'mzapwand': muse.c:170:1: warning: old-style function definition [-Wold-style-definition] 170 | mzapwand(mtmp, otmp, self) | ^~~~~~~~ muse.c: In function 'mplayhorn': muse.c:194:1: warning: old-style function definition [-Wold-style-definition] 194 | mplayhorn(mtmp, otmp, self) | ^~~~~~~~~ muse.c: In function 'mreadmsg': muse.c:219:1: warning: old-style function definition [-Wold-style-definition] 219 | mreadmsg(mtmp, otmp) | ^~~~~~~~ muse.c: In function 'mquaffmsg': muse.c:260:1: warning: old-style function definition [-Wold-style-definition] 260 | mquaffmsg(mtmp, otmp) | ^~~~~~~~~ muse.c: In function 'm_use_healing': muse.c:303:1: warning: old-style function definition [-Wold-style-definition] 303 | m_use_healing(mtmp) | ^~~~~~~~~~~~~ muse.c: In function 'find_defensive': muse.c:328:1: warning: old-style function definition [-Wold-style-definition] 328 | find_defensive(mtmp) | ^~~~~~~~~~~~~~ muse.c: In function 'use_defensive': muse.c:629:1: warning: old-style function definition [-Wold-style-definition] 629 | use_defensive(mtmp) | ^~~~~~~~~~~~~ muse.c: In function 'rnd_defensive_item': muse.c:1015:1: warning: old-style function definition [-Wold-style-definition] 1015 | rnd_defensive_item(mtmp) | ^~~~~~~~~~~~~~~~~~ muse.c: In function 'find_offensive': muse.c:1083:1: warning: old-style function definition [-Wold-style-definition] 1083 | find_offensive(mtmp) | ^~~~~~~~~~~~~~ muse.c: In function 'mbhitm': muse.c:1233:1: warning: old-style function definition [-Wold-style-definition] 1233 | mbhitm(mtmp, otmp) | ^~~~~~ muse.c: In function 'mbhit': muse.c:1314:1: warning: old-style function definition [-Wold-style-definition] 1314 | mbhit(mon, range, fhitm, fhito, obj) | ^~~~~ muse.c: In function 'use_offensive': muse.c:1406:1: warning: old-style function definition [-Wold-style-definition] 1406 | use_offensive(mtmp) | ^~~~~~~~~~~~~ muse.c: In function 'rnd_offensive_item': muse.c:1573:1: warning: old-style function definition [-Wold-style-definition] 1573 | rnd_offensive_item(mtmp) | ^~~~~~~~~~~~~~~~~~ muse.c: In function 'find_misc': muse.c:1631:1: warning: old-style function definition [-Wold-style-definition] 1631 | find_misc(mtmp) | ^~~~~~~~~ muse.c: In function 'muse_newcham_mon': muse.c:1761:1: warning: old-style function definition [-Wold-style-definition] 1761 | muse_newcham_mon(mon) | ^~~~~~~~~~~~~~~~ muse.c: In function 'use_misc': muse.c:1776:1: warning: old-style function definition [-Wold-style-definition] 1776 | use_misc(mtmp) | ^~~~~~~~ muse.c: In function 'you_aggravate': muse.c:1987:1: warning: old-style function definition [-Wold-style-definition] 1987 | you_aggravate(mtmp) | ^~~~~~~~~~~~~ muse.c: In function 'rnd_misc_item': muse.c:2011:1: warning: old-style function definition [-Wold-style-definition] 2011 | rnd_misc_item(mtmp) | ^~~~~~~~~~~~~ muse.c: In function 'searches_for_item': muse.c:2047:1: warning: old-style function definition [-Wold-style-definition] 2047 | searches_for_item(mon, obj) | ^~~~~~~~~~~~~~~~~ muse.c: In function 'mon_reflects': muse.c:2124:1: warning: old-style function definition [-Wold-style-definition] 2124 | mon_reflects(mon, str) | ^~~~~~~~~~~~ muse.c: In function 'ureflects': muse.c:2165:1: warning: old-style function definition [-Wold-style-definition] 2165 | ureflects(fmt, str) | ^~~~~~~~~ muse.c: In function 'mcureblindness': muse.c:2200:1: warning: old-style function definition [-Wold-style-definition] 2200 | mcureblindness(mon, verbos) | ^~~~~~~~~~~~~~ muse.c: In function 'munstone': muse.c:2214:1: warning: old-style function definition [-Wold-style-definition] 2214 | munstone(mon, by_you) | ^~~~~~~~ muse.c: In function 'mon_consume_unstone': muse.c:2238:1: warning: old-style function definition [-Wold-style-definition] 2238 | mon_consume_unstone(mon, obj, by_you, stoning) | ^~~~~~~~~~~~~~~~~~~ muse.c: In function 'cures_stoning': muse.c:2318:1: warning: old-style function definition [-Wold-style-definition] 2318 | cures_stoning(mon, obj, tinok) | ^~~~~~~~~~~~~ muse.c: In function 'mcould_eat_tin': muse.c:2337:1: warning: old-style function definition [-Wold-style-definition] 2337 | mcould_eat_tin(mon) | ^~~~~~~~~~~~~~ muse.c: In function 'munslime': muse.c:2368:1: warning: old-style function definition [-Wold-style-definition] 2368 | munslime(mon, by_you) | ^~~~~~~~ muse.c: In function 'muse_unslime': muse.c:2443:1: warning: old-style function definition [-Wold-style-definition] 2443 | muse_unslime(mon, obj, trap, by_you) | ^~~~~~~~~~~~ muse.c: In function 'cures_sliming': muse.c:2555:1: warning: old-style function definition [-Wold-style-definition] 2555 | cures_sliming(mon, obj) | ^~~~~~~~~~~~~ muse.c: In function 'green_mon': muse.c:2572:1: warning: old-style function definition [-Wold-style-definition] 2572 | green_mon(mon) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o music.o music.c In file included from ../include/hack.h:10, from music.c:29: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition music.c: In function 'awaken_monsters': music.c:61:1: warning: old-style function definition [-Wold-style-definition] 61 | awaken_monsters(distance) | ^~~~~~~~~~~~~~~ music.c: In function 'put_monsters_to_sleep': music.c:92:1: warning: old-style function definition [-Wold-style-definition] 92 | put_monsters_to_sleep(distance) | ^~~~~~~~~~~~~~~~~~~~~ music.c: In function 'charm_snakes': music.c:113:1: warning: old-style function definition [-Wold-style-definition] 113 | charm_snakes(distance) | ^~~~~~~~~~~~ music.c: In function 'calm_nymphs': music.c:148:1: warning: old-style function definition [-Wold-style-definition] 148 | calm_nymphs(distance) | ^~~~~~~~~~~ music.c: In function 'awaken_soldiers': music.c:172:1: warning: old-style function definition [-Wold-style-definition] 172 | awaken_soldiers(bugler) | ^~~~~~~~~~~~~~~ music.c: In function 'charm_monsters': music.c:215:1: warning: old-style function definition [-Wold-style-definition] 215 | charm_monsters(distance) | ^~~~~~~~~~~~~~ music.c: In function 'do_earthquake': music.c:241:1: warning: old-style function definition [-Wold-style-definition] 241 | do_earthquake(force) | ^~~~~~~~~~~~~ music.c: In function 'do_improvisation': music.c:469:1: warning: old-style function definition [-Wold-style-definition] 469 | do_improvisation(instr) | ^~~~~~~~~~~~~~~~ music.c: In function 'do_play_instrument': music.c:682:1: warning: old-style function definition [-Wold-style-definition] 682 | do_play_instrument(instr) | ^~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o o_init.o o_init.c In file included from ../include/hack.h:10, from o_init.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition o_init.c: In function 'setgemprobs': o_init.c:46:1: warning: old-style function definition [-Wold-style-definition] 46 | setgemprobs(dlev) | ^~~~~~~~~~~ o_init.c: In function 'shuffle': o_init.c:73:1: warning: old-style function definition [-Wold-style-definition] 73 | shuffle(o_low, o_high, domaterial) | ^~~~~~~ o_init.c: In function 'obj_shuffle_range': o_init.c:188:1: warning: old-style function definition [-Wold-style-definition] 188 | obj_shuffle_range(otyp, lo_p, hi_p) | ^~~~~~~~~~~~~~~~~ o_init.c: In function 'savenames': o_init.c:292:1: warning: old-style function definition [-Wold-style-definition] 292 | savenames(fd, mode) | ^~~~~~~~~ o_init.c: In function 'restnames': o_init.c:322:1: warning: old-style function definition [-Wold-style-definition] 322 | restnames(fd) | ^~~~~~~~~ o_init.c: In function 'discover_object': o_init.c:343:1: warning: old-style function definition [-Wold-style-definition] 343 | discover_object(oindx, mark_as_known, credit_hero) | ^~~~~~~~~~~~~~~ o_init.c: In function 'undiscover_object': o_init.c:376:1: warning: old-style function definition [-Wold-style-definition] 376 | undiscover_object(oindx) | ^~~~~~~~~~~~~~~~~ o_init.c: In function 'interesting_to_discover': o_init.c:405:1: warning: old-style function definition [-Wold-style-definition] 405 | interesting_to_discover(i) | ^~~~~~~~~~~~~~~~~~~~~~~ o_init.c: In function 'disco_append_typename': o_init.c:422:1: warning: old-style function definition [-Wold-style-definition] 422 | disco_append_typename(buf, dis) | ^~~~~~~~~~~~~~~~~~~~~ o_init.c: In function 'oclass_to_name': o_init.c:506:1: warning: old-style function definition [-Wold-style-definition] 506 | oclass_to_name(oclass, buf) | ^~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o objnam.o objnam.c In file included from ../include/hack.h:10, from objnam.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition objnam.c: In function 'strprepend': objnam.c:66:1: warning: old-style function definition [-Wold-style-definition] 66 | strprepend(s, pref) | ^~~~~~~~~~ objnam.c: In function 'releaseobuf': objnam.c:94:1: warning: old-style function definition [-Wold-style-definition] 94 | releaseobuf(bufp) | ^~~~~~~~~~~ objnam.c: In function 'obj_typename': objnam.c:108:1: warning: old-style function definition [-Wold-style-definition] 108 | obj_typename(otyp) | ^~~~~~~~~~~~ objnam.c: In function 'simple_typename': objnam.c:191:1: warning: old-style function definition [-Wold-style-definition] 191 | simple_typename(otyp) | ^~~~~~~~~~~~~~~ objnam.c: In function 'safe_typename': objnam.c:206:1: warning: old-style function definition [-Wold-style-definition] 206 | safe_typename(otyp) | ^~~~~~~~~~~~~ objnam.c: In function 'obj_is_pname': objnam.c:227:1: warning: old-style function definition [-Wold-style-definition] 227 | obj_is_pname(obj) | ^~~~~~~~~~~~ objnam.c: In function 'distant_name': objnam.c:248:1: warning: old-style function definition [-Wold-style-definition] 248 | distant_name(obj, func) | ^~~~~~~~~~~~ objnam.c: In function 'fruitname': objnam.c:271:1: warning: old-style function definition [-Wold-style-definition] 271 | fruitname(juice) | ^~~~~~~~~ objnam.c: In function 'fruit_from_indx': objnam.c:288:1: warning: old-style function definition [-Wold-style-definition] 288 | fruit_from_indx(indx) | ^~~~~~~~~~~~~~~ objnam.c: In function 'fruit_from_name': objnam.c:301:1: warning: old-style function definition [-Wold-style-definition] 301 | fruit_from_name(fname, exact, highest_fid) | ^~~~~~~~~~~~~~~ objnam.c: In function 'reorder_fruit': objnam.c:381:1: warning: old-style function definition [-Wold-style-definition] 381 | reorder_fruit(forward) | ^~~~~~~~~~~~~ objnam.c: In function 'xcalled': objnam.c:417:1: warning: old-style function definition [-Wold-style-definition] 417 | xcalled(buf, siz, pfx, sfx) | ^~~~~~~ objnam.c: In function 'xname': objnam.c:434:1: warning: old-style function definition [-Wold-style-definition] 434 | xname(obj) | ^~~~~ objnam.c: In function 'xname_flags': objnam.c:441:1: warning: old-style function definition [-Wold-style-definition] 441 | xname_flags(obj, cxn_flags) | ^~~~~~~~~~~ objnam.c: In function 'minimal_xname': objnam.c:767:1: warning: old-style function definition [-Wold-style-definition] 767 | minimal_xname(obj) | ^~~~~~~~~~~~~ objnam.c: In function 'mshot_xname': objnam.c:812:1: warning: old-style function definition [-Wold-style-definition] 812 | mshot_xname(obj) | ^~~~~~~~~~~ objnam.c: In function 'the_unique_obj': objnam.c:829:1: warning: old-style function definition [-Wold-style-definition] 829 | the_unique_obj(obj) | ^~~~~~~~~~~~~~ objnam.c: In function 'the_unique_pm': objnam.c:845:1: warning: old-style function definition [-Wold-style-definition] 845 | the_unique_pm(ptr) | ^~~~~~~~~~~~~ objnam.c: In function 'add_erosion_words': objnam.c:868:1: warning: old-style function definition [-Wold-style-definition] 868 | add_erosion_words(obj, prefix) | ^~~~~~~~~~~~~~~~~ objnam.c: In function 'erosion_matters': objnam.c:919:1: warning: old-style function definition [-Wold-style-definition] 919 | erosion_matters(obj) | ^~~~~~~~~~~~~~~ objnam.c: In function 'doname_base': objnam.c:946:1: warning: old-style function definition [-Wold-style-definition] 946 | doname_base(obj, doname_flags) | ^~~~~~~~~~~ objnam.c: In function 'doname': objnam.c:1308:1: warning: old-style function definition [-Wold-style-definition] 1308 | doname(obj) | ^~~~~~ objnam.c: In function 'doname_with_price': objnam.c:1316:1: warning: old-style function definition [-Wold-style-definition] 1316 | doname_with_price(obj) | ^~~~~~~~~~~~~~~~~ objnam.c: In function 'doname_vague_quan': objnam.c:1324:1: warning: old-style function definition [-Wold-style-definition] 1324 | doname_vague_quan(obj) | ^~~~~~~~~~~~~~~~~ objnam.c: In function 'not_fully_identified': objnam.c:1344:1: warning: old-style function definition [-Wold-style-definition] 1344 | not_fully_identified(otmp) | ^~~~~~~~~~~~~~~~~~~~ objnam.c: In function 'corpse_xname': objnam.c:1383:1: warning: old-style function definition [-Wold-style-definition] 1383 | corpse_xname(otmp, adjective, cxn_flags) | ^~~~~~~~~~~~ objnam.c: In function 'cxname': objnam.c:1478:1: warning: old-style function definition [-Wold-style-definition] 1478 | cxname(obj) | ^~~~~~ objnam.c: In function 'cxname_singular': objnam.c:1488:1: warning: old-style function definition [-Wold-style-definition] 1488 | cxname_singular(obj) | ^~~~~~~~~~~~~~~ objnam.c: In function 'killer_xname': objnam.c:1498:1: warning: old-style function definition [-Wold-style-definition] 1498 | killer_xname(obj) | ^~~~~~~~~~~~ objnam.c: In function 'short_oname': objnam.c:1565:1: warning: old-style function definition [-Wold-style-definition] 1565 | short_oname(obj, func, altfunc, lenlimit) | ^~~~~~~~~~~ objnam.c: In function 'singular': objnam.c:1647:1: warning: old-style function definition [-Wold-style-definition] 1647 | singular(otmp, func) | ^~~~~~~~ objnam.c: In function 'just_an': objnam.c:1667:1: warning: old-style function definition [-Wold-style-definition] 1667 | just_an(outbuf, str) | ^~~~~~~ objnam.c: In function 'an': objnam.c:1694:1: warning: old-style function definition [-Wold-style-definition] 1694 | an(str) | ^~ objnam.c: In function 'An': objnam.c:1708:1: warning: old-style function definition [-Wold-style-definition] 1708 | An(str) | ^~ objnam.c: In function 'the': objnam.c:1722:1: warning: old-style function definition [-Wold-style-definition] 1722 | the(str) | ^~~ objnam.c: In function 'The': objnam.c:1776:1: warning: old-style function definition [-Wold-style-definition] 1776 | The(str) | ^~~ objnam.c: In function 'aobjnam': objnam.c:1787:1: warning: old-style function definition [-Wold-style-definition] 1787 | aobjnam(otmp, verb) | ^~~~~~~ objnam.c: In function 'yobjnam': objnam.c:1807:1: warning: old-style function definition [-Wold-style-definition] 1807 | yobjnam(obj, verb) | ^~~~~~~ objnam.c: In function 'Yobjnam2': objnam.c:1827:1: warning: old-style function definition [-Wold-style-definition] 1827 | Yobjnam2(obj, verb) | ^~~~~~~~ objnam.c: In function 'Tobjnam': objnam.c:1839:1: warning: old-style function definition [-Wold-style-definition] 1839 | Tobjnam(otmp, verb) | ^~~~~~~ objnam.c: In function 'Doname2': objnam.c:1854:1: warning: old-style function definition [-Wold-style-definition] 1854 | Doname2(obj) | ^~~~~~~ objnam.c: In function 'yname': objnam.c:1889:1: warning: old-style function definition [-Wold-style-definition] 1889 | yname(obj) | ^~~~~ objnam.c: In function 'Yname2': objnam.c:1909:1: warning: old-style function definition [-Wold-style-definition] 1909 | Yname2(obj) | ^~~~~~ objnam.c: In function 'ysimple_name': objnam.c:1923:1: warning: old-style function definition [-Wold-style-definition] 1923 | ysimple_name(obj) | ^~~~~~~~~~~~ objnam.c: In function 'Ysimple_name2': objnam.c:1935:1: warning: old-style function definition [-Wold-style-definition] 1935 | Ysimple_name2(obj) | ^~~~~~~~~~~~~ objnam.c: In function 'simpleonames': objnam.c:1946:1: warning: old-style function definition [-Wold-style-definition] 1946 | simpleonames(obj) | ^~~~~~~~~~~~ objnam.c: In function 'ansimpleoname': objnam.c:1958:1: warning: old-style function definition [-Wold-style-definition] 1958 | ansimpleoname(obj) | ^~~~~~~~~~~~~ objnam.c: In function 'thesimpleoname': objnam.c:1981:1: warning: old-style function definition [-Wold-style-definition] 1981 | thesimpleoname(obj) | ^~~~~~~~~~~~~~ objnam.c: In function 'bare_artifactname': objnam.c:1991:1: warning: old-style function definition [-Wold-style-definition] 1991 | bare_artifactname(obj) | ^~~~~~~~~~~~~~~~~ objnam.c: In function 'otense': objnam.c:2021:1: warning: old-style function definition [-Wold-style-definition] 2021 | otense(otmp, verb) | ^~~~~~ objnam.c: In function 'vtense': objnam.c:2055:1: warning: old-style function definition [-Wold-style-definition] 2055 | vtense(subj, verb) | ^~~~~~ objnam.c: In function 'singplur_lookup': objnam.c:2200:1: warning: old-style function definition [-Wold-style-definition] 2200 | singplur_lookup(basestr, endstring, to_plural, alt_as_is) | ^~~~~~~~~~~~~~~ objnam.c: In function 'singplur_compound': objnam.c:2275:1: warning: old-style function definition [-Wold-style-definition] 2275 | singplur_compound(str) | ^~~~~~~~~~~~~~~~~ objnam.c: In function 'makeplural': objnam.c:2328:1: warning: old-style function definition [-Wold-style-definition] 2328 | makeplural(oldstr) | ^~~~~~~~~~ objnam.c: In function 'makesingular': objnam.c:2507:1: warning: old-style function definition [-Wold-style-definition] 2507 | makesingular(oldstr) | ^~~~~~~~~~~~ objnam.c: In function 'badman': objnam.c:2622:1: warning: old-style function definition [-Wold-style-definition] 2622 | badman(basestr, to_plural) | ^~~~~~ objnam.c: In function 'wishymatch': objnam.c:2671:1: warning: old-style function definition [-Wold-style-definition] 2671 | wishymatch(u_str, o_str, retry_inverted) | ^~~~~~~~~~ objnam.c: In function 'rnd_otyp_by_wpnskill': objnam.c:2843:1: warning: old-style function definition [-Wold-style-definition] 2843 | rnd_otyp_by_wpnskill(skill) | ^~~~~~~~~~~~~~~~~~~~ objnam.c: In function 'rnd_otyp_by_namedesc': objnam.c:2867:1: warning: old-style function definition [-Wold-style-definition] 2867 | rnd_otyp_by_namedesc(name, oclass, xtra_prob) | ^~~~~~~~~~~~~~~~~~~~ objnam.c: In function 'shiny_obj': objnam.c:2917:1: warning: old-style function definition [-Wold-style-definition] 2917 | shiny_obj(oclass) | ^~~~~~~~~ objnam.c: In function 'readobjnam': objnam.c:2931:1: warning: old-style function definition [-Wold-style-definition] 2931 | readobjnam(bp, no_wish) | ^~~~~~~~~~ objnam.c: In function 'rnd_class': objnam.c:4137:1: warning: old-style function definition [-Wold-style-definition] 4137 | rnd_class(first, last) | ^~~~~~~~~ objnam.c: In function 'Japanese_item_name': objnam.c:4156:1: warning: old-style function definition [-Wold-style-definition] 4156 | Japanese_item_name(i) | ^~~~~~~~~~~~~~~~~~ objnam.c: In function 'suit_simple_name': objnam.c:4170:1: warning: old-style function definition [-Wold-style-definition] 4170 | suit_simple_name(suit) | ^~~~~~~~~~~~~~~~ objnam.c: In function 'cloak_simple_name': objnam.c:4192:1: warning: old-style function definition [-Wold-style-definition] 4192 | cloak_simple_name(cloak) | ^~~~~~~~~~~~~~~~~ objnam.c: In function 'helm_simple_name': objnam.c:4214:1: warning: old-style function definition [-Wold-style-definition] 4214 | helm_simple_name(helmet) | ^~~~~~~~~~~~~~~~ objnam.c: In function 'gloves_simple_name': objnam.c:4234:1: warning: old-style function definition [-Wold-style-definition] 4234 | gloves_simple_name(gloves) | ^~~~~~~~~~~~~~~~~~ objnam.c: In function 'mimic_obj_name': objnam.c:4253:1: warning: old-style function definition [-Wold-style-definition] 4253 | mimic_obj_name(mtmp) | ^~~~~~~~~~~~~~ objnam.c: In function 'safe_qbuf': objnam.c:4272:1: warning: old-style function definition [-Wold-style-definition] 4272 | safe_qbuf(qbuf, qprefix, qsuffix, obj, func, altfunc, lastR) | ^~~~~~~~~ objnam.c: In function 'globwt': objnam.c:4346:1: warning: old-style function definition [-Wold-style-definition] 4346 | globwt(otmp, buf, weightformatted_p) | ^~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o options.o options.c In file included from ../include/hack.h:10, from options.c:17: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition options.c: In function 'match_optname': options.c:619:1: warning: old-style function definition [-Wold-style-definition] 619 | match_optname(user_string, opt_name, min_length, val_allowed) | ^~~~~~~~~~~~~ options.c: In function 'nh_getenv': options.c:653:1: warning: old-style function definition [-Wold-style-definition] 653 | nh_getenv(ev) | ^~~~~~~~~ options.c: In function 'nmcpy': options.c:916:1: warning: old-style function definition [-Wold-style-definition] 916 | nmcpy(dest, src, maxlen) | ^~~~~ options.c: In function 'escapes': options.c:954:1: warning: old-style function definition [-Wold-style-definition] 954 | escapes(cp, tp) | ^~~~~~~ options.c: In function 'rejectoption': options.c:1027:1: warning: old-style function definition [-Wold-style-definition] 1027 | rejectoption(optname) | ^~~~~~~~~~~~ options.c: In function 'string_for_opt': options.c:1058:1: warning: old-style function definition [-Wold-style-definition] 1058 | string_for_opt(opts, val_optional) | ^~~~~~~~~~~~~~ options.c: In function 'string_for_env_opt': options.c:1078:1: warning: old-style function definition [-Wold-style-definition] 1078 | string_for_env_opt(optname, opts, val_optional) | ^~~~~~~~~~~~~~~~~~ options.c: In function 'bad_negation': options.c:1091:1: warning: old-style function definition [-Wold-style-definition] 1091 | bad_negation(optname, with_parameter) | ^~~~~~~~~~~~ options.c: In function 'change_inv_order': options.c:1109:1: warning: old-style function definition [-Wold-style-definition] 1109 | change_inv_order(op) | ^~~~~~~~~~~~~~~~ options.c: In function 'warning_opts': options.c:1157:1: warning: old-style function definition [-Wold-style-definition] 1157 | warning_opts(opts, optype) | ^~~~~~~~~~~~ options.c: In function 'assign_warnings': options.c:1179:1: warning: old-style function definition [-Wold-style-definition] 1179 | assign_warnings(graph_chars) | ^~~~~~~~~~~~~~~ options.c: In function 'feature_alert_opts': options.c:1190:1: warning: old-style function definition [-Wold-style-definition] 1190 | feature_alert_opts(op, optn) | ^~~~~~~~~~~~~~~~~~ options.c: In function 'set_duplicate_opt_detection': options.c:1222:1: warning: old-style function definition [-Wold-style-definition] 1222 | set_duplicate_opt_detection(on_or_off) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'duplicate_opt_detection': options.c:1254:1: warning: old-style function definition [-Wold-style-definition] 1254 | duplicate_opt_detection(opts, iscompound) | ^~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'complain_about_duplicate': options.c:1288:1: warning: old-style function definition [-Wold-style-definition] 1288 | complain_about_duplicate(opts, iscompound) | ^~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'clr2colorname': options.c:1399:1: warning: old-style function definition [-Wold-style-definition] 1399 | clr2colorname(clr) | ^~~~~~~~~~~~~ options.c: In function 'match_str2clr': options.c:1411:1: warning: old-style function definition [-Wold-style-definition] 1411 | match_str2clr(str) | ^~~~~~~~~~~~~ options.c: In function 'attr2attrname': options.c:1437:1: warning: old-style function definition [-Wold-style-definition] 1437 | attr2attrname(attr) | ^~~~~~~~~~~~~ options.c: In function 'match_str2attr': options.c:1449:1: warning: old-style function definition [-Wold-style-definition] 1449 | match_str2attr(str, complain) | ^~~~~~~~~~~~~~ options.c: In function 'query_color': options.c:1469:1: warning: old-style function definition [-Wold-style-definition] 1469 | query_color(prompt) | ^~~~~~~~~~~ options.c: In function 'query_attr': options.c:1511:1: warning: old-style function definition [-Wold-style-definition] 1511 | query_attr(prompt) | ^~~~~~~~~~ options.c: In function 'msgtype2name': options.c:1603:1: warning: old-style function definition [-Wold-style-definition] 1603 | msgtype2name(typ) | ^~~~~~~~~~~~ options.c: In function 'msgtype_add': options.c:1643:1: warning: old-style function definition [-Wold-style-definition] 1643 | msgtype_add(typ, pattern) | ^~~~~~~~~~~ options.c: In function 'free_one_msgtype': options.c:1680:1: warning: old-style function definition [-Wold-style-definition] 1680 | free_one_msgtype(idx) | ^~~~~~~~~~~~~~~~ options.c: In function 'msgtype_type': options.c:1706:1: warning: old-style function definition [-Wold-style-definition] 1706 | msgtype_type(msg, norepeat) | ^~~~~~~~~~~~ options.c: In function 'hide_unhide_msgtypes': options.c:1725:1: warning: old-style function definition [-Wold-style-definition] 1725 | hide_unhide_msgtypes(hide, hide_mask) | ^~~~~~~~~~~~~~~~~~~~ options.c: In function 'msgtype_parse_add': options.c:1756:1: warning: old-style function definition [-Wold-style-definition] 1756 | msgtype_parse_add(str) | ^~~~~~~~~~~~~~~~~ options.c: In function 'test_regex_pattern': options.c:1782:1: warning: old-style function definition [-Wold-style-definition] 1782 | test_regex_pattern(str, errmsg) | ^~~~~~~~~~~~~~~~~~ options.c: In function 'add_menu_coloring_parsed': options.c:1809:1: warning: old-style function definition [-Wold-style-definition] 1809 | add_menu_coloring_parsed(str, c, a) | ^~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'add_menu_coloring': options.c:1837:1: warning: old-style function definition [-Wold-style-definition] 1837 | add_menu_coloring(tmpstr) | ^~~~~~~~~~~~~~~~~ options.c: In function 'get_menu_coloring': options.c:1884:1: warning: old-style function definition [-Wold-style-definition] 1884 | get_menu_coloring(str, color, attr) | ^~~~~~~~~~~~~~~~~ options.c: In function 'free_one_menu_coloring': options.c:1914:1: warning: old-style function definition [-Wold-style-definition] 1914 | free_one_menu_coloring(idx) | ^~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'parse_role_opts': options.c:1951:1: warning: old-style function definition [-Wold-style-definition] 1951 | parse_role_opts(negated, fullname, opts, opp) | ^~~~~~~~~~~~~~~ options.c: In function 'illegal_menu_cmd_key': options.c:1989:1: warning: old-style function definition [-Wold-style-definition] 1989 | illegal_menu_cmd_key(c) | ^~~~~~~~~~~~~~~~~~~~ options.c: In function 'parseoptions': options.c:2009:1: warning: old-style function definition [-Wold-style-definition] 2009 | parseoptions(opts, tinitial, tfrom_file) | ^~~~~~~~~~~~ options.c: In function 'parsebindings': options.c:4186:1: warning: old-style function definition [-Wold-style-definition] 4186 | parsebindings(bindings) | ^~~~~~~~~~~~~ options.c: In function 'oc_to_str': options.c:4255:1: warning: old-style function definition [-Wold-style-definition] 4255 | oc_to_str(src, dest) | ^~~~~~~~~ options.c: In function 'add_menu_cmd_alias': options.c:4274:1: warning: old-style function definition [-Wold-style-definition] 4274 | add_menu_cmd_alias(from_ch, to_ch) | ^~~~~~~~~~~~~~~~~~ options.c: In function 'get_menu_cmd_key': options.c:4289:1: warning: old-style function definition [-Wold-style-definition] 4289 | get_menu_cmd_key(ch) | ^~~~~~~~~~~~~~~~ options.c: In function 'map_menu_cmd': options.c:4307:1: warning: old-style function definition [-Wold-style-definition] 4307 | map_menu_cmd(ch) | ^~~~~~~~~~~~ options.c: In function 'show_menu_controls': options.c:4321:1: warning: old-style function definition [-Wold-style-definition] 4321 | show_menu_controls(win, dolist) | ^~~~~~~~~~~~~~~~~~ options.c: In function 'doset_add_menu': options.c:4403:1: warning: old-style function definition [-Wold-style-definition] 4403 | doset_add_menu(win, option, indexoffset) | ^~~~~~~~~~~~~~ options.c: In function 'opts_add_others': options.c:4443:1: warning: old-style function definition [-Wold-style-definition] 4443 | opts_add_others(win, name, id, bufx, nset) | ^~~~~~~~~~~~~~~ options.c: In function 'handle_add_list_remove': options.c:4716:1: warning: old-style function definition [-Wold-style-definition] 4716 | handle_add_list_remove(optname, numtotal) | ^~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'special_handling': options.c:4766:1: warning: old-style function definition [-Wold-style-definition] 4766 | special_handling(optname, setinitial, setfromfile) | ^~~~~~~~~~~~~~~~ options.c: In function 'get_compopt_value': options.c:5601:1: warning: old-style function definition [-Wold-style-definition] 5601 | get_compopt_value(optname, buf) | ^~~~~~~~~~~~~~~~~ options.c: In function 'add_autopickup_exception': options.c:6004:1: warning: old-style function definition [-Wold-style-definition] 6004 | add_autopickup_exception(mapping) | ^~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'remove_autopickup_exception': options.c:6052:1: warning: old-style function definition [-Wold-style-definition] 6052 | remove_autopickup_exception(whichape) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'load_symset': options.c:6090:1: warning: old-style function definition [-Wold-style-definition] 6090 | load_symset(s, which_set) | ^~~~~~~~~~~ options.c: In function 'parsesymbols': options.c:6122:1: warning: old-style function definition [-Wold-style-definition] 6122 | parsesymbols(opts, which_set) | ^~~~~~~~~~~~ options.c: In function 'match_sym': options.c:6164:1: warning: old-style function definition [-Wold-style-definition] 6164 | match_sym(buf) | ^~~~~~~~~ options.c: In function 'sym_val': options.c:6189:1: warning: old-style function definition [-Wold-style-definition] 6189 | sym_val(strval) | ^~~~~~~ options.c: In function 'next_opt': options.c:6305:1: warning: old-style function definition [-Wold-style-definition] 6305 | next_opt(datawin, str) | ^~~~~~~~ options.c: In function 'fruitadd': options.c:6346:1: warning: old-style function definition [-Wold-style-definition] 6346 | fruitadd(str, replace_fruit) | ^~~~~~~~ options.c: In function 'choose_classes_menu': options.c:6491:1: warning: old-style function definition [-Wold-style-definition] 6491 | choose_classes_menu(prompt, category, way, class_list, class_select) | ^~~~~~~~~~~~~~~~~~~ options.c: In function 'set_option_mod_status': options.c:6652:1: warning: old-style function definition [-Wold-style-definition] 6652 | set_option_mod_status(optnam, status) | ^~~~~~~~~~~~~~~~~~~~~ options.c: In function 'set_wc_option_mod_status': options.c:6686:1: warning: old-style function definition [-Wold-style-definition] 6686 | set_wc_option_mod_status(optmask, status) | ^~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'is_wc_option': options.c:6706:1: warning: old-style function definition [-Wold-style-definition] 6706 | is_wc_option(optnam) | ^~~~~~~~~~~~ options.c: In function 'wc_supported': options.c:6720:1: warning: old-style function definition [-Wold-style-definition] 6720 | wc_supported(optnam) | ^~~~~~~~~~~~ options.c: In function 'set_wc2_option_mod_status': options.c:6744:1: warning: old-style function definition [-Wold-style-definition] 6744 | set_wc2_option_mod_status(optmask, status) | ^~~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'is_wc2_option': options.c:6764:1: warning: old-style function definition [-Wold-style-definition] 6764 | is_wc2_option(optnam) | ^~~~~~~~~~~~~ options.c: In function 'wc2_supported': options.c:6778:1: warning: old-style function definition [-Wold-style-definition] 6778 | wc2_supported(optnam) | ^~~~~~~~~~~~~ options.c: In function 'wc_set_font_name': options.c:6792:1: warning: old-style function definition [-Wold-style-definition] 6792 | wc_set_font_name(opttype, fontname) | ^~~~~~~~~~~~~~~~ options.c: In function 'wc_set_window_colors': options.c:6828:1: warning: old-style function definition [-Wold-style-definition] 6828 | wc_set_window_colors(op) | ^~~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o pager.o pager.c In file included from ../include/hack.h:10, from pager.c:9: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition pager.c: In function 'is_swallow_sym': pager.c:41:1: warning: old-style function definition [-Wold-style-definition] 41 | is_swallow_sym(c) | ^~~~~~~~~~~~~~ pager.c: In function 'append_str': pager.c:56:1: warning: old-style function definition [-Wold-style-definition] 56 | append_str(buf, new_str) | ^~~~~~~~~~ pager.c: In function 'self_lookat': pager.c:84:1: warning: old-style function definition [-Wold-style-definition] 84 | self_lookat(outbuf) | ^~~~~~~~~~~ pager.c: In function 'mhidden_description': pager.c:107:1: warning: old-style function definition [-Wold-style-definition] 107 | mhidden_description(mon, altmon, outbuf) | ^~~~~~~~~~~~~~~~~~~ pager.c: In function 'object_from_map': pager.c:166:1: warning: old-style function definition [-Wold-style-definition] 166 | object_from_map(glyph, x, y, obj_p) | ^~~~~~~~~~~~~~~ pager.c: In function 'look_at_object': pager.c:242:1: warning: old-style function definition [-Wold-style-definition] 242 | look_at_object(buf, x, y, glyph) | ^~~~~~~~~~~~~~ pager.c: In function 'look_at_monster': pager.c:277:1: warning: old-style function definition [-Wold-style-definition] 277 | look_at_monster(buf, monbuf, mtmp, x, y) | ^~~~~~~~~~~~~~~ pager.c: In function 'lookat': pager.c:402:1: warning: old-style function definition [-Wold-style-definition] 402 | lookat(x, y, buf, monbuf) | ^~~~~~ pager.c: In function 'checkfile': pager.c:554:1: warning: old-style function definition [-Wold-style-definition] 554 | checkfile(inp, pm, user_typed_name, without_asking, supplemental_name) | ^~~~~~~~~ pager.c: In function 'do_screen_description': pager.c:818:1: warning: old-style function definition [-Wold-style-definition] 818 | do_screen_description(cc, looked, sym, out_str, firstmatch, for_supplement) | ^~~~~~~~~~~~~~~~~~~~~ pager.c: In function 'do_look': pager.c:1144:1: warning: old-style function definition [-Wold-style-definition] 1144 | do_look(mode, click_cc) | ^~~~~~~ pager.c: In function 'look_all': pager.c:1362:1: warning: old-style function definition [-Wold-style-definition] 1362 | look_all(nearby, do_mons) | ^~~~~~~~ pager.c: In function 'do_supplemental_info': pager.c:1472:1: warning: old-style function definition [-Wold-style-definition] 1472 | do_supplemental_info(name, pm, without_asking) | ^~~~~~~~~~~~~~~~~~~~ pager.c: In function 'dowhatdoes_core': pager.c:1793:1: warning: old-style function definition [-Wold-style-definition] 1793 | dowhatdoes_core(q, cbuf) | ^~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o pickup.o pickup.c In file included from ../include/hack.h:10, from pickup.c:10: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition pickup.c: In function 'simple_look': pickup.c:73:1: warning: old-style function definition [-Wold-style-definition] 73 | simple_look(otmp, here) | ^~~~~~~~~~~ pickup.c: In function 'collect_obj_classes': pickup.c:99:1: warning: old-style function definition [-Wold-style-definition] 99 | collect_obj_classes(ilets, otmp, here, filter, itemcount) | ^~~~~~~~~~~~~~~~~~~ pickup.c: In function 'query_classes': pickup.c:135:1: warning: old-style function definition [-Wold-style-definition] 135 | query_classes(oclasses, one_at_a_time, everything, action, objs, here, | ^~~~~~~~~~~~~ pickup.c: In function 'fatal_corpse_mistake': pickup.c:258:1: warning: old-style function definition [-Wold-style-definition] 258 | fatal_corpse_mistake(obj, remotely) | ^~~~~~~~~~~~~~~~~~~~ pickup.c: In function 'rider_corpse_revival': pickup.c:279:1: warning: old-style function definition [-Wold-style-definition] 279 | rider_corpse_revival(obj, remotely) | ^~~~~~~~~~~~~~~~~~~~ pickup.c: In function 'check_here': pickup.c:295:1: warning: old-style function definition [-Wold-style-definition] 295 | check_here(picked_some) | ^~~~~~~~~~ pickup.c: In function 'n_or_more': pickup.c:323:1: warning: old-style function definition [-Wold-style-definition] 323 | n_or_more(obj) | ^~~~~~~~~ pickup.c: In function 'menu_class_present': pickup.c:338:1: warning: old-style function definition [-Wold-style-definition] 338 | menu_class_present(c) | ^~~~~~~~~~~~~~~~~~ pickup.c: In function 'add_valid_menu_class': pickup.c:345:1: warning: old-style function definition [-Wold-style-definition] 345 | add_valid_menu_class(c) | ^~~~~~~~~~~~~~~~~~~~ pickup.c: In function 'all_but_uchain': pickup.c:376:1: warning: old-style function definition [-Wold-style-definition] 376 | all_but_uchain(obj) | ^~~~~~~~~~~~~~ pickup.c: In function 'allow_all': pickup.c:385:1: warning: old-style function definition [-Wold-style-definition] 385 | allow_all(obj) | ^~~~~~~~~ pickup.c: In function 'allow_category': pickup.c:392:1: warning: old-style function definition [-Wold-style-definition] 392 | allow_category(obj) | ^~~~~~~~~~~~~~ pickup.c: In function 'is_worn_by_type': pickup.c:469:1: warning: old-style function definition [-Wold-style-definition] 469 | is_worn_by_type(otmp) | ^~~~~~~~~~~~~~~ pickup.c: In function 'pickup': pickup.c:488:1: warning: old-style function definition [-Wold-style-definition] 488 | pickup(what) | ^~~~~~ pickup.c: In function 'check_autopickup_exceptions': pickup.c:715:1: warning: old-style function definition [-Wold-style-definition] 715 | check_autopickup_exceptions(obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pickup.c: In function 'autopick_testobj': pickup.c:733:1: warning: old-style function definition [-Wold-style-definition] 733 | autopick_testobj(otmp, calc_costly) | ^~~~~~~~~~~~~~~~ pickup.c: In function 'autopick': pickup.c:773:1: warning: old-style function definition [-Wold-style-definition] 773 | autopick(olist, follow, pick_list) | ^~~~~~~~ pickup.c: In function 'query_objlist': pickup.c:823:1: warning: old-style function definition [-Wold-style-definition] 823 | query_objlist(qstr, olist_p, qflags, pick_list, how, allow) | ^~~~~~~~~~~~~ pickup.c: In function 'query_category': pickup.c:1009:1: warning: old-style function definition [-Wold-style-definition] 1009 | query_category(qstr, olist, qflags, pick_list, how) | ^~~~~~~~~~~~~~ pickup.c: In function 'count_categories': pickup.c:1194:1: warning: old-style function definition [-Wold-style-definition] 1194 | count_categories(olist, qflags) | ^~~~~~~~~~~~~~~~ pickup.c: In function 'delta_cwt': pickup.c:1229:1: warning: old-style function definition [-Wold-style-definition] 1229 | delta_cwt(container, obj) | ^~~~~~~~~ pickup.c: In function 'carry_count': pickup.c:1256:1: warning: old-style function definition [-Wold-style-definition] 1256 | carry_count(obj, container, count, telekinesis, wt_before, wt_after) | ^~~~~~~~~~~ pickup.c: In function 'lift_object': pickup.c:1392:1: warning: old-style function definition [-Wold-style-definition] 1392 | lift_object(obj, container, cnt_p, telekinesis) | ^~~~~~~~~~~ pickup.c: In function 'pickup_object': pickup.c:1487:1: warning: old-style function definition [-Wold-style-definition] 1487 | pickup_object(obj, count, telekinesis) | ^~~~~~~~~~~~~ pickup.c: In function 'pick_obj': pickup.c:1561:1: warning: old-style function definition [-Wold-style-definition] 1561 | pick_obj(otmp) | ^~~~~~~~ pickup.c: In function 'container_at': pickup.c:1656:1: warning: old-style function definition [-Wold-style-definition] 1656 | container_at(x, y, countem) | ^~~~~~~~~~~~ pickup.c: In function 'able_to_loot': pickup.c:1675:1: warning: old-style function definition [-Wold-style-definition] 1675 | able_to_loot(x, y, looting) | ^~~~~~~~~~~~ pickup.c: In function 'mon_beside': pickup.c:1705:1: warning: old-style function definition [-Wold-style-definition] 1705 | mon_beside(x, y) | ^~~~~~~~~~ pickup.c: In function 'do_loot_cont': pickup.c:1721:1: warning: old-style function definition [-Wold-style-definition] 1721 | do_loot_cont(cobjp, cindex, ccount) | ^~~~~~~~~~~~ pickup.c: In function 'loot_mon': pickup.c:2017:1: warning: old-style function definition [-Wold-style-definition] 2017 | loot_mon(mtmp, passed_info, prev_loot) | ^~~~~~~~ pickup.c: In function 'mbag_explodes': pickup.c:2081:1: warning: old-style function definition [-Wold-style-definition] 2081 | mbag_explodes(obj, depthin) | ^~~~~~~~~~~~~ pickup.c: In function 'boh_loss': pickup.c:2105:1: warning: old-style function definition [-Wold-style-definition] 2105 | boh_loss(container, held) | ^~~~~~~~ pickup.c: In function 'in_container': pickup.c:2128:1: warning: old-style function definition [-Wold-style-definition] 2128 | in_container(obj) | ^~~~~~~~~~~~ pickup.c: In function 'ck_bag': pickup.c:2286:1: warning: old-style function definition [-Wold-style-definition] 2286 | ck_bag(obj) | ^~~~~~ pickup.c: In function 'out_container': pickup.c:2294:1: warning: old-style function definition [-Wold-style-definition] 2294 | out_container(obj) | ^~~~~~~~~~~~~ pickup.c: In function 'removed_from_icebox': pickup.c:2354:1: warning: old-style function definition [-Wold-style-definition] 2354 | removed_from_icebox(obj) | ^~~~~~~~~~~~~~~~~~~ pickup.c: In function 'mbag_item_gone': pickup.c:2366:1: warning: old-style function definition [-Wold-style-definition] 2366 | mbag_item_gone(held, item) | ^~~~~~~~~~~~~~ pickup.c: In function 'observe_quantum_cat': pickup.c:2389:1: warning: old-style function definition [-Wold-style-definition] 2389 | observe_quantum_cat(box, makecat, givemsg) | ^~~~~~~~~~~~~~~~~~~ pickup.c: In function 'container_gone': pickup.c:2454:1: warning: old-style function definition [-Wold-style-definition] 2454 | container_gone(fn) | ^~~~~~~~~~~~~~ pickup.c: In function 'explain_container_prompt': pickup.c:2463:1: warning: old-style function definition [-Wold-style-definition] 2463 | explain_container_prompt(more_containers) | ^~~~~~~~~~~~~~~~~~~~~~~~ pickup.c: In function 'use_container': pickup.c:2511:1: warning: old-style function definition [-Wold-style-definition] 2511 | use_container(objp, held, more_containers) | ^~~~~~~~~~~~~ pickup.c: In function 'traditional_loot': pickup.c:2756:1: warning: old-style function definition [-Wold-style-definition] 2756 | traditional_loot(put_in) | ^~~~~~~~~~~~~~~~ pickup.c: In function 'menu_loot': pickup.c:2791:1: warning: old-style function definition [-Wold-style-definition] 2791 | menu_loot(retry, put_in) | ^~~~~~~~~ pickup.c: In function 'in_or_out_menu': pickup.c:2883:1: warning: old-style function definition [-Wold-style-definition] 2883 | in_or_out_menu(prompt, obj, outokay, inokay, alreadyused, more_containers) | ^~~~~~~~~~~~~~ pickup.c: In function 'tipcontainer': pickup.c:3114:1: warning: old-style function definition [-Wold-style-definition] 3114 | tipcontainer(box) | ^~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o pline.o pline.c In file included from ../include/hack.h:10, from pline.c:7: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition pline.c: In function 'dumplogmsg': pline.c:29:1: warning: old-style function definition [-Wold-style-definition] 29 | dumplogmsg(line) | ^~~~~~~~~~ pline.c: In function 'putmesg': pline.c:71:1: warning: old-style function definition [-Wold-style-definition] 71 | putmesg(line) | ^~~~~~~ pline.c: In function 'You_buf': pline.c:268:1: warning: old-style function definition [-Wold-style-definition] 268 | You_buf(siz) | ^~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o polyself.o polyself.c In file included from ../include/hack.h:10, from polyself.c:22: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition polyself.c: In function 'check_strangling': polyself.c:134:1: warning: old-style function definition [-Wold-style-definition] 134 | check_strangling(on) | ^~~~~~~~~~~~~~~~ polyself.c: In function 'polyman': polyself.c:163:1: warning: old-style function definition [-Wold-style-definition] 163 | polyman(fmt, arg) | ^~~~~~~ polyself.c: In function 'polyself': polyself.c:389:1: warning: old-style function definition [-Wold-style-definition] 389 | polyself(psflags) | ^~~~~~~~ polyself.c: In function 'polymon': polyself.c:594:1: warning: old-style function definition [-Wold-style-definition] 594 | polymon(mntmp) | ^~~~~~~ polyself.c: In function 'dropp': polyself.c:864:1: warning: old-style function definition [-Wold-style-definition] 864 | dropp(obj) | ^~~~~ polyself.c: In function 'drop_weapon': polyself.c:1004:1: warning: old-style function definition [-Wold-style-definition] 1004 | drop_weapon(alone) | ^~~~~~~~~~~ polyself.c: In function 'skinback': polyself.c:1589:1: warning: old-style function definition [-Wold-style-definition] 1589 | skinback(silently) | ^~~~~~~~ polyself.c: In function 'mbodypart': polyself.c:1603:1: warning: old-style function definition [-Wold-style-definition] 1603 | mbodypart(mon, part) | ^~~~~~~~~ polyself.c: In function 'body_part': polyself.c:1761:1: warning: old-style function definition [-Wold-style-definition] 1761 | body_part(part) | ^~~~~~~~~ polyself.c: In function 'ugolemeffects': polyself.c:1779:1: warning: old-style function definition [-Wold-style-definition] 1779 | ugolemeffects(damtype, dam) | ^~~~~~~~~~~~~ polyself.c: In function 'armor_to_dragon': polyself.c:1811:1: warning: old-style function definition [-Wold-style-definition] 1811 | armor_to_dragon(atyp) | ^~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o potion.o potion.c In file included from ../include/hack.h:10, from potion.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition potion.c: In function 'itimeout': potion.c:22:1: warning: old-style function definition [-Wold-style-definition] 22 | itimeout(val) | ^~~~~~~~ potion.c: In function 'itimeout_incr': potion.c:35:1: warning: old-style function definition [-Wold-style-definition] 35 | itimeout_incr(old, incr) | ^~~~~~~~~~~~~ potion.c: In function 'set_itimeout': potion.c:44:1: warning: old-style function definition [-Wold-style-definition] 44 | set_itimeout(which, val) | ^~~~~~~~~~~~ potion.c: In function 'incr_itimeout': potion.c:53:1: warning: old-style function definition [-Wold-style-definition] 53 | incr_itimeout(which, incr) | ^~~~~~~~~~~~~ potion.c: In function 'make_confused': potion.c:61:1: warning: old-style function definition [-Wold-style-definition] 61 | make_confused(xtime, talk) | ^~~~~~~~~~~~~ potion.c: In function 'make_stunned': potion.c:81:1: warning: old-style function definition [-Wold-style-definition] 81 | make_stunned(xtime, talk) | ^~~~~~~~~~~~ potion.c: In function 'make_sick': potion.c:113:1: warning: old-style function definition [-Wold-style-definition] 113 | make_sick(xtime, cause, talk, type) | ^~~~~~~~~ potion.c: In function 'make_slimed': potion.c:172:1: warning: old-style function definition [-Wold-style-definition] 172 | make_slimed(xtime, msg) | ^~~~~~~~~~~ potion.c: In function 'make_stoned': potion.c:201:1: warning: old-style function definition [-Wold-style-definition] 201 | make_stoned(xtime, msg, killedby, killername) | ^~~~~~~~~~~ potion.c: In function 'make_vomiting': potion.c:226:1: warning: old-style function definition [-Wold-style-definition] 226 | make_vomiting(xtime, talk) | ^~~~~~~~~~~~~ potion.c: In function 'make_blinded': potion.c:246:1: warning: old-style function definition [-Wold-style-definition] 246 | make_blinded(xtime, talk) | ^~~~~~~~~~~~ potion.c: In function 'make_hallucinated': potion.c:354:1: warning: old-style function definition [-Wold-style-definition] 354 | make_hallucinated(xtime, talk, mask) | ^~~~~~~~~~~~~~~~~ potion.c: In function 'make_deaf': potion.c:426:1: warning: old-style function definition [-Wold-style-definition] 426 | make_deaf(xtime, talk) | ^~~~~~~~~ potion.c: In function 'make_glib': potion.c:445:1: warning: old-style function definition [-Wold-style-definition] 445 | make_glib(xtime) | ^~~~~~~~~ potion.c: In function 'dopotion': potion.c:563:1: warning: old-style function definition [-Wold-style-definition] 563 | dopotion(otmp) | ^~~~~~~~ potion.c: In function 'peffects': potion.c:590:1: warning: old-style function definition [-Wold-style-definition] 590 | peffects(otmp) | ^~~~~~~~ potion.c: In function 'healup': potion.c:1162:1: warning: old-style function definition [-Wold-style-definition] 1162 | healup(nhp, nxtra, curesick, cureblind) | ^~~~~~ potion.c: In function 'strange_feeling': potion.c:1194:1: warning: old-style function definition [-Wold-style-definition] 1194 | strange_feeling(obj, txt) | ^~~~~~~~~~~~~~~ potion.c: In function 'H2Opotion_dip': potion.c:1225:1: warning: old-style function definition [-Wold-style-definition] 1225 | H2Opotion_dip(potion, targobj, useeit, objphrase) | ^~~~~~~~~~~~~ potion.c: In function 'potionhit': potion.c:1313:1: warning: old-style function definition [-Wold-style-definition] 1313 | potionhit(mon, obj, how) | ^~~~~~~~~ potion.c: In function 'potionbreathe': potion.c:1613:1: warning: old-style function definition [-Wold-style-definition] 1613 | potionbreathe(obj) | ^~~~~~~~~~~~~ potion.c: In function 'mixtype': potion.c:1789:1: warning: old-style function definition [-Wold-style-definition] 1789 | mixtype(o1, o2) | ^~~~~~~ potion.c: In function 'mongrantswish': potion.c:2301:1: warning: old-style function definition [-Wold-style-definition] 2301 | mongrantswish(monp) | ^~~~~~~~~~~~~ potion.c: In function 'djinni_from_bottle': potion.c:2321:1: warning: old-style function definition [-Wold-style-definition] 2321 | djinni_from_bottle(obj) | ^~~~~~~~~~~~~~~~~~ potion.c: In function 'split_mon': potion.c:2379:1: warning: old-style function definition [-Wold-style-definition] 2379 | split_mon(mon, mtmp) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o pray.o pray.c In file included from ../include/hack.h:10, from pray.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition pray.c: In function 'critically_low_hp': pray.c:102:1: warning: old-style function definition [-Wold-style-definition] 102 | critically_low_hp(only_if_injured) | ^~~~~~~~~~~~~~~~~ pray.c: In function 'fix_worst_trouble': pray.c:334:1: warning: old-style function definition [-Wold-style-definition] 334 | fix_worst_trouble(trouble) | ^~~~~~~~~~~~~~~~~ pray.c: In function 'god_zaps_you': pray.c:582:1: warning: old-style function definition [-Wold-style-definition] 582 | god_zaps_you(resp_god) | ^~~~~~~~~~~~ pray.c: In function 'fry_by_god': pray.c:658:1: warning: old-style function definition [-Wold-style-definition] 658 | fry_by_god(resp_god, via_disintegration) | ^~~~~~~~~~ pray.c: In function 'angrygods': pray.c:670:1: warning: old-style function definition [-Wold-style-definition] 670 | angrygods(resp_god) | ^~~~~~~~~ pray.c: In function 'at_your_feet': pray.c:747:1: warning: old-style function definition [-Wold-style-definition] 747 | at_your_feet(str) | ^~~~~~~~~~~~ pray.c: In function 'pleased': pray.c:923:1: warning: old-style function definition [-Wold-style-definition] 923 | pleased(g_align) | ^~~~~~~ pray.c: In function 'water_prayer': pray.c:1234:1: warning: old-style function definition [-Wold-style-definition] 1234 | water_prayer(bless_water) | ^~~~~~~~~~~~ pray.c: In function 'godvoice': pray.c:1263:1: warning: old-style function definition [-Wold-style-definition] 1263 | godvoice(g_align, words) | ^~~~~~~~ pray.c: In function 'gods_angry': pray.c:1279:1: warning: old-style function definition [-Wold-style-definition] 1279 | gods_angry(g_align) | ^~~~~~~~~~ pray.c: In function 'gods_upset': pray.c:1287:1: warning: old-style function definition [-Wold-style-definition] 1287 | gods_upset(g_align) | ^~~~~~~~~~ pray.c: In function 'consume_offering': pray.c:1298:1: warning: old-style function definition [-Wold-style-definition] 1298 | consume_offering(otmp) | ^~~~~~~~~~~~~~~~ pray.c: In function 'can_pray': pray.c:1794:1: warning: old-style function definition [-Wold-style-definition] 1794 | can_pray(praying) | ^~~~~~~~ pray.c: In function 'a_gname_at': pray.c:2091:1: warning: old-style function definition [-Wold-style-definition] 2091 | a_gname_at(x, y) | ^~~~~~~~~~ pray.c: In function 'align_gname': pray.c:2108:1: warning: old-style function definition [-Wold-style-definition] 2108 | align_gname(alignment) | ^~~~~~~~~~~ pray.c: In function 'halu_gname': pray.c:2156:1: warning: old-style function definition [-Wold-style-definition] 2156 | halu_gname(alignment) | ^~~~~~~~~~ pray.c: In function 'align_gtitle': pray.c:2208:1: warning: old-style function definition [-Wold-style-definition] 2208 | align_gtitle(alignment) | ^~~~~~~~~~~~ pray.c: In function 'altar_wrath': pray.c:2233:1: warning: old-style function definition [-Wold-style-definition] 2233 | altar_wrath(x, y) | ^~~~~~~~~~~ pray.c: In function 'blocked_boulder': pray.c:2258:1: warning: old-style function definition [-Wold-style-definition] 2258 | blocked_boulder(dx, dy) | ^~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o priest.o priest.c In file included from ../include/hack.h:10, from priest.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition priest.c: In function 'newepri': priest.c:16:1: warning: old-style function definition [-Wold-style-definition] 16 | newepri(mtmp) | ^~~~~~~ priest.c: In function 'free_epri': priest.c:28:1: warning: old-style function definition [-Wold-style-definition] 28 | free_epri(mtmp) | ^~~~~~~~~ priest.c: In function 'move_special': priest.c:43:1: warning: old-style function definition [-Wold-style-definition] 43 | move_special(mtmp, in_his_shop, appr, uondoor, avoid, omx, omy, gx, gy) | ^~~~~~~~~~~~ priest.c: In function 'temple_occupied': priest.c:143:1: warning: old-style function definition [-Wold-style-definition] 143 | temple_occupied(array) | ^~~~~~~~~~~~~~~ priest.c: In function 'histemple_at': priest.c:155:1: warning: old-style function definition [-Wold-style-definition] 155 | histemple_at(priest, x, y) | ^~~~~~~~~~~~ priest.c: In function 'inhistemple': priest.c:165:1: warning: old-style function definition [-Wold-style-definition] 165 | inhistemple(priest) | ^~~~~~~~~~~ priest.c: In function 'pri_move': priest.c:182:1: warning: old-style function definition [-Wold-style-definition] 182 | pri_move(priest) | ^~~~~~~~ priest.c: In function 'priestini': priest.c:226:1: warning: old-style function definition [-Wold-style-definition] 226 | priestini(lvl, sroom, sx, sy, sanctum) | ^~~~~~~~~ priest.c: In function 'mon_aligntyp': priest.c:275:1: warning: old-style function definition [-Wold-style-definition] 275 | mon_aligntyp(mon) | ^~~~~~~~~~~~ priest.c: In function 'priestname': priest.c:298:1: warning: old-style function definition [-Wold-style-definition] 298 | priestname(mon, pname) | ^~~~~~~~~~ priest.c: In function 'p_coaligned': priest.c:348:1: warning: old-style function definition [-Wold-style-definition] 348 | p_coaligned(priest) | ^~~~~~~~~~~ priest.c: In function 'has_shrine': priest.c:355:1: warning: old-style function definition [-Wold-style-definition] 355 | has_shrine(pri) | ^~~~~~~~~~ priest.c: In function 'findpriest': priest.c:372:1: warning: old-style function definition [-Wold-style-definition] 372 | findpriest(roomno) | ^~~~~~~~~~ priest.c: In function 'intemple': priest.c:389:1: warning: old-style function definition [-Wold-style-definition] 389 | intemple(roomno) | ^~~~~~~~ priest.c: In function 'forget_temple_entry': priest.c:521:1: warning: old-style function definition [-Wold-style-definition] 521 | forget_temple_entry(priest) | ^~~~~~~~~~~~~~~~~~~ priest.c: In function 'priest_talk': priest.c:535:1: warning: old-style function definition [-Wold-style-definition] 535 | priest_talk(priest) | ^~~~~~~~~~~ priest.c: In function 'mk_roamer': priest.c:647:1: warning: old-style function definition [-Wold-style-definition] 647 | mk_roamer(ptr, alignment, x, y, peaceful) | ^~~~~~~~~ priest.c: In function 'reset_hostility': priest.c:681:1: warning: old-style function definition [-Wold-style-definition] 681 | reset_hostility(roamer) | ^~~~~~~~~~~~~~~ priest.c: In function 'in_your_sanctuary': priest.c:698:1: warning: old-style function definition [-Wold-style-definition] 698 | in_your_sanctuary(mon, x, y) | ^~~~~~~~~~~~~~~~~ priest.c: In function 'ghod_hitsu': priest.c:723:1: warning: old-style function definition [-Wold-style-definition] 723 | ghod_hitsu(priest) | ^~~~~~~~~~ priest.c: In function 'restpriest': priest.c:851:1: warning: old-style function definition [-Wold-style-definition] 851 | restpriest(mtmp, ghostly) | ^~~~~~~~~~ priest.c: In function 'align_str': priest.c:875:1: warning: old-style function definition [-Wold-style-definition] 875 | align_str(alignment) | ^~~~~~~~~ priest.c: In function 'piousness': priest.c:893:1: warning: old-style function definition [-Wold-style-definition] 893 | piousness(showneg, suffix) | ^~~~~~~~~ priest.c: In function 'mstatusline': priest.c:935:1: warning: old-style function definition [-Wold-style-definition] 935 | mstatusline(mtmp) | ^~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o quest.o quest.c In file included from ../include/hack.h:10, from quest.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition quest.c: In function 'artitouch': quest.c:117:1: warning: old-style function definition [-Wold-style-definition] 117 | artitouch(obj) | ^~~~~~~~~ quest.c: In function 'is_pure': quest.c:146:1: warning: old-style function definition [-Wold-style-definition] 146 | is_pure(talk) | ^~~~~~~ quest.c: In function 'expulsion': quest.c:180:1: warning: old-style function definition [-Wold-style-definition] 180 | expulsion(seal) | ^~~~~~~~~ quest.c: In function 'finish_quest': quest.c:218:1: warning: old-style function definition [-Wold-style-definition] 218 | finish_quest(obj) | ^~~~~~~~~~~~ quest.c: In function 'leader_speaks': quest.c:319:1: warning: old-style function definition [-Wold-style-definition] 319 | leader_speaks(mtmp) | ^~~~~~~~~~~~~ quest.c: In function 'prisoner_speaks': quest.c:381:1: warning: old-style function definition [-Wold-style-definition] 381 | prisoner_speaks(mtmp) | ^~~~~~~~~~~~~~~ quest.c: In function 'quest_chat': quest.c:403:1: warning: old-style function definition [-Wold-style-definition] 403 | quest_chat(mtmp) | ^~~~~~~~~~ quest.c: In function 'quest_talk': quest.c:423:1: warning: old-style function definition [-Wold-style-definition] 423 | quest_talk(mtmp) | ^~~~~~~~~~ quest.c: In function 'quest_stat_check': quest.c:443:1: warning: old-style function definition [-Wold-style-definition] 443 | quest_stat_check(mtmp) | ^~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o questpgr.o questpgr.c In file included from ../include/hack.h:10, from questpgr.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition questpgr.c: In function 'Fread': questpgr.c:64:1: warning: old-style function definition [-Wold-style-definition] 64 | Fread(ptr, size, nitems, stream) | ^~~~~ questpgr.c: In function 'construct_qtlist': questpgr.c:78:1: warning: old-style function definition [-Wold-style-definition] 78 | construct_qtlist(hdr_offset) | ^~~~~~~~~~~~~~~~ questpgr.c: In function 'quest_info': questpgr.c:157:1: warning: old-style function definition [-Wold-style-definition] 157 | quest_info(typ) | ^~~~~~~~~~ questpgr.c: In function 'is_quest_artifact': questpgr.c:194:1: warning: old-style function definition [-Wold-style-definition] 194 | is_quest_artifact(otmp) | ^~~~~~~~~~~~~~~~~ questpgr.c: In function 'find_qarti': questpgr.c:201:1: warning: old-style function definition [-Wold-style-definition] 201 | find_qarti(ochain) | ^~~~~~~~~~ questpgr.c: In function 'find_quest_artifact': questpgr.c:218:1: warning: old-style function definition [-Wold-style-definition] 218 | find_quest_artifact(whichchains) | ^~~~~~~~~~~~~~~~~~~ questpgr.c: In function 'qtext_pronoun': questpgr.c:280:1: warning: old-style function definition [-Wold-style-definition] 280 | qtext_pronoun(who, which) | ^~~~~~~~~~~~~ questpgr.c: In function 'msg_in': questpgr.c:317:1: warning: old-style function definition [-Wold-style-definition] 317 | msg_in(qtm_list, msgnum) | ^~~~~~ questpgr.c: In function 'convert_arg': questpgr.c:331:1: warning: old-style function definition [-Wold-style-definition] 331 | convert_arg(c) | ^~~~~~~~~~~ questpgr.c: In function 'convert_line': questpgr.c:423:1: warning: old-style function definition [-Wold-style-definition] 423 | convert_line(in_line, out_line) | ^~~~~~~~~~~~ questpgr.c: In function 'deliver_by_pline': questpgr.c:517:1: warning: old-style function definition [-Wold-style-definition] 517 | deliver_by_pline(qt_msg) | ^~~~~~~~~~~~~~~~ questpgr.c: In function 'deliver_by_window': questpgr.c:532:1: warning: old-style function definition [-Wold-style-definition] 532 | deliver_by_window(qt_msg, how) | ^~~~~~~~~~~~~~~~~ questpgr.c: In function 'skip_pager': questpgr.c:582:1: warning: old-style function definition [-Wold-style-definition] 582 | skip_pager(common) | ^~~~~~~~~~ questpgr.c: In function 'com_pager': questpgr.c:599:1: warning: old-style function definition [-Wold-style-definition] 599 | com_pager(msgnum) | ^~~~~~~~~ questpgr.c: In function 'qt_pager': questpgr.c:623:1: warning: old-style function definition [-Wold-style-definition] 623 | qt_pager(msgnum) | ^~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o read.o read.c In file included from ../include/hack.h:10, from read.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition read.c: In function 'learnscrolltyp': read.c:41:1: warning: old-style function definition [-Wold-style-definition] 41 | learnscrolltyp(scrolltyp) | ^~~~~~~~~~~~~~ read.c: In function 'learnscroll': read.c:54:1: warning: old-style function definition [-Wold-style-definition] 54 | learnscroll(sobj) | ^~~~~~~~~~~ read.c: In function 'erode_obj_text': read.c:64:1: warning: old-style function definition [-Wold-style-definition] 64 | erode_obj_text(otmp, buf) | ^~~~~~~~~~~~~~ read.c: In function 'tshirt_text': read.c:77:1: warning: old-style function definition [-Wold-style-definition] 77 | tshirt_text(tshirt, buf) | ^~~~~~~~~~~ read.c: In function 'apron_text': read.c:166:1: warning: old-style function definition [-Wold-style-definition] 166 | apron_text(apron, buf) | ^~~~~~~~~~ read.c: In function 'stripspe': read.c:412:1: warning: old-style function definition [-Wold-style-definition] 412 | stripspe(obj) | ^~~~~~~~ read.c: In function 'p_glow1': read.c:428:1: warning: old-style function definition [-Wold-style-definition] 428 | p_glow1(otmp) | ^~~~~~~ read.c: In function 'p_glow2': read.c:435:1: warning: old-style function definition [-Wold-style-definition] 435 | p_glow2(otmp, color) | ^~~~~~~ read.c: In function 'is_chargeable': read.c:446:1: warning: old-style function definition [-Wold-style-definition] 446 | is_chargeable(obj) | ^~~~~~~~~~~~~ read.c: In function 'recharge': read.c:467:1: warning: old-style function definition [-Wold-style-definition] 467 | recharge(obj, curse_bless) | ^~~~~~~~ read.c: In function 'forget_single_object': read.c:718:1: warning: old-style function definition [-Wold-style-definition] 718 | forget_single_object(obj_id) | ^~~~~~~~~~~~~~~~~~~~ read.c: In function 'randomize': read.c:748:1: warning: old-style function definition [-Wold-style-definition] 748 | randomize(indices, count) | ^~~~~~~~~ read.c: In function 'forget_objects': read.c:765:1: warning: old-style function definition [-Wold-style-definition] 765 | forget_objects(percent) | ^~~~~~~~~~~~~~ read.c: In function 'forget_map': read.c:796:1: warning: old-style function definition [-Wold-style-definition] 796 | forget_map(howmuch) | ^~~~~~~~~~ read.c: In function 'forget_levels': read.c:835:1: warning: old-style function definition [-Wold-style-definition] 835 | forget_levels(percent) | ^~~~~~~~~~~~~ read.c: In function 'forget': read.c:896:1: warning: old-style function definition [-Wold-style-definition] 896 | forget(howmuch) | ^~~~~~ read.c: In function 'maybe_tame': read.c:930:1: warning: old-style function definition [-Wold-style-definition] 930 | maybe_tame(mtmp, sobj) | ^~~~~~~~~~ read.c: In function 'get_valid_stinking_cloud_pos': read.c:953:1: warning: old-style function definition [-Wold-style-definition] 953 | get_valid_stinking_cloud_pos(x,y) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c: In function 'is_valid_stinking_cloud_pos': read.c:962:1: warning: old-style function definition [-Wold-style-definition] 962 | is_valid_stinking_cloud_pos(x, y, showmsg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c: In function 'display_stinking_cloud_positions': read.c:975:1: warning: old-style function definition [-Wold-style-definition] 975 | display_stinking_cloud_positions(state) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c: In function 'seffects': read.c:999:1: warning: old-style function definition [-Wold-style-definition] 999 | seffects(sobj) | ^~~~~~~~ read.c: In function 'drop_boulder_on_player': read.c:1730:1: warning: old-style function definition [-Wold-style-definition] 1730 | drop_boulder_on_player(confused, helmet_protects, byu, skip_uswallow) | ^~~~~~~~~~~~~~~~~~~~~~ read.c: In function 'drop_boulder_on_monster': read.c:1774:1: warning: old-style function definition [-Wold-style-definition] 1774 | drop_boulder_on_monster(x, y, confused, byu) | ^~~~~~~~~~~~~~~~~~~~~~~ read.c: In function 'wand_explode': read.c:1849:1: warning: old-style function definition [-Wold-style-definition] 1849 | wand_explode(obj, chg) | ^~~~~~~~~~~~ read.c: In function 'set_lit': read.c:1908:1: warning: old-style function definition [-Wold-style-definition] 1908 | set_lit(x, y, val) | ^~~~~~~ read.c: In function 'litroom': read.c:1930:1: warning: old-style function definition [-Wold-style-definition] 1930 | litroom(on, obj) | ^~~~~~~ read.c: In function 'do_genocide': read.c:2183:1: warning: old-style function definition [-Wold-style-definition] 2183 | do_genocide(how) | ^~~~~~~~~~~ read.c: In function 'punish': read.c:2345:1: warning: old-style function definition [-Wold-style-definition] 2345 | punish(sobj) | ^~~~~~ read.c: In function 'cant_revive': read.c:2409:1: warning: old-style function definition [-Wold-style-definition] 2409 | cant_revive(mtype, revival, from_obj) | ^~~~~~~~~~~ read.c: In function 'create_particular_parse': read.c:2443:1: warning: old-style function definition [-Wold-style-definition] 2443 | create_particular_parse(str, d) | ^~~~~~~~~~~~~~~~~~~~~~~ read.c: In function 'create_particular_creation': read.c:2523:1: warning: old-style function definition [-Wold-style-definition] 2523 | create_particular_creation(d) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o rect.o rect.c In file included from ../include/hack.h:10, from rect.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition rect.c: In function 'get_rect_ind': rect.c:43:1: warning: old-style function definition [-Wold-style-definition] 43 | get_rect_ind(r) | ^~~~~~~~~~~~ rect.c: In function 'get_rect': rect.c:66:1: warning: old-style function definition [-Wold-style-definition] 66 | get_rect(r) | ^~~~~~~~ rect.c: In function 'intersect': rect.c:101:1: warning: old-style function definition [-Wold-style-definition] 101 | intersect(r1, r2, r3) | ^~~~~~~~~ rect.c: In function 'remove_rect': rect.c:123:1: warning: old-style function definition [-Wold-style-definition] 123 | remove_rect(r) | ^~~~~~~~~~~ rect.c: In function 'add_rect': rect.c:138:1: warning: old-style function definition [-Wold-style-definition] 138 | add_rect(r) | ^~~~~~~~ rect.c: In function 'split_rects': rect.c:161:1: warning: old-style function definition [-Wold-style-definition] 161 | split_rects(r1, r2) | ^~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o region.o region.c In file included from ../include/hack.h:10, from region.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition region.c: In function 'inside_rect': region.c:57:1: warning: old-style function definition [-Wold-style-definition] 57 | inside_rect(r, x, y) | ^~~~~~~~~~~ region.c: In function 'inside_region': region.c:68:1: warning: old-style function definition [-Wold-style-definition] 68 | inside_region(reg, x, y) | ^~~~~~~~~~~~~ region.c: In function 'create_region': region.c:86:1: warning: old-style function definition [-Wold-style-definition] 86 | create_region(rects, nrect) | ^~~~~~~~~~~~~ region.c: In function 'add_rect_to_reg': region.c:142:1: warning: old-style function definition [-Wold-style-definition] 142 | add_rect_to_reg(reg, rect) | ^~~~~~~~~~~~~~~ region.c: In function 'add_mon_to_reg': region.c:172:1: warning: old-style function definition [-Wold-style-definition] 172 | add_mon_to_reg(reg, mon) | ^~~~~~~~~~~~~~ region.c: In function 'remove_mon_from_reg': region.c:197:1: warning: old-style function definition [-Wold-style-definition] 197 | remove_mon_from_reg(reg, mon) | ^~~~~~~~~~~~~~~~~~~ region.c: In function 'mon_in_region': region.c:217:1: warning: old-style function definition [-Wold-style-definition] 217 | mon_in_region(reg, mon) | ^~~~~~~~~~~~~ region.c: In function 'free_region': region.c:270:1: warning: old-style function definition [-Wold-style-definition] 270 | free_region(reg) | ^~~~~~~~~~~ region.c: In function 'add_region': region.c:291:1: warning: old-style function definition [-Wold-style-definition] 291 | add_region(reg) | ^~~~~~~~~~ region.c: In function 'remove_region': region.c:332:1: warning: old-style function definition [-Wold-style-definition] 332 | remove_region(reg) | ^~~~~~~~~~~~~ region.c: In function 'in_out_region': region.c:430:1: warning: old-style function definition [-Wold-style-definition] 430 | in_out_region(x, y) | ^~~~~~~~~~~~~ region.c: In function 'm_in_out_region': region.c:484:1: warning: old-style function definition [-Wold-style-definition] 484 | m_in_out_region(mon, x, y) | ^~~~~~~~~~~~~~~ region.c: In function 'update_monster_region': region.c:550:1: warning: old-style function definition [-Wold-style-definition] 550 | update_monster_region(mon) | ^~~~~~~~~~~~~~~~~~~~~ region.c: In function 'visible_region_at': region.c:608:1: warning: old-style function definition [-Wold-style-definition] 608 | visible_region_at(x, y) | ^~~~~~~~~~~~~~~~~ region.c: In function 'show_region': region.c:623:1: warning: old-style function definition [-Wold-style-definition] 623 | show_region(reg, x, y) | ^~~~~~~~~~~ region.c: In function 'save_regions': region.c:634:1: warning: old-style function definition [-Wold-style-definition] 634 | save_regions(fd, mode) | ^~~~~~~~~~~~ region.c: In function 'rest_regions': region.c:690:1: warning: old-style function definition [-Wold-style-definition] 690 | rest_regions(fd, ghostly) | ^~~~~~~~~~~~ region.c: In function 'region_stats': region.c:782:1: warning: old-style function definition [-Wold-style-definition] 782 | region_stats(hdrfmt, hdrbuf, count, size) | ^~~~~~~~~~~~ region.c: In function 'reset_region_mids': region.c:808:1: warning: old-style function definition [-Wold-style-definition] 808 | reset_region_mids(reg) | ^~~~~~~~~~~~~~~~~ region.c: In function 'expire_gas_cloud': region.c:934:1: warning: old-style function definition [-Wold-style-definition] 934 | expire_gas_cloud(p1, p2) | ^~~~~~~~~~~~~~~~ region.c: In function 'inside_gas_cloud': region.c:956:1: warning: old-style function definition [-Wold-style-definition] 956 | inside_gas_cloud(p1, p2) | ^~~~~~~~~~~~~~~~ region.c: In function 'create_gas_cloud': region.c:1032:1: warning: old-style function definition [-Wold-style-definition] 1032 | create_gas_cloud(x, y, radius, damage) | ^~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o restore.o restore.c In file included from ../include/hack.h:10, from restore.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition restore.c: In function 'inven_inuse': restore.c:127:1: warning: old-style function definition [-Wold-style-definition] 127 | inven_inuse(quietly) | ^~~~~~~~~~~ restore.c: In function 'restlevchn': restore.c:143:1: warning: old-style function definition [-Wold-style-definition] 143 | restlevchn(fd) | ^~~~~~~~~~ restore.c: In function 'restdamage': restore.c:166:1: warning: old-style function definition [-Wold-style-definition] 166 | restdamage(fd, ghostly) | ^~~~~~~~~~ restore.c: In function 'restobj': restore.c:210:1: warning: old-style function definition [-Wold-style-definition] 210 | restobj(fd, otmp) | ^~~~~~~ restore.c: In function 'restobjchn': restore.c:264:1: warning: old-style function definition [-Wold-style-definition] 264 | restobjchn(fd, ghostly, frozen) | ^~~~~~~~~~ restore.c: In function 'restmon': restore.c:351:1: warning: old-style function definition [-Wold-style-definition] 351 | restmon(fd, mtmp) | ^~~~~~~ restore.c: In function 'restmonchn': restore.c:408:1: warning: old-style function definition [-Wold-style-definition] 408 | restmonchn(fd, ghostly) | ^~~~~~~~~~ restore.c: In function 'loadfruitchn': restore.c:482:1: warning: old-style function definition [-Wold-style-definition] 482 | loadfruitchn(fd) | ^~~~~~~~~~~~ restore.c: In function 'freefruitchn': restore.c:498:1: warning: old-style function definition [-Wold-style-definition] 498 | freefruitchn(flist) | ^~~~~~~~~~~~ restore.c: In function 'ghostfruit': restore.c:511:1: warning: old-style function definition [-Wold-style-definition] 511 | ghostfruit(otmp) | ^~~~~~~~~~ restore.c: In function 'restgamestate': restore.c:534:1: warning: old-style function definition [-Wold-style-definition] 534 | restgamestate(fd, stuckid, steedid) | ^~~~~~~~~~~~~ restore.c: In function 'restlevelstate': restore.c:718:1: warning: old-style function definition [-Wold-style-definition] 718 | restlevelstate(stuckid, steedid) | ^~~~~~~~~~~~~~ restore.c: In function 'restlevelfile': restore.c:744:1: warning: old-style function definition [-Wold-style-definition] 744 | restlevelfile(fd, ltmp) | ^~~~~~~~~~~~~ restore.c: In function 'dorecover': restore.c:801:1: warning: old-style function definition [-Wold-style-definition] 801 | dorecover(fd) | ^~~~~~~~~ restore.c: In function 'restcemetery': restore.c:950:1: warning: old-style function definition [-Wold-style-definition] 950 | restcemetery(fd, cemeteryaddr) | ^~~~~~~~~~~~ restore.c: In function 'rest_levl': restore.c:973:1: warning: old-style function definition [-Wold-style-definition] 973 | rest_levl(fd, rlecomp) | ^~~~~~~~~ restore.c: In function 'trickery': restore.c:1010:1: warning: old-style function definition [-Wold-style-definition] 1010 | trickery(reason) | ^~~~~~~~ restore.c: In function 'getlev': restore.c:1021:1: warning: old-style function definition [-Wold-style-definition] 1021 | getlev(fd, pid, lev, ghostly) | ^~~~~~ restore.c: In function 'get_plname_from_file': restore.c:1209:1: warning: old-style function definition [-Wold-style-definition] 1209 | get_plname_from_file(fd, plbuf) | ^~~~~~~~~~~~~~~~~~~~ restore.c: In function 'restore_msghistory': restore.c:1220:1: warning: old-style function definition [-Wold-style-definition] 1220 | restore_msghistory(fd) | ^~~~~~~~~~~~~~~~~~ restore.c: In function 'add_id_mapping': restore.c:1257:1: warning: old-style function definition [-Wold-style-definition] 1257 | add_id_mapping(gid, nid) | ^~~~~~~~~~~~~~ restore.c: In function 'lookup_id_mapping': restore.c:1282:1: warning: old-style function definition [-Wold-style-definition] 1282 | lookup_id_mapping(gid, nidp) | ^~~~~~~~~~~~~~~~~ restore.c: In function 'reset_oattached_mids': restore.c:1309:1: warning: old-style function definition [-Wold-style-definition] 1309 | reset_oattached_mids(ghostly) | ^~~~~~~~~~~~~~~~~~~~ restore.c: In function 'mread': restore.c:1412:1: warning: old-style function definition [-Wold-style-definition] 1412 | mread(fd, buf, len) | ^~~~~ restore.c: In function 'validate': restore.c:1429:1: warning: old-style function definition [-Wold-style-definition] 1429 | validate(fd, name) | ^~~~~~~~ restore.c: In function 'set_restpref': restore.c:1520:1: warning: old-style function definition [-Wold-style-definition] 1520 | set_restpref(suitename) | ^~~~~~~~~~~~ restore.c: In function 'def_mread': restore.c:1623:1: warning: old-style function definition [-Wold-style-definition] 1623 | def_mread(fd, buf, len) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o rip.o rip.c In file included from ../include/hack.h:10, from rip.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition rip.c: In function 'center': rip.c:75:1: warning: old-style function definition [-Wold-style-definition] 75 | center(line, text) | ^~~~~~ rip.c: In function 'genl_outrip': rip.c:87:1: warning: old-style function definition [-Wold-style-definition] 87 | genl_outrip(tmpwin, how, when) | ^~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o rnd.o rnd.c In file included from ../include/hack.h:10, from rnd.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition rnd.c: In function 'whichrng': rnd.c:28:1: warning: old-style function definition [-Wold-style-definition] 28 | whichrng(fn) | ^~~~~~~~ rnd.c: In function 'init_isaac64': rnd.c:40:1: warning: old-style function definition [-Wold-style-definition] 40 | init_isaac64(seed, fn) | ^~~~~~~~~~~~ rnd.c: In function 'rn2_on_display_rng': rnd.c:69:1: warning: old-style function definition [-Wold-style-definition] 69 | rn2_on_display_rng(x) | ^~~~~~~~~~~~~~~~~~ rnd.c: In function 'rn2': rnd.c:101:1: warning: old-style function definition [-Wold-style-definition] 101 | rn2(x) | ^~~ rnd.c: In function 'rnl': rnd.c:119:1: warning: old-style function definition [-Wold-style-definition] 119 | rnl(x) | ^~~ rnd.c: In function 'rnd': rnd.c:163:1: warning: old-style function definition [-Wold-style-definition] 163 | rnd(x) | ^~~ rnd.c: In function 'd': rnd.c:178:1: warning: old-style function definition [-Wold-style-definition] 178 | d(n, x) | ^ rnd.c: In function 'rne': rnd.c:196:1: warning: old-style function definition [-Wold-style-definition] 196 | rne(x) | ^~~ rnd.c: In function 'rnz': rnd.c:219:1: warning: old-style function definition [-Wold-style-definition] 219 | rnz(i) | ^~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o role.o role.c In file included from ../include/hack.h:10, from role.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition role.c: In function 'validrole': role.c:783:1: warning: old-style function definition [-Wold-style-definition] 783 | validrole(rolenum) | ^~~~~~~~~ role.c: In function 'randrole': role.c:790:1: warning: old-style function definition [-Wold-style-definition] 790 | randrole(for_display) | ^~~~~~~~ role.c: In function 'str2role': role.c:819:1: warning: old-style function definition [-Wold-style-definition] 819 | str2role(str) | ^~~~~~~~ role.c: In function 'validrace': role.c:851:1: warning: old-style function definition [-Wold-style-definition] 851 | validrace(rolenum, racenum) | ^~~~~~~~~ role.c: In function 'randrace': role.c:861:1: warning: old-style function definition [-Wold-style-definition] 861 | randrace(rolenum) | ^~~~~~~~ role.c: In function 'str2race': role.c:888:1: warning: old-style function definition [-Wold-style-definition] 888 | str2race(str) | ^~~~~~~~ role.c: In function 'validgend': role.c:917:1: warning: old-style function definition [-Wold-style-definition] 917 | validgend(rolenum, racenum, gendnum) | ^~~~~~~~~ role.c: In function 'randgend': role.c:927:1: warning: old-style function definition [-Wold-style-definition] 927 | randgend(rolenum, racenum) | ^~~~~~~~ role.c: In function 'str2gend': role.c:955:1: warning: old-style function definition [-Wold-style-definition] 955 | str2gend(str) | ^~~~~~~~ role.c: In function 'validalign': role.c:983:1: warning: old-style function definition [-Wold-style-definition] 983 | validalign(rolenum, racenum, alignnum) | ^~~~~~~~~~ role.c: In function 'randalign': role.c:993:1: warning: old-style function definition [-Wold-style-definition] 993 | randalign(rolenum, racenum) | ^~~~~~~~~ role.c: In function 'str2align': role.c:1021:1: warning: old-style function definition [-Wold-style-definition] 1021 | str2align(str) | ^~~~~~~~~ role.c: In function 'ok_role': role.c:1050:1: warning: old-style function definition [-Wold-style-definition] 1050 | ok_role(rolenum, racenum, gendnum, alignnum) | ^~~~~~~ role.c: In function 'pick_role': role.c:1095:1: warning: old-style function definition [-Wold-style-definition] 1095 | pick_role(racenum, gendnum, alignnum, pickhow) | ^~~~~~~~~ role.c: In function 'ok_race': role.c:1118:1: warning: old-style function definition [-Wold-style-definition] 1118 | ok_race(rolenum, racenum, gendnum, alignnum) | ^~~~~~~ role.c: In function 'pick_race': role.c:1163:1: warning: old-style function definition [-Wold-style-definition] 1163 | pick_race(rolenum, gendnum, alignnum, pickhow) | ^~~~~~~~~ role.c: In function 'ok_gend': role.c:1190:1: warning: old-style function definition [-Wold-style-definition] 1190 | ok_gend(rolenum, racenum, gendnum, alignnum) | ^~~~~~~ role.c: In function 'pick_gend': role.c:1231:1: warning: old-style function definition [-Wold-style-definition] 1231 | pick_gend(rolenum, racenum, alignnum, pickhow) | ^~~~~~~~~ role.c: In function 'ok_align': role.c:1258:1: warning: old-style function definition [-Wold-style-definition] 1258 | ok_align(rolenum, racenum, gendnum, alignnum) | ^~~~~~~~ role.c: In function 'pick_align': role.c:1300:1: warning: old-style function definition [-Wold-style-definition] 1300 | pick_align(rolenum, racenum, gendnum, pickhow) | ^~~~~~~~~~ role.c: In function 'setrolefilter': role.c:1374:1: warning: old-style function definition [-Wold-style-definition] 1374 | setrolefilter(bufp) | ^~~~~~~~~~~~~ role.c: In function 'promptsep': role.c:1425:1: warning: old-style function definition [-Wold-style-definition] 1425 | promptsep(buf, num_post_attribs) | ^~~~~~~~~ role.c: In function 'role_gendercount': role.c:1442:1: warning: old-style function definition [-Wold-style-definition] 1442 | role_gendercount(rolenum) | ^~~~~~~~~~~~~~~~ role.c: In function 'race_alignmentcount': role.c:1459:1: warning: old-style function definition [-Wold-style-definition] 1459 | race_alignmentcount(racenum) | ^~~~~~~~~~~~~~~~~~~ role.c: In function 'root_plselection_prompt': role.c:1476:1: warning: old-style function definition [-Wold-style-definition] 1476 | root_plselection_prompt(suppliedbuf, buflen, rolenum, racenum, gendnum, | ^~~~~~~~~~~~~~~~~~~~~~~ role.c: In function 'build_plselection_prompt': role.c:1627:1: warning: old-style function definition [-Wold-style-definition] 1627 | build_plselection_prompt(buf, buflen, rolenum, racenum, gendnum, alignnum) | ^~~~~~~~~~~~~~~~~~~~~~~~ role.c: In function 'role_selection_prolog': role.c:1762:1: warning: old-style function definition [-Wold-style-definition] 1762 | role_selection_prolog(which, where) | ^~~~~~~~~~~~~~~~~~~~~ role.c: In function 'role_menu_extra': role.c:1850:1: warning: old-style function definition [-Wold-style-definition] 1850 | role_menu_extra(which, where, preselect) | ^~~~~~~~~~~~~~~ role.c: In function 'Hello': role.c:2140:1: warning: old-style function definition [-Wold-style-definition] 2140 | Hello(mtmp) | ^~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o rumors.o rumors.c In file included from ../include/hack.h:10, from rumors.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition rumors.c: In function 'init_rumors': rumors.c:60:1: warning: old-style function definition [-Wold-style-definition] 60 | init_rumors(fp) | ^~~~~~~~~~~ rumors.c: In function 'getrumor': rumors.c:91:1: warning: old-style function definition [-Wold-style-definition] 91 | getrumor(truth, rumor_buf, exclude_cookie) | ^~~~~~~~ rumors.c: In function 'get_rnd_text': rumors.c:283:1: warning: old-style function definition [-Wold-style-definition] 283 | get_rnd_text(fname, buf, rng) | ^~~~~~~~~~~~ rumors.c: In function 'outrumor': rumors.c:330:1: warning: old-style function definition [-Wold-style-definition] 330 | outrumor(truth, mechanism) | ^~~~~~~~ rumors.c: In function 'init_oracles': rumors.c:375:1: warning: old-style function definition [-Wold-style-definition] 375 | init_oracles(fp) | ^~~~~~~~~~~~ rumors.c: In function 'save_oracles': rumors.c:397:1: warning: old-style function definition [-Wold-style-definition] 397 | save_oracles(fd, mode) | ^~~~~~~~~~~~ rumors.c: In function 'restore_oracles': rumors.c:415:1: warning: old-style function definition [-Wold-style-definition] 415 | restore_oracles(fd) | ^~~~~~~~~~~~~~~ rumors.c: In function 'outoracle': rumors.c:427:1: warning: old-style function definition [-Wold-style-definition] 427 | outoracle(special, delphi) | ^~~~~~~~~ rumors.c: In function 'doconsult': rumors.c:485:1: warning: old-style function definition [-Wold-style-definition] 485 | doconsult(oracl) | ^~~~~~~~~ rumors.c: In function 'couldnt_open_file': rumors.c:558:1: warning: old-style function definition [-Wold-style-definition] 558 | couldnt_open_file(filename) | ^~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o save.o save.c In file included from ../include/hack.h:10, from save.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition save.c: In function 'savegamestate': save.c:279:1: warning: old-style function definition [-Wold-style-definition] 279 | savegamestate(fd, mode) | ^~~~~~~~~~~~~ save.c: In function 'tricked_fileremoved': save.c:357:1: warning: old-style function definition [-Wold-style-definition] 357 | tricked_fileremoved(fd, whynot) | ^~~~~~~~~~~~~~~~~~~ save.c: In function 'savelev': save.c:473:1: warning: old-style function definition [-Wold-style-definition] 473 | savelev(fd, lev, mode) | ^~~~~~~ save.c: In function 'savelevl': save.c:581:1: warning: old-style function definition [-Wold-style-definition] 581 | savelevl(fd, rlecomp) | ^~~~~~~~ save.c: In function 'bufon': save.c:637:1: warning: old-style function definition [-Wold-style-definition] 637 | bufon(fd) | ^~~~~ save.c: In function 'bufoff': save.c:646:1: warning: old-style function definition [-Wold-style-definition] 646 | bufoff(fd) | ^~~~~~ save.c: In function 'bflush': save.c:655:1: warning: old-style function definition [-Wold-style-definition] 655 | bflush(fd) | ^~~~~~ save.c: In function 'bwrite': save.c:663:1: warning: old-style function definition [-Wold-style-definition] 663 | bwrite(fd, loc, num) | ^~~~~~ save.c: In function 'bclose': save.c:673:1: warning: old-style function definition [-Wold-style-definition] 673 | bclose(fd) | ^~~~~~ save.c: In function 'def_bufon': save.c:685:1: warning: old-style function definition [-Wold-style-definition] 685 | def_bufon(fd) | ^~~~~~~~~ save.c: In function 'def_bufoff': save.c:701:1: warning: old-style function definition [-Wold-style-definition] 701 | def_bufoff(fd) | ^~~~~~~~~~ save.c: In function 'def_bflush': save.c:709:1: warning: old-style function definition [-Wold-style-definition] 709 | def_bflush(fd) | ^~~~~~~~~~ save.c: In function 'def_bwrite': save.c:722:1: warning: old-style function definition [-Wold-style-definition] 722 | def_bwrite(fd, loc, num) | ^~~~~~~~~~ save.c: In function 'def_bclose': save.c:763:1: warning: old-style function definition [-Wold-style-definition] 763 | def_bclose(fd) | ^~~~~~~~~~ save.c: In function 'savelevchn': save.c:920:1: warning: old-style function definition [-Wold-style-definition] 920 | savelevchn(fd, mode) | ^~~~~~~~~~ save.c: In function 'savecemetery': save.c:944:1: warning: old-style function definition [-Wold-style-definition] 944 | savecemetery(fd, mode, cemeteryaddr) | ^~~~~~~~~~~~ save.c: In function 'savedamage': save.c:968:1: warning: old-style function definition [-Wold-style-definition] 968 | savedamage(fd, mode) | ^~~~~~~~~~ save.c: In function 'saveobj': save.c:993:1: warning: old-style function definition [-Wold-style-definition] 993 | saveobj(fd, otmp) | ^~~~~~~ save.c: In function 'saveobjchn': save.c:1033:1: warning: old-style function definition [-Wold-style-definition] 1033 | saveobjchn(fd, otmp, mode) | ^~~~~~~~~~ save.c: In function 'savemon': save.c:1080:1: warning: old-style function definition [-Wold-style-definition] 1080 | savemon(fd, mtmp) | ^~~~~~~ save.c: In function 'savemonchn': save.c:1123:1: warning: old-style function definition [-Wold-style-definition] 1123 | savemonchn(fd, mtmp, mode) | ^~~~~~~~~~ save.c: In function 'savetrapchn': save.c:1156:1: warning: old-style function definition [-Wold-style-definition] 1156 | savetrapchn(fd, trap, mode) | ^~~~~~~~~~~ save.c: In function 'savefruitchn': save.c:1182:1: warning: old-style function definition [-Wold-style-definition] 1182 | savefruitchn(fd, mode) | ^~~~~~~~~~~~ save.c: In function 'store_plname_in_file': save.c:1204:1: warning: old-style function definition [-Wold-style-definition] 1204 | store_plname_in_file(fd) | ^~~~~~~~~~~~~~~~~~~~ save.c: In function 'save_msghistory': save.c:1218:1: warning: old-style function definition [-Wold-style-definition] 1218 | save_msghistory(fd, mode) | ^~~~~~~~~~~~~~~ save.c: In function 'store_savefileinfo': save.c:1248:1: warning: old-style function definition [-Wold-style-definition] 1248 | store_savefileinfo(fd) | ^~~~~~~~~~~~~~~~~~ save.c: In function 'set_savepref': save.c:1270:1: warning: old-style function definition [-Wold-style-definition] 1270 | set_savepref(suitename) | ^~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o shk.o shk.c In file included from ../include/hack.h:10, from shk.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition shk.c: In function 'money2mon': shk.c:101:1: warning: old-style function definition [-Wold-style-definition] 101 | money2mon(mon, amount) | ^~~~~~~~~ shk.c: In function 'money2u': shk.c:132:1: warning: old-style function definition [-Wold-style-definition] 132 | money2u(mon, amount) | ^~~~~~~ shk.c: In function 'next_shkp': shk.c:162:1: warning: old-style function definition [-Wold-style-definition] 162 | next_shkp(shkp, withbill) | ^~~~~~~~~ shk.c: In function 'shkgone': shk.c:187:1: warning: old-style function definition [-Wold-style-definition] 187 | shkgone(mtmp) | ^~~~~~~ shk.c: In function 'set_residency': shk.c:225:1: warning: old-style function definition [-Wold-style-definition] 225 | set_residency(shkp, zero_out) | ^~~~~~~~~~~~~ shk.c: In function 'replshk': shk.c:235:1: warning: old-style function definition [-Wold-style-definition] 235 | replshk(mtmp, mtmp2) | ^~~~~~~ shk.c: In function 'restshk': shk.c:246:1: warning: old-style function definition [-Wold-style-definition] 246 | restshk(shkp, ghostly) | ^~~~~~~ shk.c: In function 'clear_unpaid_obj': shk.c:267:1: warning: old-style function definition [-Wold-style-definition] 267 | clear_unpaid_obj(shkp, otmp) | ^~~~~~~~~~~~~~~~ shk.c: In function 'clear_unpaid': shk.c:279:1: warning: old-style function definition [-Wold-style-definition] 279 | clear_unpaid(shkp, list) | ^~~~~~~~~~~~ shk.c: In function 'setpaid': shk.c:291:1: warning: old-style function definition [-Wold-style-definition] 291 | setpaid(shkp) | ^~~~~~~ shk.c: In function 'addupbill': shk.c:322:1: warning: old-style function definition [-Wold-style-definition] 322 | addupbill(shkp) | ^~~~~~~~~ shk.c: In function 'call_kops': shk.c:337:1: warning: old-style function definition [-Wold-style-definition] 337 | call_kops(shkp, nearshop) | ^~~~~~~~~ shk.c: In function 'inside_shop': shk.c:391:1: warning: old-style function definition [-Wold-style-definition] 391 | inside_shop(x, y) | ^~~~~~~~~~~ shk.c: In function 'u_left_shop': shk.c:403:1: warning: old-style function definition [-Wold-style-definition] 403 | u_left_shop(leavestring, newlev) | ^~~~~~~~~~~ shk.c: In function 'remote_burglary': shk.c:452:1: warning: old-style function definition [-Wold-style-definition] 452 | remote_burglary(x, y) | ^~~~~~~~~~~~~~~ shk.c: In function 'rob_shop': shk.c:475:1: warning: old-style function definition [-Wold-style-definition] 475 | rob_shop(shkp) | ^~~~~~~~ shk.c: In function 'deserted_shop': shk.c:508:1: warning: old-style function definition [-Wold-style-definition] 508 | deserted_shop(enterstring) | ^~~~~~~~~~~~~ shk.c: In function 'u_entered_shop': shk.c:536:1: warning: old-style function definition [-Wold-style-definition] 536 | u_entered_shop(enterstring) | ^~~~~~~~~~~~~~ shk.c: In function 'pick_pick': shk.c:684:1: warning: old-style function definition [-Wold-style-definition] 684 | pick_pick(obj) | ^~~~~~~~~ shk.c: In function 'same_price': shk.c:717:1: warning: old-style function definition [-Wold-style-definition] 717 | same_price(obj1, obj2) | ^~~~~~~~~~ shk.c: In function 'shop_debt': shk.c:753:1: warning: old-style function definition [-Wold-style-definition] 753 | shop_debt(eshkp) | ^~~~~~~~~ shk.c: In function 'inhishop': shk.c:802:1: warning: old-style function definition [-Wold-style-definition] 802 | inhishop(mtmp) | ^~~~~~~~ shk.c: In function 'shop_keeper': shk.c:812:1: warning: old-style function definition [-Wold-style-definition] 812 | shop_keeper(rmno) | ^~~~~~~~~~~ shk.c: In function 'tended_shop': shk.c:846:1: warning: old-style function definition [-Wold-style-definition] 846 | tended_shop(sroom) | ^~~~~~~~~~~ shk.c: In function 'onbill': shk.c:855:1: warning: old-style function definition [-Wold-style-definition] 855 | onbill(obj, shkp, silent) | ^~~~~~ shk.c: In function 'is_unpaid': shk.c:879:1: warning: old-style function definition [-Wold-style-definition] 879 | is_unpaid(obj) | ^~~~~~~~~ shk.c: In function 'delete_contents': shk.c:888:1: warning: old-style function definition [-Wold-style-definition] 888 | delete_contents(obj) | ^~~~~~~~~~~~~~~ shk.c: In function 'obfree': shk.c:901:1: warning: old-style function definition [-Wold-style-definition] 901 | obfree(obj, merge) | ^~~~~~ shk.c: In function 'check_credit': shk.c:993:1: warning: old-style function definition [-Wold-style-definition] 993 | check_credit(tmp, shkp) | ^~~~~~~~~~~~ shk.c: In function 'pay': shk.c:1014:1: warning: old-style function definition [-Wold-style-definition] 1014 | pay(tmp, shkp) | ^~~ shk.c: In function 'home_shk': shk.c:1036:1: warning: old-style function definition [-Wold-style-definition] 1036 | home_shk(shkp, killkops) | ^~~~~~~~ shk.c: In function 'pacify_shk': shk.c:1065:1: warning: old-style function definition [-Wold-style-definition] 1065 | pacify_shk(shkp) | ^~~~~~~~~~ shk.c: In function 'rile_shk': shk.c:1084:1: warning: old-style function definition [-Wold-style-definition] 1084 | rile_shk(shkp) | ^~~~~~~~ shk.c: In function 'rouse_shk': shk.c:1103:1: warning: old-style function definition [-Wold-style-definition] 1103 | rouse_shk(shkp, verbosely) | ^~~~~~~~~ shk.c: In function 'make_happy_shk': shk.c:1119:1: warning: old-style function definition [-Wold-style-definition] 1119 | make_happy_shk(shkp, silentkops) | ^~~~~~~~~~~~~~ shk.c: In function 'make_happy_shoppers': shk.c:1164:1: warning: old-style function definition [-Wold-style-definition] 1164 | make_happy_shoppers(silentkops) | ^~~~~~~~~~~~~~~~~~~ shk.c: In function 'hot_pursuit': shk.c:1174:1: warning: old-style function definition [-Wold-style-definition] 1174 | hot_pursuit(shkp) | ^~~~~~~~~~~ shk.c: In function 'make_angry_shk': shk.c:1190:1: warning: old-style function definition [-Wold-style-definition] 1190 | make_angry_shk(shkp, ox, oy) | ^~~~~~~~~~~~~~ shk.c: In function 'cheapest_item': shk.c:1217:1: warning: old-style function definition [-Wold-style-definition] 1217 | cheapest_item(shkp) | ^~~~~~~~~~~~~ shk.c: In function 'dopayobj': shk.c:1580:1: warning: old-style function definition [-Wold-style-definition] 1580 | dopayobj(shkp, bp, obj_p, which, itemize) | ^~~~~~~~ shk.c: In function 'paybill': shk.c:1695:1: warning: old-style function definition [-Wold-style-definition] 1695 | paybill(croaked, silently) | ^~~~~~~ shk.c: In function 'inherits': shk.c:1783:1: warning: old-style function definition [-Wold-style-definition] 1783 | inherits(shkp, numsk, croaked, silently) | ^~~~~~~~ shk.c: In function 'set_repo_loc': shk.c:1889:1: warning: old-style function definition [-Wold-style-definition] 1889 | set_repo_loc(shkp) | ^~~~~~~~~~~~ shk.c: In function 'bp_to_obj': shk.c:1943:1: warning: old-style function definition [-Wold-style-definition] 1943 | bp_to_obj(bp) | ^~~~~~~~~ shk.c: In function 'find_oid': shk.c:1962:1: warning: old-style function definition [-Wold-style-definition] 1962 | find_oid(id) | ^~~~~~~~ shk.c: In function 'get_cost_of_shop_item': shk.c:1995:1: warning: old-style function definition [-Wold-style-definition] 1995 | get_cost_of_shop_item(obj, nochrg) | ^~~~~~~~~~~~~~~~~~~~~ shk.c: In function 'get_pricing_units': shk.c:2031:1: warning: old-style function definition [-Wold-style-definition] 2031 | get_pricing_units(obj) | ^~~~~~~~~~~~~~~~~ shk.c: In function 'oid_price_adjustment': shk.c:2050:1: warning: old-style function definition [-Wold-style-definition] 2050 | oid_price_adjustment(obj, oid) | ^~~~~~~~~~~~~~~~~~~~ shk.c: In function 'get_cost': shk.c:2065:1: warning: old-style function definition [-Wold-style-definition] 2065 | get_cost(obj, shkp) | ^~~~~~~~ shk.c: In function 'contained_cost': shk.c:2176:1: warning: old-style function definition [-Wold-style-definition] 2176 | contained_cost(obj, shkp, price, usell, unpaid_only) | ^~~~~~~~~~~~~~ shk.c: In function 'contained_gold': shk.c:2227:1: warning: old-style function definition [-Wold-style-definition] 2227 | contained_gold(obj) | ^~~~~~~~~~~~~~ shk.c: In function 'dropped_container': shk.c:2244:1: warning: old-style function definition [-Wold-style-definition] 2244 | dropped_container(obj, shkp, sale) | ^~~~~~~~~~~~~~~~~ shk.c: In function 'picked_container': shk.c:2265:1: warning: old-style function definition [-Wold-style-definition] 2265 | picked_container(obj) | ^~~~~~~~~~~~~~~~ shk.c: In function 'special_stock': shk.c:2284:1: warning: old-style function definition [-Wold-style-definition] 2284 | special_stock(obj, shkp, quietly) | ^~~~~~~~~~~~~ shk.c: In function 'set_cost': shk.c:2324:1: warning: old-style function definition [-Wold-style-definition] 2324 | set_cost(obj, shkp) | ^~~~~~~~ shk.c: In function 'gem_learned': shk.c:2375:1: warning: old-style function definition [-Wold-style-definition] 2375 | gem_learned(oindx) | ^~~~~~~~~~~ shk.c: In function 'alter_cost': shk.c:2415:1: warning: old-style function definition [-Wold-style-definition] 2415 | alter_cost(obj, amt) | ^~~~~~~~~~ shk.c: In function 'unpaid_cost': shk.c:2438:1: warning: old-style function definition [-Wold-style-definition] 2438 | unpaid_cost(unp_obj, include_contents) | ^~~~~~~~~~~ shk.c: In function 'add_one_tobill': shk.c:2472:1: warning: old-style function definition [-Wold-style-definition] 2472 | add_one_tobill(obj, dummy, shkp) | ^~~~~~~~~~~~~~ shk.c: In function 'add_to_billobjs': shk.c:2514:1: warning: old-style function definition [-Wold-style-definition] 2514 | add_to_billobjs(obj) | ^~~~~~~~~~~~~~~ shk.c: In function 'bill_box_content': shk.c:2529:1: warning: old-style function definition [-Wold-style-definition] 2529 | bill_box_content(obj, ininv, dummy, shkp) | ^~~~~~~~~~~~~~~~ shk.c: In function 'shk_names_obj': shk.c:2552:1: warning: old-style function definition [-Wold-style-definition] 2552 | shk_names_obj(shkp, obj, fmt, amt, arg) | ^~~~~~~~~~~~~ shk.c: In function 'billable': shk.c:2588:1: warning: old-style function definition [-Wold-style-definition] 2588 | billable(shkpp, obj, roomno, reset_nocharge) | ^~~~~~~~ shk.c: In function 'addtobill': shk.c:2626:1: warning: old-style function definition [-Wold-style-definition] 2626 | addtobill(obj, ininv, dummy, silent) | ^~~~~~~~~ shk.c: In function 'append_honorific': shk.c:2729:1: warning: old-style function definition [-Wold-style-definition] 2729 | append_honorific(buf) | ^~~~~~~~~~~~~~~~ shk.c: In function 'splitbill': shk.c:2750:1: warning: old-style function definition [-Wold-style-definition] 2750 | splitbill(obj, otmp) | ^~~~~~~~~ shk.c: In function 'sub_one_frombill': shk.c:2789:1: warning: old-style function definition [-Wold-style-definition] 2789 | sub_one_frombill(obj, shkp) | ^~~~~~~~~~~~~~~~ shk.c: In function 'subfrombill': shk.c:2831:1: warning: old-style function definition [-Wold-style-definition] 2831 | subfrombill(obj, shkp) | ^~~~~~~~~~~ shk.c: In function 'stolen_container': shk.c:2852:1: warning: old-style function definition [-Wold-style-definition] 2852 | stolen_container(obj, shkp, price, ininv) | ^~~~~~~~~~~~~~~~ shk.c: In function 'stolen_value': shk.c:2892:1: warning: old-style function definition [-Wold-style-definition] 2892 | stolen_value(obj, x, y, peaceful, silent) | ^~~~~~~~~~~~ shk.c: In function 'sellobj_state': shk.c:3010:1: warning: old-style function definition [-Wold-style-definition] 3010 | sellobj_state(deliberate) | ^~~~~~~~~~~~~ shk.c: In function 'sellobj': shk.c:3025:1: warning: old-style function definition [-Wold-style-definition] 3025 | sellobj(obj, x, y) | ^~~~~~~ shk.c: In function 'doinvbill': shk.c:3310:1: warning: old-style function definition [-Wold-style-definition] 3310 | doinvbill(mode) | ^~~~~~~~~ shk.c: In function 'getprice': shk.c:3390:1: warning: old-style function definition [-Wold-style-definition] 3390 | getprice(obj, shk_buying) | ^~~~~~~~ shk.c: In function 'shkcatch': shk.c:3433:1: warning: old-style function definition [-Wold-style-definition] 3433 | shkcatch(obj, x, y) | ^~~~~~~~ shk.c: In function 'add_damage': shk.c:3466:1: warning: old-style function definition [-Wold-style-definition] 3466 | add_damage(x, y, cost) | ^~~~~~~~~~ shk.c: In function 'remove_damage': shk.c:3514:1: warning: old-style function definition [-Wold-style-definition] 3514 | remove_damage(shkp, croaked) | ^~~~~~~~~~~~~ shk.c: In function 'repair_damage': shk.c:3652:1: warning: old-style function definition [-Wold-style-definition] 3652 | repair_damage(shkp, tmp_dam, once, catchup) | ^~~~~~~~~~~~~ shk.c: In function 'shk_move': shk.c:3821:1: warning: old-style function definition [-Wold-style-definition] 3821 | shk_move(shkp) | ^~~~~~~~ shk.c: In function 'after_shk_move': shk.c:3935:1: warning: old-style function definition [-Wold-style-definition] 3935 | after_shk_move(shkp) | ^~~~~~~~~~~~~~ shk.c: In function 'is_fshk': shk.c:3949:1: warning: old-style function definition [-Wold-style-definition] 3949 | is_fshk(mtmp) | ^~~~~~~ shk.c: In function 'shopdig': shk.c:3957:1: warning: old-style function definition [-Wold-style-definition] 3957 | shopdig(fall) | ^~~~~~~ shk.c: In function 'makekops': shk.c:4052:1: warning: old-style function definition [-Wold-style-definition] 4052 | makekops(mm) | ^~~~~~~~ shk.c: In function 'pay_for_damage': shk.c:4078:1: warning: old-style function definition [-Wold-style-definition] 4078 | pay_for_damage(dmgstr, cant_mollify) | ^~~~~~~~~~~~~~ shk.c: In function 'costly_spot': shk.c:4260:1: warning: old-style function definition [-Wold-style-definition] 4260 | costly_spot(x, y) | ^~~~~~~~~~~ shk.c: In function 'shop_object': shk.c:4279:1: warning: old-style function definition [-Wold-style-definition] 4279 | shop_object(x, y) | ^~~~~~~~~~~ shk.c: In function 'price_quote': shk.c:4300:1: warning: old-style function definition [-Wold-style-definition] 4300 | price_quote(first_obj) | ^~~~~~~~~~~ shk.c: In function 'shk_embellish': shk.c:4355:1: warning: old-style function definition [-Wold-style-definition] 4355 | shk_embellish(itm, cost) | ^~~~~~~~~~~~~ shk.c: In function 'shk_chat': shk.c:4408:1: warning: old-style function definition [-Wold-style-definition] 4408 | shk_chat(shkp) | ^~~~~~~~ shk.c: In function 'kops_gone': shk.c:4484:1: warning: old-style function definition [-Wold-style-definition] 4484 | kops_gone(silent) | ^~~~~~~~~ shk.c: In function 'cost_per_charge': shk.c:4504:1: warning: old-style function definition [-Wold-style-definition] 4504 | cost_per_charge(shkp, otmp, altusage) | ^~~~~~~~~~~~~~~ shk.c: In function 'check_unpaid_usage': shk.c:4563:1: warning: old-style function definition [-Wold-style-definition] 4563 | check_unpaid_usage(otmp, altusage) | ^~~~~~~~~~~~~~~~~~ shk.c: In function 'check_unpaid': shk.c:4612:1: warning: old-style function definition [-Wold-style-definition] 4612 | check_unpaid(otmp) | ^~~~~~~~~~~~ shk.c: In function 'costly_gold': shk.c:4619:1: warning: old-style function definition [-Wold-style-definition] 4619 | costly_gold(x, y, amount) | ^~~~~~~~~~~ shk.c: In function 'block_door': shk.c:4656:1: warning: old-style function definition [-Wold-style-definition] 4656 | block_door(x, y) | ^~~~~~~~~~ shk.c: In function 'block_entry': shk.c:4691:1: warning: old-style function definition [-Wold-style-definition] 4691 | block_entry(x, y) | ^~~~~~~~~~~ shk.c: In function 'shk_your': shk.c:4727:1: warning: old-style function definition [-Wold-style-definition] 4727 | shk_your(buf, obj) | ^~~~~~~~ shk.c: In function 'Shk_Your': shk.c:4737:1: warning: old-style function definition [-Wold-style-definition] 4737 | Shk_Your(buf, obj) | ^~~~~~~~ shk.c: In function 'shk_owns': shk.c:4747:1: warning: old-style function definition [-Wold-style-definition] 4747 | shk_owns(buf, obj) | ^~~~~~~~ shk.c: In function 'mon_owns': shk.c:4764:1: warning: old-style function definition [-Wold-style-definition] 4764 | mon_owns(buf, obj) | ^~~~~~~~ shk.c: In function 'cad': shk.c:4774:1: warning: old-style function definition [-Wold-style-definition] 4774 | cad(altusage) | ^~~ shk.c: In function 'globby_bill_fixup': shk.c:4842:1: warning: old-style function definition [-Wold-style-definition] 4842 | globby_bill_fixup(obj_absorber, obj_absorbed) | ^~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o shknam.o shknam.c In file included from ../include/hack.h:10, from shknam.c:8: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition shknam.c: In function 'veggy_item': shknam.c:373:1: warning: old-style function definition [-Wold-style-definition] 373 | veggy_item(obj, otyp) | ^~~~~~~~~~ shknam.c: In function 'mkveggy_at': shknam.c:439:1: warning: old-style function definition [-Wold-style-definition] 439 | mkveggy_at(sx, sy) | ^~~~~~~~~~ shknam.c: In function 'mkshobj_at': shknam.c:451:1: warning: old-style function definition [-Wold-style-definition] 451 | mkshobj_at(shp, sx, sy, mkspecl) | ^~~~~~~~~~ shknam.c: In function 'nameshk': shknam.c:491:1: warning: old-style function definition [-Wold-style-definition] 491 | nameshk(shk, nlp) | ^~~~~~~ shknam.c: In function 'neweshk': shknam.c:565:1: warning: old-style function definition [-Wold-style-definition] 565 | neweshk(mtmp) | ^~~~~~~ shknam.c: In function 'free_eshk': shknam.c:577:1: warning: old-style function definition [-Wold-style-definition] 577 | free_eshk(mtmp) | ^~~~~~~~~ shknam.c: In function 'shkinit': shknam.c:589:1: warning: old-style function definition [-Wold-style-definition] 589 | shkinit(shp, sroom) | ^~~~~~~ shknam.c: In function 'stock_room_goodpos': shknam.c:683:1: warning: old-style function definition [-Wold-style-definition] 683 | stock_room_goodpos(sroom, rmno, sh, sx, sy) | ^~~~~~~~~~~~~~~~~~ shknam.c: In function 'stock_room': shknam.c:702:1: warning: old-style function definition [-Wold-style-definition] 702 | stock_room(shp_indx, sroom) | ^~~~~~~~~~ shknam.c: In function 'saleable': shknam.c:782:1: warning: old-style function definition [-Wold-style-definition] 782 | saleable(shkp, obj) | ^~~~~~~~ shknam.c: In function 'get_shop_item': shknam.c:807:1: warning: old-style function definition [-Wold-style-definition] 807 | get_shop_item(type) | ^~~~~~~~~~~~~ shknam.c: In function 'Shknam': shknam.c:822:1: warning: old-style function definition [-Wold-style-definition] 822 | Shknam(mtmp) | ^~~~~~ shknam.c: In function 'shkname': shknam.c:836:1: warning: old-style function definition [-Wold-style-definition] 836 | shkname(mtmp) | ^~~~~~~ shknam.c: In function 'shkname_is_pname': shknam.c:881:1: warning: old-style function definition [-Wold-style-definition] 881 | shkname_is_pname(mtmp) | ^~~~~~~~~~~~~~~~ shknam.c: In function 'is_izchak': shknam.c:890:1: warning: old-style function definition [-Wold-style-definition] 890 | is_izchak(shkp, override_hallucination) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o sit.o sit.c In file included from ../include/hack.h:10, from sit.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o sounds.o sounds.c In file included from ../include/hack.h:10, from sounds.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition sounds.c: In function 'mon_in_room': sounds.c:14:1: warning: old-style function definition [-Wold-style-definition] 14 | mon_in_room(mon, rmtyp) | ^~~~~~~~~~~ sounds.c: In function 'growl_sound': sounds.c:310:1: warning: old-style function definition [-Wold-style-definition] 310 | growl_sound(mtmp) | ^~~~~~~~~~~ sounds.c: In function 'growl': sounds.c:353:1: warning: old-style function definition [-Wold-style-definition] 353 | growl(mtmp) | ^~~~~ sounds.c: In function 'yelp': sounds.c:376:1: warning: old-style function definition [-Wold-style-definition] 376 | yelp(mtmp) | ^~~~ sounds.c: In function 'whimper': sounds.c:419:1: warning: old-style function definition [-Wold-style-definition] 419 | whimper(mtmp) | ^~~~~~~ sounds.c: In function 'beg': sounds.c:453:1: warning: old-style function definition [-Wold-style-definition] 453 | beg(mtmp) | ^~~ sounds.c: In function 'mon_is_gecko': sounds.c:472:1: warning: old-style function definition [-Wold-style-definition] 472 | mon_is_gecko(mon) | ^~~~~~~~~~~~ sounds.c: In function 'domonnoise': sounds.c:491:1: warning: old-style function definition [-Wold-style-definition] 491 | domonnoise(mtmp) | ^~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o sp_lev.o sp_lev.c In file included from ../include/hack.h:10, from sp_lev.c:12: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition sp_lev.c: In function 'splev_stack_init': sp_lev.c:227:1: warning: old-style function definition [-Wold-style-definition] 227 | splev_stack_init(st) | ^~~~~~~~~~~~~~~~ sp_lev.c: In function 'splev_stack_done': sp_lev.c:239:1: warning: old-style function definition [-Wold-style-definition] 239 | splev_stack_done(st) | ^~~~~~~~~~~~~~~~ sp_lev.c: In function 'splev_stack_push': sp_lev.c:276:1: warning: old-style function definition [-Wold-style-definition] 276 | splev_stack_push(st, v) | ^~~~~~~~~~~~~~~~ sp_lev.c: In function 'splev_stack_pop': sp_lev.c:301:1: warning: old-style function definition [-Wold-style-definition] 301 | splev_stack_pop(st) | ^~~~~~~~~~~~~~~ sp_lev.c: In function 'splev_stack_reverse': sp_lev.c:322:1: warning: old-style function definition [-Wold-style-definition] 322 | splev_stack_reverse(st) | ^~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'opvar_new_str': sp_lev.c:352:1: warning: old-style function definition [-Wold-style-definition] 352 | opvar_new_str(s) | ^~~~~~~~~~~~~ sp_lev.c: In function 'opvar_new_int': sp_lev.c:370:1: warning: old-style function definition [-Wold-style-definition] 370 | opvar_new_int(i) | ^~~~~~~~~~~~~ sp_lev.c: In function 'opvar_new_coord': sp_lev.c:381:1: warning: old-style function definition [-Wold-style-definition] 381 | opvar_new_coord(x, y) | ^~~~~~~~~~~~~~~ sp_lev.c: In function 'opvar_free_x': sp_lev.c:405:1: warning: old-style function definition [-Wold-style-definition] 405 | opvar_free_x(ov) | ^~~~~~~~~~~~ sp_lev.c: In function 'opvar_clone': sp_lev.c:448:1: warning: old-style function definition [-Wold-style-definition] 448 | opvar_clone(ov) | ^~~~~~~~~~~ sp_lev.c: In function 'opvar_var_conversion': sp_lev.c:478:1: warning: old-style function definition [-Wold-style-definition] 478 | opvar_var_conversion(coder, ov) | ^~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'opvar_var_defined': sp_lev.c:516:1: warning: old-style function definition [-Wold-style-definition] 516 | opvar_var_defined(coder, name) | ^~~~~~~~~~~~~~~~~ sp_lev.c: In function 'splev_stack_getdat': sp_lev.c:534:1: warning: old-style function definition [-Wold-style-definition] 534 | splev_stack_getdat(coder, typ) | ^~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'splev_stack_getdat_any': sp_lev.c:558:1: warning: old-style function definition [-Wold-style-definition] 558 | splev_stack_getdat_any(coder) | ^~~~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'variable_list_del': sp_lev.c:575:1: warning: old-style function definition [-Wold-style-definition] 575 | variable_list_del(varlist) | ^~~~~~~~~~~~~~~~~ sp_lev.c: In function 'lvlfill_maze_grid': sp_lev.c:602:1: warning: old-style function definition [-Wold-style-definition] 602 | lvlfill_maze_grid(x1, y1, x2, y2, filling) | ^~~~~~~~~~~~~~~~~ sp_lev.c: In function 'lvlfill_solid': sp_lev.c:619:1: warning: old-style function definition [-Wold-style-definition] 619 | lvlfill_solid(filling, lit) | ^~~~~~~~~~~~~ sp_lev.c: In function 'set_wall_property': sp_lev.c:635:1: warning: old-style function definition [-Wold-style-definition] 635 | set_wall_property(x1, y1, x2, y2, prop) | ^~~~~~~~~~~~~~~~~ sp_lev.c: In function 'set_door_orientation': sp_lev.c:721:1: warning: old-style function definition [-Wold-style-definition] 721 | set_door_orientation(x, y) | ^~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'maybe_add_door': sp_lev.c:768:1: warning: old-style function definition [-Wold-style-definition] 768 | maybe_add_door(x, y, droom) | ^~~~~~~~~~~~~~ sp_lev.c: In function 'get_location': sp_lev.c:868:1: warning: old-style function definition [-Wold-style-definition] 868 | get_location(x, y, humidity, croom) | ^~~~~~~~~~~~ sp_lev.c: In function 'is_ok_location': sp_lev.c:938:1: warning: old-style function definition [-Wold-style-definition] 938 | is_ok_location(x, y, humidity) | ^~~~~~~~~~~~~~ sp_lev.c: In function 'get_unpacked_coord': sp_lev.c:970:1: warning: old-style function definition [-Wold-style-definition] 970 | get_unpacked_coord(loc, defhumidity) | ^~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'get_location_coord': sp_lev.c:992:1: warning: old-style function definition [-Wold-style-definition] 992 | get_location_coord(x, y, humidity, croom, crd) | ^~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'get_room_loc': sp_lev.c:1015:1: warning: old-style function definition [-Wold-style-definition] 1015 | get_room_loc(x, y, croom) | ^~~~~~~~~~~~ sp_lev.c: In function 'get_free_room_loc': sp_lev.c:1042:1: warning: old-style function definition [-Wold-style-definition] 1042 | get_free_room_loc(x, y, croom, pos) | ^~~~~~~~~~~~~~~~~ sp_lev.c: In function 'check_room': sp_lev.c:1064:1: warning: old-style function definition [-Wold-style-definition] 1064 | check_room(lowx, ddx, lowy, ddy, vault) | ^~~~~~~~~~ sp_lev.c: In function 'create_room': sp_lev.c:1127:1: warning: old-style function definition [-Wold-style-definition] 1127 | create_room(x, y, w, h, xal, yal, rtype, rlit) | ^~~~~~~~~~~ sp_lev.c: In function 'create_subroom': sp_lev.c:1299:1: warning: old-style function definition [-Wold-style-definition] 1299 | create_subroom(proom, x, y, w, h, rtype, rlit) | ^~~~~~~~~~~~~~ sp_lev.c: In function 'create_door': sp_lev.c:1346:1: warning: old-style function definition [-Wold-style-definition] 1346 | create_door(dd, broom) | ^~~~~~~~~~~ sp_lev.c: In function 'create_secret_door': sp_lev.c:1452:1: warning: old-style function definition [-Wold-style-definition] 1452 | create_secret_door(croom, walls) | ^~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'create_trap': sp_lev.c:1500:1: warning: old-style function definition [-Wold-style-definition] 1500 | create_trap(t, croom) | ^~~~~~~~~~~ sp_lev.c: In function 'noncoalignment': sp_lev.c:1529:1: warning: old-style function definition [-Wold-style-definition] 1529 | noncoalignment(alignment) | ^~~~~~~~~~~~~~ sp_lev.c: In function 'm_bad_boulder_spot': sp_lev.c:1542:1: warning: old-style function definition [-Wold-style-definition] 1542 | m_bad_boulder_spot(x, y) | ^~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'pm_to_humidity': sp_lev.c:1563:1: warning: old-style function definition [-Wold-style-definition] 1563 | pm_to_humidity(pm) | ^~~~~~~~~~~~~~ sp_lev.c: In function 'create_monster': sp_lev.c:1581:1: warning: old-style function definition [-Wold-style-definition] 1581 | create_monster(m, croom) | ^~~~~~~~~~~~~~ sp_lev.c: In function 'create_object': sp_lev.c:1840:1: warning: old-style function definition [-Wold-style-definition] 1840 | create_object(o, croom) | ^~~~~~~~~~~~~ sp_lev.c: In function 'create_altar': sp_lev.c:2073:1: warning: old-style function definition [-Wold-style-definition] 2073 | create_altar(a, croom) | ^~~~~~~~~~~~ sp_lev.c: In function 'replace_terrain': sp_lev.c:2131:1: warning: old-style function definition [-Wold-style-definition] 2131 | replace_terrain(terr, croom) | ^~~~~~~~~~~~~~~ sp_lev.c: In function 'search_door': sp_lev.c:2159:1: warning: old-style function definition [-Wold-style-definition] 2159 | search_door(croom, x, y, wall, cnt) | ^~~~~~~~~~~ sp_lev.c: In function 'dig_corridor': sp_lev.c:2215:1: warning: old-style function definition [-Wold-style-definition] 2215 | dig_corridor(org, dest, nxcor, ftyp, btyp) | ^~~~~~~~~~~~ sp_lev.c: In function 'create_corridor': sp_lev.c:2374:1: warning: old-style function definition [-Wold-style-definition] 2374 | create_corridor(c) | ^~~~~~~~~~~~~~~ sp_lev.c: In function 'fill_room': sp_lev.c:2429:1: warning: old-style function definition [-Wold-style-definition] 2429 | fill_room(croom, prefilled) | ^~~~~~~~~ sp_lev.c: In function 'build_room': sp_lev.c:2494:1: warning: old-style function definition [-Wold-style-definition] 2494 | build_room(r, mkr) | ^~~~~~~~~~ sp_lev.c: In function 'light_region': sp_lev.c:2528:1: warning: old-style function definition [-Wold-style-definition] 2528 | light_region(tmpregion) | ^~~~~~~~~~~~ sp_lev.c: In function 'wallify_map': sp_lev.c:2556:1: warning: old-style function definition [-Wold-style-definition] 2556 | wallify_map(x1, y1, x2, y2) | ^~~~~~~~~~~ sp_lev.c: In function 'maze1xy': sp_lev.c:2592:1: warning: old-style function definition [-Wold-style-definition] 2592 | maze1xy(m, humidity) | ^~~~~~~ sp_lev.c: In function 'sp_level_loader': sp_lev.c:2674:1: warning: old-style function definition [-Wold-style-definition] 2674 | sp_level_loader(fd, lvl) | ^~~~~~~~~~~~~~~ sp_lev.c: In function 'sp_level_free': sp_lev.c:2746:1: warning: old-style function definition [-Wold-style-definition] 2746 | sp_level_free(lvl) | ^~~~~~~~~~~~~ sp_lev.c: In function 'splev_initlev': sp_lev.c:2769:1: warning: old-style function definition [-Wold-style-definition] 2769 | splev_initlev(linit) | ^~~~~~~~~~~~~ sp_lev.c: In function 'frame_new': sp_lev.c:2801:1: warning: old-style function definition [-Wold-style-definition] 2801 | frame_new(execptr) | ^~~~~~~~~ sp_lev.c: In function 'frame_del': sp_lev.c:2816:1: warning: old-style function definition [-Wold-style-definition] 2816 | frame_del(frame) | ^~~~~~~~~ sp_lev.c: In function 'spo_frame_push': sp_lev.c:2833:1: warning: old-style function definition [-Wold-style-definition] 2833 | spo_frame_push(coder) | ^~~~~~~~~~~~~~ sp_lev.c: In function 'spo_frame_pop': sp_lev.c:2843:1: warning: old-style function definition [-Wold-style-definition] 2843 | spo_frame_pop(coder) | ^~~~~~~~~~~~~ sp_lev.c: In function 'sp_code_jmpaddr': sp_lev.c:2856:1: warning: old-style function definition [-Wold-style-definition] 2856 | sp_code_jmpaddr(curpos, jmpaddr) | ^~~~~~~~~~~~~~~ sp_lev.c: In function 'spo_call': sp_lev.c:2863:1: warning: old-style function definition [-Wold-style-definition] 2863 | spo_call(coder) | ^~~~~~~~ sp_lev.c: In function 'spo_return': sp_lev.c:2893:1: warning: old-style function definition [-Wold-style-definition] 2893 | spo_return(coder) | ^~~~~~~~~~ sp_lev.c: In function 'spo_end_moninvent': sp_lev.c:2924:1: warning: old-style function definition [-Wold-style-definition] 2924 | spo_end_moninvent(coder) | ^~~~~~~~~~~~~~~~~ sp_lev.c: In function 'spo_pop_container': sp_lev.c:2934:1: warning: old-style function definition [-Wold-style-definition] 2934 | spo_pop_container(coder) | ^~~~~~~~~~~~~~~~~ sp_lev.c: In function 'spo_message': sp_lev.c:2944:1: warning: old-style function definition [-Wold-style-definition] 2944 | spo_message(coder) | ^~~~~~~~~~~ sp_lev.c: In function 'spo_monster': sp_lev.c:2975:1: warning: old-style function definition [-Wold-style-definition] 2975 | spo_monster(coder) | ^~~~~~~~~~~ sp_lev.c: In function 'spo_object': sp_lev.c:3119:1: warning: old-style function definition [-Wold-style-definition] 3119 | spo_object(coder) | ^~~~~~~~~~ sp_lev.c: In function 'spo_level_flags': sp_lev.c:3271:1: warning: old-style function definition [-Wold-style-definition] 3271 | spo_level_flags(coder) | ^~~~~~~~~~~~~~~ sp_lev.c: In function 'spo_initlevel': sp_lev.c:3313:1: warning: old-style function definition [-Wold-style-definition] 3313 | spo_initlevel(coder) | ^~~~~~~~~~~~~ sp_lev.c: In function 'spo_engraving': sp_lev.c:3352:1: warning: old-style function definition [-Wold-style-definition] 3352 | spo_engraving(coder) | ^~~~~~~~~~~~~ sp_lev.c: In function 'spo_mineralize': sp_lev.c:3371:1: warning: old-style function definition [-Wold-style-definition] 3371 | spo_mineralize(coder) | ^~~~~~~~~~~~~~ sp_lev.c: In function 'spo_room': sp_lev.c:3391:1: warning: old-style function definition [-Wold-style-definition] 3391 | spo_room(coder) | ^~~~~~~~ sp_lev.c: In function 'spo_endroom': sp_lev.c:3449:1: warning: old-style function definition [-Wold-style-definition] 3449 | spo_endroom(coder) | ^~~~~~~~~~~ sp_lev.c: In function 'spo_stair': sp_lev.c:3473:1: warning: old-style function definition [-Wold-style-definition] 3473 | spo_stair(coder) | ^~~~~~~~~ sp_lev.c: In function 'spo_ladder': sp_lev.c:3495:1: warning: old-style function definition [-Wold-style-definition] 3495 | spo_ladder(coder) | ^~~~~~~~~~ sp_lev.c: In function 'spo_grave': sp_lev.c:3523:1: warning: old-style function definition [-Wold-style-definition] 3523 | spo_grave(coder) | ^~~~~~~~~ sp_lev.c: In function 'spo_altar': sp_lev.c:3556:1: warning: old-style function definition [-Wold-style-definition] 3556 | spo_altar(coder) | ^~~~~~~~~ sp_lev.c: In function 'spo_trap': sp_lev.c:3578:1: warning: old-style function definition [-Wold-style-definition] 3578 | spo_trap(coder) | ^~~~~~~~ sp_lev.c: In function 'spo_gold': sp_lev.c:3598:1: warning: old-style function definition [-Wold-style-definition] 3598 | spo_gold(coder) | ^~~~~~~~ sp_lev.c: In function 'spo_corridor': sp_lev.c:3618:1: warning: old-style function definition [-Wold-style-definition] 3618 | spo_corridor(coder) | ^~~~~~~~~~~~ sp_lev.c: In function 'selection_opvar': sp_lev.c:3647:1: warning: old-style function definition [-Wold-style-definition] 3647 | selection_opvar(nbuf) | ^~~~~~~~~~~~~~~ sp_lev.c: In function 'selection_getpoint': sp_lev.c:3665:1: warning: old-style function definition [-Wold-style-definition] 3665 | selection_getpoint(x, y, ov) | ^~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'selection_setpoint': sp_lev.c:3678:1: warning: old-style function definition [-Wold-style-definition] 3678 | selection_setpoint(x, y, ov, c) | ^~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'selection_not': sp_lev.c:3692:1: warning: old-style function definition [-Wold-style-definition] 3692 | selection_not(s) | ^~~~~~~~~~~~~ sp_lev.c: In function 'selection_logical_oper': sp_lev.c:3711:1: warning: old-style function definition [-Wold-style-definition] 3711 | selection_logical_oper(s1, s2, oper) | ^~~~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'selection_filter_mapchar': sp_lev.c:3743:1: warning: old-style function definition [-Wold-style-definition] 3743 | selection_filter_mapchar(ov, mc) | ^~~~~~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'selection_filter_percent': sp_lev.c:3778:1: warning: old-style function definition [-Wold-style-definition] 3778 | selection_filter_percent(ov, percent) | ^~~~~~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'selection_rndcoord': sp_lev.c:3793:1: warning: old-style function definition [-Wold-style-definition] 3793 | selection_rndcoord(ov, x, y, removeit) | ^~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'selection_do_grow': sp_lev.c:3826:1: warning: old-style function definition [-Wold-style-definition] 3826 | selection_do_grow(ov, dir) | ^~~~~~~~~~~~~~~~~ sp_lev.c: In function 'set_selection_floodfillchk': sp_lev.c:3872:1: warning: old-style function definition [-Wold-style-definition] 3872 | set_selection_floodfillchk(f) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'floodfillchk_match_under': sp_lev.c:3879:1: warning: old-style function definition [-Wold-style-definition] 3879 | floodfillchk_match_under(x,y) | ^~~~~~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'floodfillchk_match_accessible': sp_lev.c:3886:1: warning: old-style function definition [-Wold-style-definition] 3886 | floodfillchk_match_accessible(x, y) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'sel_flood_havepoint': sp_lev.c:3896:1: warning: old-style function definition [-Wold-style-definition] 3896 | sel_flood_havepoint(x, y, xs, ys, n) | ^~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'selection_floodfill': sp_lev.c:3912:1: warning: old-style function definition [-Wold-style-definition] 3912 | selection_floodfill(ov, x, y, diagonals) | ^~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'selection_do_ellipse': sp_lev.c:3974:1: warning: old-style function definition [-Wold-style-definition] 3974 | selection_do_ellipse(ov, xc, yc, a, b, filled) | ^~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'line_dist_coord': sp_lev.c:4058:1: warning: old-style function definition [-Wold-style-definition] 4058 | line_dist_coord(x1, y1, x2, y2, x3, y3) | ^~~~~~~~~~~~~~~ sp_lev.c: In function 'selection_do_gradient': sp_lev.c:4086:1: warning: old-style function definition [-Wold-style-definition] 4086 | selection_do_gradient(ov, x, y, x2, y2, gtyp, mind, maxd, limit) | ^~~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'selection_do_line': sp_lev.c:4137:1: warning: old-style function definition [-Wold-style-definition] 4137 | selection_do_line(x1, y1, x2, y2, ov) | ^~~~~~~~~~~~~~~~~ sp_lev.c: In function 'selection_do_randline': sp_lev.c:4191:1: warning: old-style function definition [-Wold-style-definition] 4191 | selection_do_randline(x1, y1, x2, y2, rough, rec, ov) | ^~~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'selection_iterate': sp_lev.c:4233:1: warning: old-style function definition [-Wold-style-definition] 4233 | selection_iterate(ov, func, arg) | ^~~~~~~~~~~~~~~~~ sp_lev.c: In function 'sel_set_ter': sp_lev.c:4248:1: warning: old-style function definition [-Wold-style-definition] 4248 | sel_set_ter(x, y, arg) | ^~~~~~~~~~~ sp_lev.c: In function 'sel_set_feature': sp_lev.c:4266:1: warning: old-style function definition [-Wold-style-definition] 4266 | sel_set_feature(x, y, arg) | ^~~~~~~~~~~~~~~ sp_lev.c: In function 'sel_set_door': sp_lev.c:4276:1: warning: old-style function definition [-Wold-style-definition] 4276 | sel_set_door(dx, dy, arg) | ^~~~~~~~~~~~ sp_lev.c: In function 'spo_door': sp_lev.c:4296:1: warning: old-style function definition [-Wold-style-definition] 4296 | spo_door(coder) | ^~~~~~~~ sp_lev.c: In function 'spo_feature': sp_lev.c:4315:1: warning: old-style function definition [-Wold-style-definition] 4315 | spo_feature(coder) | ^~~~~~~~~~~ sp_lev.c: In function 'spo_terrain': sp_lev.c:4344:1: warning: old-style function definition [-Wold-style-definition] 4344 | spo_terrain(coder) | ^~~~~~~~~~~ sp_lev.c: In function 'spo_replace_terrain': sp_lev.c:4363:1: warning: old-style function definition [-Wold-style-definition] 4363 | spo_replace_terrain(coder) | ^~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'generate_way_out_method': sp_lev.c:4393:1: warning: old-style function definition [-Wold-style-definition] 4393 | generate_way_out_method(nx,ny, ov) | ^~~~~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'spo_levregion': sp_lev.c:4511:1: warning: old-style function definition [-Wold-style-definition] 4511 | spo_levregion(coder) | ^~~~~~~~~~~~~ sp_lev.c: In function 'spo_region': sp_lev.c:4594:1: warning: old-style function definition [-Wold-style-definition] 4594 | spo_region(coder) | ^~~~~~~~~~ sp_lev.c: In function 'spo_drawbridge': sp_lev.c:4694:1: warning: old-style function definition [-Wold-style-definition] 4694 | spo_drawbridge(coder) | ^~~~~~~~~~~~~~ sp_lev.c: In function 'spo_mazewalk': sp_lev.c:4718:1: warning: old-style function definition [-Wold-style-definition] 4718 | spo_mazewalk(coder) | ^~~~~~~~~~~~ sp_lev.c: In function 'spo_wall_property': sp_lev.c:4797:1: warning: old-style function definition [-Wold-style-definition] 4797 | spo_wall_property(coder) | ^~~~~~~~~~~~~~~~~ sp_lev.c: In function 'spo_room_door': sp_lev.c:4824:1: warning: old-style function definition [-Wold-style-definition] 4824 | spo_room_door(coder) | ^~~~~~~~~~~~~ sp_lev.c: In function 'sel_set_wallify': sp_lev.c:4850:1: warning: old-style function definition [-Wold-style-definition] 4850 | sel_set_wallify(x, y, arg) | ^~~~~~~~~~~~~~~ sp_lev.c: In function 'spo_wallify': sp_lev.c:4858:1: warning: old-style function definition [-Wold-style-definition] 4858 | spo_wallify(coder) | ^~~~~~~~~~~ sp_lev.c: In function 'spo_map': sp_lev.c:4892:1: warning: old-style function definition [-Wold-style-definition] 4892 | spo_map(coder) | ^~~~~~~ sp_lev.c: In function 'spo_jmp': sp_lev.c:5049:1: warning: old-style function definition [-Wold-style-definition] 5049 | spo_jmp(coder, lvl) | ^~~~~~~ sp_lev.c: In function 'spo_conditional_jump': sp_lev.c:5066:1: warning: old-style function definition [-Wold-style-definition] 5066 | spo_conditional_jump(coder, lvl) | ^~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'spo_var_init': sp_lev.c:5114:1: warning: old-style function definition [-Wold-style-definition] 5114 | spo_var_init(coder) | ^~~~~~~~~~~~ sp_lev.c: In function 'spo_shuffle_array': sp_lev.c:5263:1: warning: old-style function definition [-Wold-style-definition] 5263 | spo_shuffle_array(coder) | ^~~~~~~~~~~~~~~~~ sp_lev.c: In function 'sp_level_coder': sp_lev.c:5295:1: warning: old-style function definition [-Wold-style-definition] 5295 | sp_level_coder(lvl) | ^~~~~~~~~~~~~~ sp_lev.c: In function 'load_special': sp_lev.c:6026:1: warning: old-style function definition [-Wold-style-definition] 6026 | load_special(name) | ^~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o spell.o spell.c In file included from ../include/hack.h:10, from spell.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition spell.c: In function 'spell_let_to_idx': spell.c:105:1: warning: old-style function definition [-Wold-style-definition] 105 | spell_let_to_idx(ilet) | ^~~~~~~~~~~~~~~~ spell.c: In function 'cursed_book': spell.c:121:1: warning: old-style function definition [-Wold-style-definition] 121 | cursed_book(bp) | ^~~~~~~~~~~ spell.c: In function 'confused_book': spell.c:181:1: warning: old-style function definition [-Wold-style-definition] 181 | confused_book(spellbook) | ^~~~~~~~~~~~~ spell.c: In function 'deadbook': spell.c:206:1: warning: old-style function definition [-Wold-style-definition] 206 | deadbook(book2) | ^~~~~~~~ spell.c: In function 'book_cursed': spell.c:331:1: warning: old-style function definition [-Wold-style-definition] 331 | book_cursed(book) | ^~~~~~~~~~~ spell.c: In function 'study_book': spell.c:438:1: warning: old-style function definition [-Wold-style-definition] 438 | study_book(spellbook) | ^~~~~~~~~~ spell.c: In function 'book_disappears': spell.c:598:1: warning: old-style function definition [-Wold-style-definition] 598 | book_disappears(obj) | ^~~~~~~~~~~~~~~ spell.c: In function 'book_substitution': spell.c:611:1: warning: old-style function definition [-Wold-style-definition] 611 | book_substitution(old_obj, new_obj) | ^~~~~~~~~~~~~~~~~ spell.c: In function 'getspell': spell.c:669:1: warning: old-style function definition [-Wold-style-definition] 669 | getspell(spell_no) | ^~~~~~~~ spell.c: In function 'spelltypemnemonic': spell.c:731:1: warning: old-style function definition [-Wold-style-definition] 731 | spelltypemnemonic(skill) | ^~~~~~~~~~~~~~~~~ spell.c: In function 'spell_skilltype': spell.c:756:1: warning: old-style function definition [-Wold-style-definition] 756 | spell_skilltype(booktype) | ^~~~~~~~~~~~~~~ spell.c: In function 'spell_backfire': spell.c:844:1: warning: old-style function definition [-Wold-style-definition] 844 | spell_backfire(spell) | ^~~~~~~~~~~~~~ spell.c: In function 'spelleffects': spell.c:884:1: warning: old-style function definition [-Wold-style-definition] 884 | spelleffects(spell, atme) | ^~~~~~~~~~~~ spell.c: In function 'spell_aim_step': spell.c:1217:1: warning: old-style function definition [-Wold-style-definition] 1217 | spell_aim_step(arg, x, y) | ^~~~~~~~~~~~~~ spell.c: In function 'tport_spell': spell.c:1279:1: warning: old-style function definition [-Wold-style-definition] 1279 | tport_spell(what) | ^~~~~~~~~~~ spell.c: In function 'spell_cmp': spell.c:1445:1: warning: old-style function definition [-Wold-style-definition] 1445 | spell_cmp(vptr1, vptr2) | ^~~~~~~~~ spell.c: In function 'dospellmenu': spell.c:1631:1: warning: old-style function definition [-Wold-style-definition] 1631 | dospellmenu(prompt, splaction, spell_no) | ^~~~~~~~~~~ spell.c: In function 'percent_success': spell.c:1713:1: warning: old-style function definition [-Wold-style-definition] 1713 | percent_success(spell) | ^~~~~~~~~~~~~~~ spell.c: In function 'spellretention': spell.c:1828:1: warning: old-style function definition [-Wold-style-definition] 1828 | spellretention(idx, outbuf) | ^~~~~~~~~~~~~~ spell.c: In function 'initialspell': spell.c:1875:1: warning: old-style function definition [-Wold-style-definition] 1875 | initialspell(obj) | ^~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o sys.o sys.c In file included from ../include/hack.h:10, from sys.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition sys.c: In function 'sysopt_seduce_set': sys.c:130:1: warning: old-style function definition [-Wold-style-definition] 130 | sysopt_seduce_set(val) | ^~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o steal.o steal.c In file included from ../include/hack.h:10, from steal.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition steal.c: In function 'equipname': steal.c:13:1: warning: old-style function definition [-Wold-style-definition] 13 | equipname(otmp) | ^~~~~~~~~ steal.c: In function 'somegold': steal.c:33:1: warning: old-style function definition [-Wold-style-definition] 33 | somegold(lmoney) | ^~~~~~~~ steal.c: In function 'findgold': steal.c:69:1: warning: old-style function definition [-Wold-style-definition] 69 | findgold(chain) | ^~~~~~~~ steal.c: In function 'stealgold': steal.c:81:1: warning: old-style function definition [-Wold-style-definition] 81 | stealgold(mtmp) | ^~~~~~~~~ steal.c: In function 'remove_worn_item': steal.c:184:1: warning: old-style function definition [-Wold-style-definition] 184 | remove_worn_item(obj, unchain_ball) | ^~~~~~~~~~~~~~~~ steal.c: In function 'steal': steal.c:245:1: warning: old-style function definition [-Wold-style-definition] 245 | steal(mtmp, objnambuf) | ^~~~~ steal.c: In function 'mpickobj': steal.c:482:1: warning: old-style function definition [-Wold-style-definition] 482 | mpickobj(mtmp, otmp) | ^~~~~~~~ steal.c: In function 'stealamulet': steal.c:531:1: warning: old-style function definition [-Wold-style-definition] 531 | stealamulet(mtmp) | ^~~~~~~~~~~ steal.c: In function 'maybe_absorb_item': steal.c:614:1: warning: old-style function definition [-Wold-style-definition] 614 | maybe_absorb_item(mon, obj, ochance, achance) | ^~~~~~~~~~~~~~~~~ steal.c: In function 'mdrop_obj': steal.c:657:1: warning: old-style function definition [-Wold-style-definition] 657 | mdrop_obj(mon, obj, verbosely) | ^~~~~~~~~ steal.c: In function 'mdrop_special_objs': steal.c:702:1: warning: old-style function definition [-Wold-style-definition] 702 | mdrop_special_objs(mon) | ^~~~~~~~~~~~~~~~~~ steal.c: In function 'relobj': steal.c:732:1: warning: old-style function definition [-Wold-style-definition] 732 | relobj(mtmp, show, is_pet) | ^~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o steed.o steed.c In file included from ../include/hack.h:10, from steed.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition steed.c: In function 'can_saddle': steed.c:26:1: warning: old-style function definition [-Wold-style-definition] 26 | can_saddle(mtmp) | ^~~~~~~~~~ steed.c: In function 'use_saddle': steed.c:37:1: warning: old-style function definition [-Wold-style-definition] 37 | use_saddle(otmp) | ^~~~~~~~~~ steed.c: In function 'put_saddle_on_mon': steed.c:144:1: warning: old-style function definition [-Wold-style-definition] 144 | put_saddle_on_mon(saddle, mtmp) | ^~~~~~~~~~~~~~~~~ steed.c: In function 'can_ride': steed.c:162:1: warning: old-style function definition [-Wold-style-definition] 162 | can_ride(mtmp) | ^~~~~~~~ steed.c: In function 'mount_steed': steed.c:189:1: warning: old-style function definition [-Wold-style-definition] 189 | mount_steed(mtmp, force) | ^~~~~~~~~~~ steed.c: In function 'landing_spot': steed.c:434:1: warning: old-style function definition [-Wold-style-definition] 434 | landing_spot(spot, reason, forceit) | ^~~~~~~~~~~~ steed.c: In function 'dismount_steed': steed.c:479:1: warning: old-style function definition [-Wold-style-definition] 479 | dismount_steed(reason) | ^~~~~~~~~~~~~~ steed.c: In function 'maybewakesteed': steed.c:693:1: warning: old-style function definition [-Wold-style-definition] 693 | maybewakesteed(steed) | ^~~~~~~~~~~~~~ steed.c: In function 'stucksteed': steed.c:720:1: warning: old-style function definition [-Wold-style-definition] 720 | stucksteed(checkfeeding) | ^~~~~~~~~~ steed.c: In function 'place_monster': steed.c:741:1: warning: old-style function definition [-Wold-style-definition] 741 | place_monster(mon, x, y) | ^~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o teleport.o teleport.c In file included from ../include/hack.h:10, from teleport.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition teleport.c: In function 'goodpos': teleport.c:25:1: warning: old-style function definition [-Wold-style-definition] 25 | goodpos(x, y, mtmp, gpflags) | ^~~~~~~ teleport.c: In function 'enexto': teleport.c:117:1: warning: old-style function definition [-Wold-style-definition] 117 | enexto(cc, xx, yy, mdat) | ^~~~~~ teleport.c: In function 'enexto_core': teleport.c:126:1: warning: old-style function definition [-Wold-style-definition] 126 | enexto_core(cc, xx, yy, mdat, entflags) | ^~~~~~~~~~~ teleport.c: In function 'tele_jump_ok': teleport.c:227:1: warning: old-style function definition [-Wold-style-definition] 227 | tele_jump_ok(x1, y1, x2, y2) | ^~~~~~~~~~~~ teleport.c: In function 'teleok': teleport.c:262:1: warning: old-style function definition [-Wold-style-definition] 262 | teleok(x, y, trapok) | ^~~~~~ teleport.c: In function 'teleds': teleport.c:283:1: warning: old-style function definition [-Wold-style-definition] 283 | teleds(nux, nuy, allow_drag) | ^~~~~~ teleport.c: In function 'safe_teleds': teleport.c:416:1: warning: old-style function definition [-Wold-style-definition] 416 | safe_teleds(allow_drag) | ^~~~~~~~~~~ teleport.c: In function 'teleport_pet': teleport.c:447:1: warning: old-style function definition [-Wold-style-definition] 447 | teleport_pet(mtmp, force_it) | ^~~~~~~~~~~~ teleport.c: In function 'scrolltele': teleport.c:487:1: warning: old-style function definition [-Wold-style-definition] 487 | scrolltele(scroll) | ^~~~~~~~~~ teleport.c: In function 'dotele': teleport.c:665:1: warning: old-style function definition [-Wold-style-definition] 665 | dotele(break_the_rules) | ^~~~~~ teleport.c: In function 'domagicportal': teleport.c:1029:1: warning: old-style function definition [-Wold-style-definition] 1029 | domagicportal(ttmp) | ^~~~~~~~~~~~~ teleport.c: In function 'tele_trap': teleport.c:1065:1: warning: old-style function definition [-Wold-style-definition] 1065 | tele_trap(trap) | ^~~~~~~~~ teleport.c: In function 'level_tele_trap': teleport.c:1083:1: warning: old-style function definition [-Wold-style-definition] 1083 | level_tele_trap(trap, trflags) | ^~~~~~~~~~~~~~~ teleport.c: In function 'rloc_pos_ok': teleport.c:1115:1: warning: old-style function definition [-Wold-style-definition] 1115 | rloc_pos_ok(x, y, mtmp) | ^~~~~~~~~~~ teleport.c: In function 'rloc_to': teleport.c:1180:1: warning: old-style function definition [-Wold-style-definition] 1180 | rloc_to(mtmp, x, y) | ^~~~~~~ teleport.c: In function 'rloc': teleport.c:1228:1: warning: old-style function definition [-Wold-style-definition] 1228 | rloc(mtmp, suppress_impossible) | ^~~~ teleport.c: In function 'mvault_tele': teleport.c:1279:1: warning: old-style function definition [-Wold-style-definition] 1279 | mvault_tele(mtmp) | ^~~~~~~~~~~ teleport.c: In function 'tele_restrict': teleport.c:1293:1: warning: old-style function definition [-Wold-style-definition] 1293 | tele_restrict(mon) | ^~~~~~~~~~~~~ teleport.c: In function 'mtele_trap': teleport.c:1306:1: warning: old-style function definition [-Wold-style-definition] 1306 | mtele_trap(mtmp, trap, in_sight) | ^~~~~~~~~~ teleport.c: In function 'mlevel_tele_trap': teleport.c:1340:1: warning: old-style function definition [-Wold-style-definition] 1340 | mlevel_tele_trap(mtmp, trap, force_it, in_sight) | ^~~~~~~~~~~~~~~~ teleport.c: In function 'rloco': teleport.c:1425:1: warning: old-style function definition [-Wold-style-definition] 1425 | rloco(obj) | ^~~~~ teleport.c: In function 'u_teleport_mon': teleport.c:1561:1: warning: old-style function definition [-Wold-style-definition] 1561 | u_teleport_mon(mtmp, give_feedback) | ^~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o timeout.o timeout.c In file included from ../include/hack.h:10, from timeout.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition timeout.c: In function 'slimed_to_death': timeout.c:372:1: warning: old-style function definition [-Wold-style-definition] 372 | slimed_to_death(kptr) | ^~~~~~~~~~~~~~~ timeout.c: In function 'done_timeout': timeout.c:465:1: warning: old-style function definition [-Wold-style-definition] 465 | done_timeout(how, which) | ^~~~~~~~~~~~ timeout.c: In function 'fall_asleep': timeout.c:738:1: warning: old-style function definition [-Wold-style-definition] 738 | fall_asleep(how_long, wakeup_msg) | ^~~~~~~~~~~ timeout.c: In function 'attach_egg_hatch_timeout': timeout.c:763:1: warning: old-style function definition [-Wold-style-definition] 763 | attach_egg_hatch_timeout(egg, when) | ^~~~~~~~~~~~~~~~~~~~~~~~ timeout.c: In function 'kill_egg': timeout.c:793:1: warning: old-style function definition [-Wold-style-definition] 793 | kill_egg(egg) | ^~~~~~~~ timeout.c: In function 'hatch_egg': timeout.c:802:1: warning: old-style function definition [-Wold-style-definition] 802 | hatch_egg(arg, timeout) | ^~~~~~~~~ timeout.c: In function 'learn_egg_type': timeout.c:967:1: warning: old-style function definition [-Wold-style-definition] 967 | learn_egg_type(mnum) | ^~~~~~~~~~~~~~ timeout.c: In function 'attach_fig_transform_timeout': timeout.c:979:1: warning: old-style function definition [-Wold-style-definition] 979 | attach_fig_transform_timeout(figurine) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c: In function 'see_lamp_flicker': timeout.c:1089:1: warning: old-style function definition [-Wold-style-definition] 1089 | see_lamp_flicker(obj, tailer) | ^~~~~~~~~~~~~~~~ timeout.c: In function 'lantern_message': timeout.c:1106:1: warning: old-style function definition [-Wold-style-definition] 1106 | lantern_message(obj) | ^~~~~~~~~~~~~~~ timeout.c: In function 'burn_object': timeout.c:1130:1: warning: old-style function definition [-Wold-style-definition] 1130 | burn_object(arg, timeout) | ^~~~~~~~~~~ timeout.c: In function 'begin_burn': timeout.c:1440:1: warning: old-style function definition [-Wold-style-definition] 1440 | begin_burn(obj, already_lit) | ^~~~~~~~~~ timeout.c: In function 'end_burn': timeout.c:1534:1: warning: old-style function definition [-Wold-style-definition] 1534 | end_burn(obj, timer_attached) | ^~~~~~~~ timeout.c: In function 'cleanup_burn': timeout.c:1560:1: warning: old-style function definition [-Wold-style-definition] 1560 | cleanup_burn(arg, expire_time) | ^~~~~~~~~~~~ timeout.c: In function 'kind_name': timeout.c:1731:1: warning: old-style function definition [-Wold-style-definition] 1731 | kind_name(kind) | ^~~~~~~~~ timeout.c: In function 'print_queue': timeout.c:1748:1: warning: old-style function definition [-Wold-style-definition] 1748 | print_queue(win, base) | ^~~~~~~~~~~ timeout.c: In function 'start_timer': timeout.c:1887:1: warning: old-style function definition [-Wold-style-definition] 1887 | start_timer(when, kind, func_index, arg) | ^~~~~~~~~~~ timeout.c: In function 'stop_timer': timeout.c:1939:1: warning: old-style function definition [-Wold-style-definition] 1939 | stop_timer(func_index, arg) | ^~~~~~~~~~ timeout.c: In function 'peek_timer': timeout.c:1964:1: warning: old-style function definition [-Wold-style-definition] 1964 | peek_timer(type, arg) | ^~~~~~~~~~ timeout.c: In function 'obj_move_timers': timeout.c:1981:1: warning: old-style function definition [-Wold-style-definition] 1981 | obj_move_timers(src, dest) | ^~~~~~~~~~~~~~~ timeout.c: In function 'obj_split_timers': timeout.c:2002:1: warning: old-style function definition [-Wold-style-definition] 2002 | obj_split_timers(src, dest) | ^~~~~~~~~~~~~~~~ timeout.c: In function 'obj_stop_timers': timeout.c:2021:1: warning: old-style function definition [-Wold-style-definition] 2021 | obj_stop_timers(obj) | ^~~~~~~~~~~~~~~ timeout.c: In function 'obj_has_timer': timeout.c:2048:1: warning: old-style function definition [-Wold-style-definition] 2048 | obj_has_timer(object, timer_type) | ^~~~~~~~~~~~~ timeout.c: In function 'spot_stop_timers': timeout.c:2062:1: warning: old-style function definition [-Wold-style-definition] 2062 | spot_stop_timers(x, y, func_index) | ^~~~~~~~~~~~~~~~ timeout.c: In function 'spot_time_expires': timeout.c:2092:1: warning: old-style function definition [-Wold-style-definition] 2092 | spot_time_expires(x, y, func_index) | ^~~~~~~~~~~~~~~~~ timeout.c: In function 'spot_time_left': timeout.c:2108:1: warning: old-style function definition [-Wold-style-definition] 2108 | spot_time_left(x, y, func_index) | ^~~~~~~~~~~~~~ timeout.c: In function 'insert_timer': timeout.c:2118:1: warning: old-style function definition [-Wold-style-definition] 2118 | insert_timer(gnu) | ^~~~~~~~~~~~ timeout.c: In function 'remove_timer': timeout.c:2135:1: warning: old-style function definition [-Wold-style-definition] 2135 | remove_timer(base, func_index, arg) | ^~~~~~~~~~~~ timeout.c: In function 'write_timer': timeout.c:2157:1: warning: old-style function definition [-Wold-style-definition] 2157 | write_timer(fd, timer) | ^~~~~~~~~~~ timeout.c: In function 'obj_is_local': timeout.c:2212:1: warning: old-style function definition [-Wold-style-definition] 2212 | obj_is_local(obj) | ^~~~~~~~~~~~ timeout.c: In function 'mon_is_local': timeout.c:2236:1: warning: old-style function definition [-Wold-style-definition] 2236 | mon_is_local(mon) | ^~~~~~~~~~~~ timeout.c: In function 'timer_is_local': timeout.c:2256:1: warning: old-style function definition [-Wold-style-definition] 2256 | timer_is_local(timer) | ^~~~~~~~~~~~~~ timeout.c: In function 'maybe_write_timer': timeout.c:2278:1: warning: old-style function definition [-Wold-style-definition] 2278 | maybe_write_timer(fd, range, write_it) | ^~~~~~~~~~~~~~~~~ timeout.c: In function 'save_timers': timeout.c:2323:1: warning: old-style function definition [-Wold-style-definition] 2323 | save_timers(fd, mode, range) | ^~~~~~~~~~~ timeout.c: In function 'restore_timers': timeout.c:2361:1: warning: old-style function definition [-Wold-style-definition] 2361 | restore_timers(fd, range, ghostly, adjust) | ^~~~~~~~~~~~~~ timeout.c: In function 'timer_stats': timeout.c:2385:1: warning: old-style function definition [-Wold-style-definition] 2385 | timer_stats(hdrfmt, hdrbuf, count, size) | ^~~~~~~~~~~ timeout.c: In function 'relink_timers': timeout.c:2402:1: warning: old-style function definition [-Wold-style-definition] 2402 | relink_timers(ghostly) | ^~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o topten.o topten.c In file included from ../include/hack.h:10, from topten.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition topten.c: In function 'formatkiller': topten.c:89:1: warning: old-style function definition [-Wold-style-definition] 89 | formatkiller(buf, siz, how, incl_helpless) | ^~~~~~~~~~~~ topten.c: In function 'topten_print': topten.c:161:1: warning: old-style function definition [-Wold-style-definition] 161 | topten_print(x) | ^~~~~~~~~~~~ topten.c: In function 'topten_print_bold': topten.c:171:1: warning: old-style function definition [-Wold-style-definition] 171 | topten_print_bold(x) | ^~~~~~~~~~~~~~~~~ topten.c: In function 'observable_depth': topten.c:181:1: warning: old-style function definition [-Wold-style-definition] 181 | observable_depth(lev) | ^~~~~~~~~~~~~~~~ topten.c: In function 'discardexcess': topten.c:207:1: warning: old-style function definition [-Wold-style-definition] 207 | discardexcess(rfile) | ^~~~~~~~~~~~~ topten.c: In function 'readentry': topten.c:218:1: warning: old-style function definition [-Wold-style-definition] 218 | readentry(rfile, tt) | ^~~~~~~~~ topten.c: In function 'writeentry': topten.c:301:1: warning: old-style function definition [-Wold-style-definition] 301 | writeentry(rfile, tt) | ^~~~~~~~~~ topten.c: In function 'writexlentry': topten.c:340:1: warning: old-style function definition [-Wold-style-definition] 340 | writexlentry(rfile, tt, how) | ^~~~~~~~~~~~ topten.c: In function 'free_ttlist': topten.c:471:1: warning: old-style function definition [-Wold-style-definition] 471 | free_ttlist(tt) | ^~~~~~~~~~~ topten.c: In function 'topten': topten.c:485:1: warning: old-style function definition [-Wold-style-definition] 485 | topten(how, when) | ^~~~~~ topten.c: In function 'outentry': topten.c:798:1: warning: old-style function definition [-Wold-style-definition] 798 | outentry(rank, t1, so) | ^~~~~~~~ topten.c: In function 'score_wanted': topten.c:961:1: warning: old-style function definition [-Wold-style-definition] 961 | score_wanted(current_ver, rank, t1, playerct, players, uid) | ^~~~~~~~~~~~ topten.c: In function 'prscore': topten.c:1006:1: warning: old-style function definition [-Wold-style-definition] 1006 | prscore(argc, argv) | ^~~~~~~ topten.c: In function 'classmon': topten.c:1154:1: warning: old-style function definition [-Wold-style-definition] 1154 | classmon(plch, fem) | ^~~~~~~~ topten.c: In function 'tt_oname': topten.c:1223:1: warning: old-style function definition [-Wold-style-definition] 1223 | tt_oname(otmp) | ^~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o track.o track.c In file included from ../include/hack.h:10, from track.c:7: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition track.c: In function 'gettrack': track.c:34:1: warning: old-style function definition [-Wold-style-definition] 34 | gettrack(x, y) | ^~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o trap.o trap.c In file included from ../include/hack.h:10, from trap.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition trap.c: In function 'burnarmor': trap.c:56:1: warning: old-style function definition [-Wold-style-definition] 56 | burnarmor(victim) | ^~~~~~~~~ trap.c: In function 'erode_obj': trap.c:140:1: warning: old-style function definition [-Wold-style-definition] 140 | erode_obj(otmp, ostr, type, ef_flags) | ^~~~~~~~~ trap.c: In function 'grease_protect': trap.c:286:1: warning: old-style function definition [-Wold-style-definition] 286 | grease_protect(otmp, ostr, victim) | ^~~~~~~~~~~~~~ trap.c: In function 'maketrap': trap.c:315:1: warning: old-style function definition [-Wold-style-definition] 315 | maketrap(x, y, typ) | ^~~~~~~~ trap.c: In function 'fall_through': trap.c:446:1: warning: old-style function definition [-Wold-style-definition] 446 | fall_through(td, ftflags) | ^~~~~~~~~~~~ trap.c: In function 'animate_statue': trap.c:568:1: warning: old-style function definition [-Wold-style-definition] 568 | animate_statue(statue, x, y, cause, fail_reason) | ^~~~~~~~~~~~~~ trap.c: In function 'activate_statue_trap': trap.c:749:1: warning: old-style function definition [-Wold-style-definition] 749 | activate_statue_trap(trap, x, y, shatter) | ^~~~~~~~~~~~~~~~~~~~ trap.c: In function 'keep_saddle_with_steedcorpse': trap.c:779:1: warning: old-style function definition [-Wold-style-definition] 779 | keep_saddle_with_steedcorpse(steed_mid, objchn, saddle) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ trap.c: In function 'mu_maybe_destroy_web': trap.c:811:1: warning: old-style function definition [-Wold-style-definition] 811 | mu_maybe_destroy_web(mtmp, domsg, trap) | ^~~~~~~~~~~~~~~~~~~~ trap.c: In function 't_missile': trap.c:855:1: warning: old-style function definition [-Wold-style-definition] 855 | t_missile(otyp, trap) | ^~~~~~~~~ trap.c: In function 'set_utrap': trap.c:869:1: warning: old-style function definition [-Wold-style-definition] 869 | set_utrap(tim, typ) | ^~~~~~~~~ trap.c: In function 'reset_utrap': trap.c:884:1: warning: old-style function definition [-Wold-style-definition] 884 | reset_utrap(msg) | ^~~~~~~~~~~ trap.c: In function 'dotrap': trap.c:900:1: warning: old-style function definition [-Wold-style-definition] 900 | dotrap(trap, trflags) | ^~~~~~ trap.c: In function 'trapnote': trap.c:1566:1: warning: old-style function definition [-Wold-style-definition] 1566 | trapnote(trap, noprefix) | ^~~~~~~~ trap.c: In function 'steedintrap': trap.c:1586:1: warning: old-style function definition [-Wold-style-definition] 1586 | steedintrap(trap, otmp) | ^~~~~~~~~~~ trap.c: In function 'blow_up_landmine': trap.c:1670:1: warning: old-style function definition [-Wold-style-definition] 1670 | blow_up_landmine(trap) | ^~~~~~~~~~~~~~~~ trap.c: In function 'launch_drop_spot': trap.c:1715:1: warning: old-style function definition [-Wold-style-definition] 1715 | launch_drop_spot(obj, x, y) | ^~~~~~~~~~~~~~~~ trap.c: In function 'launch_obj': trap.c:1755:1: warning: old-style function definition [-Wold-style-definition] 1755 | launch_obj(otyp, x1, y1, x2, y2, style) | ^~~~~~~~~~ trap.c: In function 'seetrap': trap.c:2020:1: warning: old-style function definition [-Wold-style-definition] 2020 | seetrap(trap) | ^~~~~~~ trap.c: In function 'feeltrap': trap.c:2031:1: warning: old-style function definition [-Wold-style-definition] 2031 | feeltrap(trap) | ^~~~~~~~ trap.c: In function 'mkroll_launch': trap.c:2041:1: warning: old-style function definition [-Wold-style-definition] 2041 | mkroll_launch(ttmp, x, y, otyp, ocount) | ^~~~~~~~~~~~~ trap.c: In function 'isclearpath': trap.c:2111:1: warning: old-style function definition [-Wold-style-definition] 2111 | isclearpath(cc, distance, dx, dy) | ^~~~~~~~~~~ trap.c: In function 'mintrap': trap.c:2134:1: warning: old-style function definition [-Wold-style-definition] 2134 | mintrap(mtmp) | ^~~~~~~ trap.c: In function 'instapetrify': trap.c:2749:1: warning: old-style function definition [-Wold-style-definition] 2749 | instapetrify(str) | ^~~~~~~~~~~~ trap.c: In function 'minstapetrify': trap.c:2764:1: warning: old-style function definition [-Wold-style-definition] 2764 | minstapetrify(mon, byplayer) | ^~~~~~~~~~~~~ trap.c: In function 'selftouch': trap.c:2791:1: warning: old-style function definition [-Wold-style-definition] 2791 | selftouch(arg) | ^~~~~~~~~ trap.c: In function 'mselftouch': trap.c:2819:1: warning: old-style function definition [-Wold-style-definition] 2819 | mselftouch(mon, arg, byplayer) | ^~~~~~~~~~ trap.c: In function 'fill_pit': trap.c:2911:1: warning: old-style function definition [-Wold-style-definition] 2911 | fill_pit(x, y) | ^~~~~~~~ trap.c: In function 'float_down': trap.c:2926:1: warning: old-style function definition [-Wold-style-definition] 2926 | float_down(hmask, emask) | ^~~~~~~~~~ trap.c: In function 'dofiretrap': trap.c:3125:1: warning: old-style function definition [-Wold-style-definition] 3125 | dofiretrap(box) | ^~~~~~~~~~ trap.c: In function 'fire_damage': trap.c:3316:1: warning: old-style function definition [-Wold-style-definition] 3316 | fire_damage(obj, force, x, y) | ^~~~~~~~~~~ trap.c: In function 'fire_damage_chain': trap.c:3406:1: warning: old-style function definition [-Wold-style-definition] 3406 | fire_damage_chain(chain, force, here, x, y) | ^~~~~~~~~~~~~~~~~ trap.c: In function 'lava_damage': trap.c:3427:1: warning: old-style function definition [-Wold-style-definition] 3427 | lava_damage(obj, x, y) | ^~~~~~~~~~~ trap.c: In function 'acid_damage': trap.c:3471:1: warning: old-style function definition [-Wold-style-definition] 3471 | acid_damage(obj) | ^~~~~~~~~~~ trap.c: In function 'water_damage': trap.c:3522:1: warning: old-style function definition [-Wold-style-definition] 3522 | water_damage(obj, ostr, force) | ^~~~~~~~~~~~ trap.c: In function 'water_damage_chain': trap.c:3669:1: warning: old-style function definition [-Wold-style-definition] 3669 | water_damage_chain(obj, here) | ^~~~~~~~~~~~~~~~~~ trap.c: In function 'emergency_disrobe': trap.c:3697:1: warning: old-style function definition [-Wold-style-definition] 3697 | emergency_disrobe(lostsome) | ^~~~~~~~~~~~~~~~~ trap.c: In function 'drain_en': trap.c:3898:1: warning: old-style function definition [-Wold-style-definition] 3898 | drain_en(n) | ^~~~~~~~ trap.c: In function 'untrap_prob': trap.c:3946:1: warning: old-style function definition [-Wold-style-definition] 3946 | untrap_prob(ttmp) | ^~~~~~~~~~~ trap.c: In function 'cnv_trap_obj': trap.c:3977:1: warning: old-style function definition [-Wold-style-definition] 3977 | cnv_trap_obj(otyp, cnt, ttmp, bury_it) | ^~~~~~~~~~~~ trap.c: In function 'move_into_trap': trap.c:4008:1: warning: old-style function definition [-Wold-style-definition] 4008 | move_into_trap(ttmp) | ^~~~~~~~~~~~~~ trap.c: In function 'try_disarm': trap.c:4050:1: warning: old-style function definition [-Wold-style-definition] 4050 | try_disarm(ttmp, force_failure) | ^~~~~~~~~~ trap.c: In function 'reward_untrap': trap.c:4135:1: warning: old-style function definition [-Wold-style-definition] 4135 | reward_untrap(ttmp, mtmp) | ^~~~~~~~~~~~~ trap.c: In function 'disarm_holdingtrap': trap.c:4157:1: warning: old-style function definition [-Wold-style-definition] 4157 | disarm_holdingtrap(ttmp) /* Helge Hafting */ | ^~~~~~~~~~~~~~~~~~ trap.c: In function 'disarm_landmine': trap.c:4190:1: warning: old-style function definition [-Wold-style-definition] 4190 | disarm_landmine(ttmp) /* Helge Hafting */ | ^~~~~~~~~~~~~~~ trap.c: In function 'disarm_squeaky_board': trap.c:4208:1: warning: old-style function definition [-Wold-style-definition] 4208 | disarm_squeaky_board(ttmp) | ^~~~~~~~~~~~~~~~~~~~ trap.c: In function 'disarm_shooting_trap': trap.c:4243:1: warning: old-style function definition [-Wold-style-definition] 4243 | disarm_shooting_trap(ttmp, otyp) | ^~~~~~~~~~~~~~~~~~~~ trap.c: In function 'try_lift': trap.c:4259:1: warning: old-style function definition [-Wold-style-definition] 4259 | try_lift(mtmp, ttmp, wt, stuff) | ^~~~~~~~ trap.c: In function 'help_monster_out': trap.c:4284:1: warning: old-style function definition [-Wold-style-definition] 4284 | help_monster_out(mtmp, ttmp) | ^~~~~~~~~~~~~~~~ trap.c: In function 'untrap': trap.c:4374:1: warning: old-style function definition [-Wold-style-definition] 4374 | untrap(force) | ^~~~~~ trap.c: In function 'openholdingtrap': trap.c:4617:1: warning: old-style function definition [-Wold-style-definition] 4617 | openholdingtrap(mon, noticed) | ^~~~~~~~~~~~~~~ trap.c: In function 'closeholdingtrap': trap.c:4709:1: warning: old-style function definition [-Wold-style-definition] 4709 | closeholdingtrap(mon, noticed) | ^~~~~~~~~~~~~~~~ trap.c: In function 'openfallingtrap': trap.c:4754:1: warning: old-style function definition [-Wold-style-definition] 4754 | openfallingtrap(mon, trapdoor_only, noticed) | ^~~~~~~~~~~~~~~ trap.c: In function 'chest_trap': trap.c:4797:1: warning: old-style function definition [-Wold-style-definition] 4797 | chest_trap(obj, bodypart, disarm) | ^~~~~~~~~~ trap.c: In function 't_at': trap.c:4984:1: warning: old-style function definition [-Wold-style-definition] 4984 | t_at(x, y) | ^~~~ trap.c: In function 'deltrap': trap.c:4998:1: warning: old-style function definition [-Wold-style-definition] 4998 | deltrap(trap) | ^~~~~~~ trap.c: In function 'conjoined_pits': trap.c:5020:1: warning: old-style function definition [-Wold-style-definition] 5020 | conjoined_pits(trap2, trap1, u_entering_trap2) | ^~~~~~~~~~~~~~ trap.c: In function 'clear_conjoined_pits': trap.c:5049:1: warning: old-style function definition [-Wold-style-definition] 5049 | clear_conjoined_pits(trap) | ^~~~~~~~~~~~~~~~~~~~ trap.c: In function 'adj_nonconjoined_pit': trap.c:5073:1: warning: old-style function definition [-Wold-style-definition] 5073 | adj_nonconjoined_pit(adjtrap) | ^~~~~~~~~~~~~~~~~~~~ trap.c: In function 'uteetering_at_seen_pit': trap.c:5122:1: warning: old-style function definition [-Wold-style-definition] 5122 | uteetering_at_seen_pit(trap) | ^~~~~~~~~~~~~~~~~~~~~~ trap.c: In function 'uescaped_shaft': trap.c:5135:1: warning: old-style function definition [-Wold-style-definition] 5135 | uescaped_shaft(trap) | ^~~~~~~~~~~~~~ trap.c: In function 'delfloortrap': trap.c:5144:1: warning: old-style function definition [-Wold-style-definition] 5144 | delfloortrap(ttmp) | ^~~~~~~~~~~~ trap.c: In function 'b_trapped': trap.c:5171:1: warning: old-style function definition [-Wold-style-definition] 5171 | b_trapped(item, bodypart) | ^~~~~~~~~ trap.c: In function 'thitm': trap.c:5190:1: warning: old-style function definition [-Wold-style-definition] 5190 | thitm(tlev, mon, obj, d_override, nocorpse) | ^~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o u_init.o u_init.c In file included from ../include/hack.h:10, from u_init.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition u_init.c: In function 'knows_object': u_init.c:561:1: warning: old-style function definition [-Wold-style-definition] 561 | knows_object(obj) | ^~~~~~~~~~~~ u_init.c: In function 'knows_class': u_init.c:572:1: warning: old-style function definition [-Wold-style-definition] 572 | knows_class(sym) | ^~~~~~~~~~~ u_init.c: In function 'restricted_spell_discipline': u_init.c:911:1: warning: old-style function definition [-Wold-style-definition] 911 | restricted_spell_discipline(otyp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ u_init.c: In function 'ini_inv': u_init.c:971:1: warning: old-style function definition [-Wold-style-definition] 971 | ini_inv(trop) | ^~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o uhitm.o uhitm.c In file included from ../include/hack.h:10, from uhitm.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition uhitm.c: In function 'erode_armor': uhitm.c:35:1: warning: old-style function definition [-Wold-style-definition] 35 | erode_armor(mdef, hurt) | ^~~~~~~~~~~ uhitm.c: In function 'attack_checks': uhitm.c:100:1: warning: old-style function definition [-Wold-style-definition] 100 | attack_checks(mtmp, wep) | ^~~~~~~~~~~~~ uhitm.c: In function 'check_caitiff': uhitm.c:237:1: warning: old-style function definition [-Wold-style-definition] 237 | check_caitiff(mtmp) | ^~~~~~~~~~~~~ uhitm.c: In function 'find_roll_to_hit': uhitm.c:256:1: warning: old-style function definition [-Wold-style-definition] 256 | find_roll_to_hit(mtmp, aatyp, weapon, attk_count, role_roll_penalty) | ^~~~~~~~~~~~~~~~ uhitm.c: In function 'attack': uhitm.c:329:1: warning: old-style function definition [-Wold-style-definition] 329 | attack(mtmp) | ^~~~~~ uhitm.c: In function 'known_hitum': uhitm.c:462:1: warning: old-style function definition [-Wold-style-definition] 462 | known_hitum(mon, weapon, mhit, rollneeded, armorpenalty, uattk, dieroll) | ^~~~~~~~~~~ uhitm.c: In function 'hitum_cleave': uhitm.c:522:1: warning: old-style function definition [-Wold-style-definition] 522 | hitum_cleave(target, uattk) | ^~~~~~~~~~~~ uhitm.c: In function 'hitum': uhitm.c:603:1: warning: old-style function definition [-Wold-style-definition] 603 | hitum(mon, uattk) | ^~~~~ uhitm.c: In function 'hmon': uhitm.c:649:1: warning: old-style function definition [-Wold-style-definition] 649 | hmon(mon, obj, thrown, dieroll) | ^~~~ uhitm.c: In function 'hmon_hitmon': uhitm.c:669:1: warning: old-style function definition [-Wold-style-definition] 669 | hmon_hitmon(mon, obj, thrown, dieroll) | ^~~~~~~~~~~ uhitm.c: In function 'shade_aware': uhitm.c:1338:1: warning: old-style function definition [-Wold-style-definition] 1338 | shade_aware(obj) | ^~~~~~~~~~~ uhitm.c: In function 'shade_miss': uhitm.c:1363:1: warning: old-style function definition [-Wold-style-definition] 1363 | shade_miss(magr, mdef, obj, thrown, verbose) | ^~~~~~~~~~ uhitm.c: In function 'm_slips_free': uhitm.c:1401:1: warning: old-style function definition [-Wold-style-definition] 1401 | m_slips_free(mdef, mattk) | ^~~~~~~~~~~~ uhitm.c: In function 'joust': uhitm.c:1445:1: warning: old-style function definition [-Wold-style-definition] 1445 | joust(mon, obj) | ^~~~~ uhitm.c: In function 'theft_petrifies': uhitm.c:1498:1: warning: old-style function definition [-Wold-style-definition] 1498 | theft_petrifies(otmp) | ^~~~~~~~~~~~~~~ uhitm.c: In function 'steal_it': uhitm.c:1525:1: warning: old-style function definition [-Wold-style-definition] 1525 | steal_it(mdef, mattk) | ^~~~~~~~ uhitm.c: In function 'damageum': uhitm.c:1630:1: warning: old-style function definition [-Wold-style-definition] 1630 | damageum(mdef, mattk, specialdmg) | ^~~~~~~~ uhitm.c: In function 'explum': uhitm.c:2035:1: warning: old-style function definition [-Wold-style-definition] 2035 | explum(mdef, mattk) | ^~~~~~ uhitm.c: In function 'start_engulf': uhitm.c:2088:1: warning: old-style function definition [-Wold-style-definition] 2088 | start_engulf(mdef) | ^~~~~~~~~~~~ uhitm.c: In function 'gulpum': uhitm.c:2111:1: warning: old-style function definition [-Wold-style-definition] 2111 | gulpum(mdef, mattk) | ^~~~~~ uhitm.c: In function 'missum': uhitm.c:2329:1: warning: old-style function definition [-Wold-style-definition] 2329 | missum(mdef, mattk, wouldhavehit) | ^~~~~~ uhitm.c: In function 'hmonas': uhitm.c:2349:1: warning: old-style function definition [-Wold-style-definition] 2349 | hmonas(mon) | ^~~~~~ uhitm.c: In function 'passive': uhitm.c:2737:1: warning: old-style function definition [-Wold-style-definition] 2737 | passive(mon, weapon, mhit, malive, aatyp, wep_was_destroyed) | ^~~~~~~ uhitm.c: In function 'passive_obj': uhitm.c:2974:1: warning: old-style function definition [-Wold-style-definition] 2974 | passive_obj(mon, obj, mattk) | ^~~~~~~~~~~ uhitm.c: In function 'stumble_onto_mimic': uhitm.c:3044:1: warning: old-style function definition [-Wold-style-definition] 3044 | stumble_onto_mimic(mtmp) | ^~~~~~~~~~~~~~~~~~ uhitm.c: In function 'nohandglow': uhitm.c:3085:1: warning: old-style function definition [-Wold-style-definition] 3085 | nohandglow(mon) | ^~~~~~~~~~ uhitm.c: In function 'flash_hits_mon': uhitm.c:3107:1: warning: old-style function definition [-Wold-style-definition] 3107 | flash_hits_mon(mtmp, otmp) | ^~~~~~~~~~~~~~ uhitm.c: In function 'light_hits_gremlin': uhitm.c:3146:1: warning: old-style function definition [-Wold-style-definition] 3146 | light_hits_gremlin(mon, dmg) | ^~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o vault.o vault.c In file included from ../include/hack.h:10, from vault.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition vault.c: In function 'newegd': vault.c:20:1: warning: old-style function definition [-Wold-style-definition] 20 | newegd(mtmp) | ^~~~~~ vault.c: In function 'free_egd': vault.c:32:1: warning: old-style function definition [-Wold-style-definition] 32 | free_egd(mtmp) | ^~~~~~~~ vault.c: In function 'clear_fcorr': vault.c:46:1: warning: old-style function definition [-Wold-style-definition] 46 | clear_fcorr(grd, forceshow) | ^~~~~~~~~~~ vault.c: In function 'blackout': vault.c:122:1: warning: old-style function definition [-Wold-style-definition] 122 | blackout(x, y) | ^~~~~~~~ vault.c: In function 'restfakecorr': vault.c:144:1: warning: old-style function definition [-Wold-style-definition] 144 | restfakecorr(grd) | ^~~~~~~~~~~~ vault.c: In function 'parkguard': vault.c:156:1: warning: old-style function definition [-Wold-style-definition] 156 | parkguard(grd) | ^~~~~~~~~ vault.c: In function 'grddead': vault.c:176:1: warning: old-style function definition [-Wold-style-definition] 176 | grddead(grd) | ^~~~~~~ vault.c: In function 'in_fcorridor': vault.c:194:1: warning: old-style function definition [-Wold-style-definition] 194 | in_fcorridor(grd, x, y) | ^~~~~~~~~~~~ vault.c: In function 'vault_occupied': vault.c:229:1: warning: old-style function definition [-Wold-style-definition] 229 | vault_occupied(array) | ^~~~~~~~~~~~~~ vault.c: In function 'uleftvault': vault.c:242:1: warning: old-style function definition [-Wold-style-definition] 242 | uleftvault(grd) | ^~~~~~~~~~ vault.c: In function 'find_guard_dest': vault.c:268:1: warning: old-style function definition [-Wold-style-definition] 268 | find_guard_dest(guard, rx, ry) | ^~~~~~~~~~~~~~~ vault.c: In function 'move_gold': vault.c:555:1: warning: old-style function definition [-Wold-style-definition] 555 | move_gold(gold, vroom) | ^~~~~~~~~ vault.c: In function 'wallify_vault': vault.c:571:1: warning: old-style function definition [-Wold-style-definition] 571 | wallify_vault(grd) | ^~~~~~~~~~~~~ vault.c: In function 'gd_mv_monaway': vault.c:639:1: warning: old-style function definition [-Wold-style-definition] 639 | gd_mv_monaway(grd, nx, ny) | ^~~~~~~~~~~~~ vault.c: In function 'gd_pick_corridor_gold': vault.c:654:1: warning: old-style function definition [-Wold-style-definition] 654 | gd_pick_corridor_gold(grd, goldx, goldy) | ^~~~~~~~~~~~~~~~~~~~~ vault.c: In function 'gd_move': vault.c:746:1: warning: old-style function definition [-Wold-style-definition] 746 | gd_move(grd) | ^~~~~~~ vault.c: In function 'paygd': vault.c:1069:1: warning: old-style function definition [-Wold-style-definition] 1069 | paygd(silently) | ^~~~~ vault.c: In function 'vault_gd_watching': vault.c:1140:1: warning: old-style function definition [-Wold-style-definition] 1140 | vault_gd_watching(activity) | ^~~~~~~~~~~~~~~~~ make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' ./makedefs -z make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o vision.o vision.c In file included from ../include/hack.h:10, from vision.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition vision.c: In function 'does_block': vision.c:156:1: warning: old-style function definition [-Wold-style-definition] 156 | does_block(x, y, lev) | ^~~~~~~~~~ vision.c: In function 'get_unused_cs': vision.c:256:1: warning: old-style function definition [-Wold-style-definition] 256 | get_unused_cs(rows, rmin, rmax) | ^~~~~~~~~~~~~ vision.c: In function 'rogue_vision': vision.c:298:1: warning: old-style function definition [-Wold-style-definition] 298 | rogue_vision(next, rmin, rmax) | ^~~~~~~~~~~~ vision.c: In function 'vision_recalc': vision.c:501:1: warning: old-style function definition [-Wold-style-definition] 501 | vision_recalc(control) | ^~~~~~~~~~~~~ vision.c: In function 'block_point': vision.c:844:1: warning: old-style function definition [-Wold-style-definition] 844 | block_point(x, y) | ^~~~~~~~~~~ vision.c: In function 'unblock_point': vision.c:868:1: warning: old-style function definition [-Wold-style-definition] 868 | unblock_point(x, y) | ^~~~~~~~~~~~~ vision.c: In function 'dig_point': vision.c:927:1: warning: old-style function definition [-Wold-style-definition] 927 | dig_point(row, col) | ^~~~~~~~~ vision.c: In function 'fill_point': vision.c:1012:1: warning: old-style function definition [-Wold-style-definition] 1012 | fill_point(row, col) | ^~~~~~~~~~ vision.c: In function 'clear_path': vision.c:1568:1: warning: old-style function definition [-Wold-style-definition] 1568 | clear_path(col1, row1, col2, row2) | ^~~~~~~~~~ vision.c: In function 'right_side': vision.c:2313:1: warning: old-style function definition [-Wold-style-definition] 2313 | right_side(row, left, right_mark, limits) | ^~~~~~~~~~ vision.c: In function 'left_side': vision.c:2505:1: warning: old-style function definition [-Wold-style-definition] 2505 | left_side(row, left_mark, right, limits) | ^~~~~~~~~ vision.c: In function 'view_from': vision.c:2641:1: warning: old-style function definition [-Wold-style-definition] 2641 | view_from(srow, scol, loc_cs_rows, left_most, right_most, range, func, arg) | ^~~~~~~~~ vision.c: In function 'do_clear_area': vision.c:2747:1: warning: old-style function definition [-Wold-style-definition] 2747 | do_clear_area(scol, srow, range, func, arg) | ^~~~~~~~~~~~~ vision.c: In function 'howmonseen': vision.c:2791:1: warning: old-style function definition [-Wold-style-definition] 2791 | howmonseen(mon) | ^~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o vis_tab.o vis_tab.c In file included from vis_tab.c:2: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o weapon.o weapon.c In file included from ../include/hack.h:10, from weapon.c:11: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition weapon.c: In function 'give_may_advance_msg': weapon.c:69:1: warning: old-style function definition [-Wold-style-definition] 69 | give_may_advance_msg(skill) | ^~~~~~~~~~~~~~~~~~~~ weapon.c: In function 'weapon_descr': weapon.c:83:1: warning: old-style function definition [-Wold-style-definition] 83 | weapon_descr(obj) | ^~~~~~~~~~~~ weapon.c: In function 'hitval': weapon.c:139:1: warning: old-style function definition [-Wold-style-definition] 139 | hitval(otmp, mon) | ^~~~~~ weapon.c: In function 'dmgval': weapon.c:209:1: warning: old-style function definition [-Wold-style-definition] 209 | dmgval(otmp, mon) | ^~~~~~ weapon.c: In function 'special_dmgval': weapon.c:356:1: warning: old-style function definition [-Wold-style-definition] 356 | special_dmgval(magr, mdef, armask, silverhit_p) | ^~~~~~~~~~~~~~ weapon.c: In function 'silver_sears': weapon.c:431:1: warning: old-style function definition [-Wold-style-definition] 431 | silver_sears(magr, mdef, silverhit) | ^~~~~~~~~~~~ weapon.c: In function 'oselect': weapon.c:470:1: warning: old-style function definition [-Wold-style-definition] 470 | oselect(mtmp, x) | ^~~~~~~ weapon.c: In function 'select_rwep': weapon.c:506:1: warning: old-style function definition [-Wold-style-definition] 506 | select_rwep(mtmp) | ^~~~~~~~~~~ weapon.c: In function 'monmightthrowwep': weapon.c:627:1: warning: old-style function definition [-Wold-style-definition] 627 | monmightthrowwep(obj) | ^~~~~~~~~~~~~~~~ weapon.c: In function 'select_hwep': weapon.c:653:1: warning: old-style function definition [-Wold-style-definition] 653 | select_hwep(mtmp) | ^~~~~~~~~~~ weapon.c: In function 'possibly_unwield': weapon.c:694:1: warning: old-style function definition [-Wold-style-definition] 694 | possibly_unwield(mon, polyspot) | ^~~~~~~~~~~~~~~~ weapon.c: In function 'mon_wield_item': weapon.c:749:1: warning: old-style function definition [-Wold-style-definition] 749 | mon_wield_item(mon) | ^~~~~~~~~~~~~~ weapon.c: In function 'mwepgone': weapon.c:878:1: warning: old-style function definition [-Wold-style-definition] 878 | mwepgone(mon) | ^~~~~~~~ weapon.c: In function 'wet_a_towel': weapon.c:956:1: warning: old-style function definition [-Wold-style-definition] 956 | wet_a_towel(obj, amt, verbose) | ^~~~~~~~~~~ weapon.c: In function 'dry_a_towel': weapon.c:988:1: warning: old-style function definition [-Wold-style-definition] 988 | dry_a_towel(obj, amt, verbose) | ^~~~~~~~~~~ weapon.c: In function 'skill_level_name': weapon.c:1017:1: warning: old-style function definition [-Wold-style-definition] 1017 | skill_level_name(skill, buf) | ^~~~~~~~~~~~~~~~ weapon.c: In function 'skill_name': weapon.c:1052:1: warning: old-style function definition [-Wold-style-definition] 1052 | skill_name(skill) | ^~~~~~~~~~ weapon.c: In function 'slots_required': weapon.c:1060:1: warning: old-style function definition [-Wold-style-definition] 1060 | slots_required(skill) | ^~~~~~~~~~~~~~ weapon.c: In function 'can_advance': weapon.c:1085:1: warning: old-style function definition [-Wold-style-definition] 1085 | can_advance(skill, speedy) | ^~~~~~~~~~~ weapon.c: In function 'could_advance': weapon.c:1104:1: warning: old-style function definition [-Wold-style-definition] 1104 | could_advance(skill) | ^~~~~~~~~~~~~ weapon.c: In function 'peaked_skill': weapon.c:1119:1: warning: old-style function definition [-Wold-style-definition] 1119 | peaked_skill(skill) | ^~~~~~~~~~~~ weapon.c: In function 'skill_advance': weapon.c:1131:1: warning: old-style function definition [-Wold-style-definition] 1131 | skill_advance(skill) | ^~~~~~~~~~~~~ weapon.c: In function 'unrestrict_weapon_skill': weapon.c:1304:1: warning: old-style function definition [-Wold-style-definition] 1304 | unrestrict_weapon_skill(skill) | ^~~~~~~~~~~~~~~~~~~~~~~ weapon.c: In function 'use_skill': weapon.c:1315:1: warning: old-style function definition [-Wold-style-definition] 1315 | use_skill(skill, degree) | ^~~~~~~~~ weapon.c: In function 'add_weapon_skill': weapon.c:1330:1: warning: old-style function definition [-Wold-style-definition] 1330 | add_weapon_skill(n) | ^~~~~~~~~~~~~~~~ weapon.c: In function 'lose_weapon_skill': weapon.c:1347:1: warning: old-style function definition [-Wold-style-definition] 1347 | lose_weapon_skill(n) | ^~~~~~~~~~~~~~~~~ weapon.c: In function 'weapon_type': weapon.c:1371:1: warning: old-style function definition [-Wold-style-definition] 1371 | weapon_type(obj) | ^~~~~~~~~~~ weapon.c: In function 'weapon_hit_bonus': weapon.c:1399:1: warning: old-style function definition [-Wold-style-definition] 1399 | weapon_hit_bonus(weapon) | ^~~~~~~~~~~~~~~~ weapon.c: In function 'weapon_dam_bonus': weapon.c:1494:1: warning: old-style function definition [-Wold-style-definition] 1494 | weapon_dam_bonus(weapon) | ^~~~~~~~~~~~~~~~ weapon.c: In function 'skill_init': weapon.c:1588:1: warning: old-style function definition [-Wold-style-definition] 1588 | skill_init(class_skill) | ^~~~~~~~~~ weapon.c: In function 'setmnotwielded': weapon.c:1662:1: warning: old-style function definition [-Wold-style-definition] 1662 | setmnotwielded(mon, obj) | ^~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o were.o were.c In file included from ../include/hack.h:10, from were.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition were.c: In function 'were_change': were.c:9:1: warning: old-style function definition [-Wold-style-definition] 9 | were_change(mon) | ^~~~~~~~~~~ were.c: In function 'counter_were': were.c:46:1: warning: old-style function definition [-Wold-style-definition] 46 | counter_were(pm) | ^~~~~~~~~~~~ were.c: In function 'were_beastie': were.c:69:1: warning: old-style function definition [-Wold-style-definition] 69 | were_beastie(pm) | ^~~~~~~~~~~~ were.c: In function 'new_were': were.c:95:1: warning: old-style function definition [-Wold-style-definition] 95 | new_were(mon) | ^~~~~~~~ were.c: In function 'were_summon': were.c:126:1: warning: old-style function definition [-Wold-style-definition] 126 | were_summon(ptr, yours, visible, genbuf) | ^~~~~~~~~~~ were.c: In function 'you_unwere': were.c:194:1: warning: old-style function definition [-Wold-style-definition] 194 | you_unwere(purify) | ^~~~~~~~~~ were.c: In function 'set_ulycn': were.c:213:1: warning: old-style function definition [-Wold-style-definition] 213 | set_ulycn(which) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o wield.o wield.c In file included from ../include/hack.h:10, from wield.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition wield.c: In function 'setuwep': wield.c:84:1: warning: old-style function definition [-Wold-style-definition] 84 | setuwep(obj) | ^~~~~~~ wield.c: In function 'cant_wield_corpse': wield.c:118:1: warning: old-style function definition [-Wold-style-definition] 118 | cant_wield_corpse(obj) | ^~~~~~~~~~~~~~~~~ wield.c: In function 'ready_weapon': wield.c:137:1: warning: old-style function definition [-Wold-style-definition] 137 | ready_weapon(wep) | ^~~~~~~~~~~~ wield.c: In function 'setuqwep': wield.c:228:1: warning: old-style function definition [-Wold-style-definition] 228 | setuqwep(obj) | ^~~~~~~~ wield.c: In function 'setuswapwep': wield.c:238:1: warning: old-style function definition [-Wold-style-definition] 238 | setuswapwep(obj) | ^~~~~~~~~~~ wield.c: In function 'wield_tool': wield.c:520:1: warning: old-style function definition [-Wold-style-definition] 520 | wield_tool(obj, verb) | ^~~~~~~~~~ wield.c: In function 'chwepon': wield.c:723:1: warning: old-style function definition [-Wold-style-definition] 723 | chwepon(otmp, amount) | ^~~~~~~ wield.c: In function 'welded': wield.c:858:1: warning: old-style function definition [-Wold-style-definition] 858 | welded(obj) | ^~~~~~ wield.c: In function 'weldmsg': wield.c:869:1: warning: old-style function definition [-Wold-style-definition] 869 | weldmsg(obj) | ^~~~~~~ wield.c: In function 'mwelded': wield.c:883:1: warning: old-style function definition [-Wold-style-definition] 883 | mwelded(obj) | ^~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o windows.o windows.c In file included from ../include/hack.h:10, from windows.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition windows.c: In function 'def_raw_print': windows.c:204:1: warning: old-style function definition [-Wold-style-definition] 204 | def_raw_print(s) | ^~~~~~~~~~~~~ windows.c: In function 'choose_windows': windows.c:243:1: warning: old-style function definition [-Wold-style-definition] 243 | choose_windows(s) | ^~~~~~~~~~~~~~ windows.c: In function 'genl_message_menu': windows.c:430:1: warning: old-style function definition [-Wold-style-definition] 430 | genl_message_menu(let, how, mesg) | ^~~~~~~~~~~~~~~~~ windows.c: In function 'genl_preference_update': windows.c:441:1: warning: old-style function definition [-Wold-style-definition] 441 | genl_preference_update(pref) | ^~~~~~~~~~~~~~~~~~~~~~ windows.c: In function 'genl_getmsghistory': windows.c:453:1: warning: old-style function definition [-Wold-style-definition] 453 | genl_getmsghistory(init) | ^~~~~~~~~~~~~~~~~~ windows.c: In function 'genl_putmsghistory': windows.c:471:1: warning: old-style function definition [-Wold-style-definition] 471 | genl_putmsghistory(msg, is_restoring) | ^~~~~~~~~~~~~~~~~~ windows.c: In function 'hup_exit_nhwindows': windows.c:625:1: warning: old-style function definition [-Wold-style-definition] 625 | hup_exit_nhwindows(lastgasp) | ^~~~~~~~~~~~~~~~~~ windows.c: In function 'hup_yn_function': windows.c:647:1: warning: old-style function definition [-Wold-style-definition] 647 | hup_yn_function(prompt, resp, deflt) | ^~~~~~~~~~~~~~~ windows.c: In function 'hup_nh_poskey': windows.c:658:1: warning: old-style function definition [-Wold-style-definition] 658 | hup_nh_poskey(x, y, mod) | ^~~~~~~~~~~~~ windows.c: In function 'hup_getlin': windows.c:666:1: warning: old-style function definition [-Wold-style-definition] 666 | hup_getlin(prompt, outbuf) | ^~~~~~~~~~ windows.c: In function 'hup_init_nhwindows': windows.c:675:1: warning: old-style function definition [-Wold-style-definition] 675 | hup_init_nhwindows(argc_p, argv) | ^~~~~~~~~~~~~~~~~~ windows.c: In function 'hup_create_nhwindow': windows.c:684:1: warning: old-style function definition [-Wold-style-definition] 684 | hup_create_nhwindow(type) | ^~~~~~~~~~~~~~~~~~~ windows.c: In function 'hup_select_menu': windows.c:692:1: warning: old-style function definition [-Wold-style-definition] 692 | hup_select_menu(window, how, menu_list) | ^~~~~~~~~~~~~~~ windows.c: In function 'hup_add_menu': windows.c:702:1: warning: old-style function definition [-Wold-style-definition] 702 | hup_add_menu(window, glyph, identifier, sel, grpsel, attr, txt, preselected) | ^~~~~~~~~~~~ windows.c: In function 'hup_end_menu': windows.c:715:1: warning: old-style function definition [-Wold-style-definition] 715 | hup_end_menu(window, prompt) | ^~~~~~~~~~~~ windows.c: In function 'hup_putstr': windows.c:724:1: warning: old-style function definition [-Wold-style-definition] 724 | hup_putstr(window, attr, text) | ^~~~~~~~~~ windows.c: In function 'hup_print_glyph': windows.c:734:1: warning: old-style function definition [-Wold-style-definition] 734 | hup_print_glyph(window, x, y, glyph, bkglyph) | ^~~~~~~~~~~~~~~ windows.c: In function 'hup_outrip': windows.c:745:1: warning: old-style function definition [-Wold-style-definition] 745 | hup_outrip(tmpwin, how, when) | ^~~~~~~~~~ windows.c: In function 'hup_curs': windows.c:755:1: warning: old-style function definition [-Wold-style-definition] 755 | hup_curs(window, x, y) | ^~~~~~~~ windows.c: In function 'hup_display_nhwindow': windows.c:764:1: warning: old-style function definition [-Wold-style-definition] 764 | hup_display_nhwindow(window, blocking) | ^~~~~~~~~~~~~~~~~~~~ windows.c: In function 'hup_display_file': windows.c:773:1: warning: old-style function definition [-Wold-style-definition] 773 | hup_display_file(fname, complain) | ^~~~~~~~~~~~~~~~ windows.c: In function 'hup_cliparound': windows.c:783:1: warning: old-style function definition [-Wold-style-definition] 783 | hup_cliparound(x, y) | ^~~~~~~~~~~~~~ windows.c: In function 'hup_status_update': windows.c:820:1: warning: old-style function definition [-Wold-style-definition] 820 | hup_status_update(idx, ptr, chg, pc, color, colormasks) | ^~~~~~~~~~~~~~~~~ windows.c: In function 'hup_void_fdecl_int': windows.c:848:1: warning: old-style function definition [-Wold-style-definition] 848 | hup_void_fdecl_int(arg) | ^~~~~~~~~~~~~~~~~~ windows.c: In function 'hup_void_fdecl_winid': windows.c:856:1: warning: old-style function definition [-Wold-style-definition] 856 | hup_void_fdecl_winid(window) | ^~~~~~~~~~~~~~~~~~~~ windows.c: In function 'hup_void_fdecl_constchar_p': windows.c:864:1: warning: old-style function definition [-Wold-style-definition] 864 | hup_void_fdecl_constchar_p(string) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ windows.c: In function 'genl_status_enablefield': windows.c:912:1: warning: old-style function definition [-Wold-style-definition] 912 | genl_status_enablefield(fieldidx, nm, fmt, enable) | ^~~~~~~~~~~~~~~~~~~~~~~ windows.c: In function 'genl_status_update': windows.c:925:1: warning: old-style function definition [-Wold-style-definition] 925 | genl_status_update(idx, ptr, chg, percent, color, colormasks) | ^~~~~~~~~~~~~~~~~~ windows.c: In function 'dump_fmtstr': windows.c:1112:1: warning: old-style function definition [-Wold-style-definition] 1112 | dump_fmtstr(fmt, buf, fullsubs) | ^~~~~~~~~~~ windows.c: In function 'dump_open_log': windows.c:1229:1: warning: old-style function definition [-Wold-style-definition] 1229 | dump_open_log(now) | ^~~~~~~~~~~~~ windows.c: In function 'dump_forward_putstr': windows.c:1262:1: warning: old-style function definition [-Wold-style-definition] 1262 | dump_forward_putstr(win, attr, str, no_forward) | ^~~~~~~~~~~~~~~~~~~ windows.c: In function 'dump_putstr': windows.c:1276:1: warning: old-style function definition [-Wold-style-definition] 1276 | dump_putstr(win, attr, str) | ^~~~~~~~~~~ windows.c: In function 'dump_create_nhwindow': windows.c:1286:1: warning: old-style function definition [-Wold-style-definition] 1286 | dump_create_nhwindow(dummy) | ^~~~~~~~~~~~~~~~~~~~ windows.c: In function 'dump_clear_nhwindow': windows.c:1294:1: warning: old-style function definition [-Wold-style-definition] 1294 | dump_clear_nhwindow(win) | ^~~~~~~~~~~~~~~~~~~ windows.c: In function 'dump_display_nhwindow': windows.c:1302:1: warning: old-style function definition [-Wold-style-definition] 1302 | dump_display_nhwindow(win, p) | ^~~~~~~~~~~~~~~~~~~~~ windows.c: In function 'dump_destroy_nhwindow': windows.c:1311:1: warning: old-style function definition [-Wold-style-definition] 1311 | dump_destroy_nhwindow(win) | ^~~~~~~~~~~~~~~~~~~~~ windows.c: In function 'dump_start_menu': windows.c:1319:1: warning: old-style function definition [-Wold-style-definition] 1319 | dump_start_menu(win) | ^~~~~~~~~~~~~~~ windows.c: In function 'dump_add_menu': windows.c:1327:1: warning: old-style function definition [-Wold-style-definition] 1327 | dump_add_menu(win, glyph, identifier, ch, gch, attr, str, preselected) | ^~~~~~~~~~~~~ windows.c: In function 'dump_end_menu': windows.c:1347:1: warning: old-style function definition [-Wold-style-definition] 1347 | dump_end_menu(win, str) | ^~~~~~~~~~~~~ windows.c: In function 'dump_select_menu': windows.c:1360:1: warning: old-style function definition [-Wold-style-definition] 1360 | dump_select_menu(win, how, item) | ^~~~~~~~~~~~~~~~ windows.c: In function 'dump_redirect': windows.c:1370:1: warning: old-style function definition [-Wold-style-definition] 1370 | dump_redirect(onoff_flag) | ^~~~~~~~~~~~~ windows.c: In function 'has_color': windows.c:1404:1: warning: old-style function definition [-Wold-style-definition] 1404 | has_color(color) | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o wizard.o wizard.c In file included from ../include/hack.h:10, from wizard.c:11: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition wizard.c: In function 'mon_has_amulet': wizard.c:103:1: warning: old-style function definition [-Wold-style-definition] 103 | mon_has_amulet(mtmp) | ^~~~~~~~~~~~~~ wizard.c: In function 'mon_has_special': wizard.c:115:1: warning: old-style function definition [-Wold-style-definition] 115 | mon_has_special(mtmp) | ^~~~~~~~~~~~~~~ wizard.c: In function 'which_arti': wizard.c:144:1: warning: old-style function definition [-Wold-style-definition] 144 | which_arti(mask) | ^~~~~~~~~~ wizard.c: In function 'mon_has_arti': wizard.c:168:1: warning: old-style function definition [-Wold-style-definition] 168 | mon_has_arti(mtmp, otyp) | ^~~~~~~~~~~~ wizard.c: In function 'other_mon_has_arti': wizard.c:185:1: warning: old-style function definition [-Wold-style-definition] 185 | other_mon_has_arti(mtmp, otyp) | ^~~~~~~~~~~~~~~~~~ wizard.c: In function 'on_ground': wizard.c:201:1: warning: old-style function definition [-Wold-style-definition] 201 | on_ground(otyp) | ^~~~~~~~~ wizard.c: In function 'you_have': wizard.c:216:1: warning: old-style function definition [-Wold-style-definition] 216 | you_have(mask) | ^~~~~~~~ wizard.c: In function 'target_on': wizard.c:237:1: warning: old-style function definition [-Wold-style-definition] 237 | target_on(mask, mtmp) | ^~~~~~~~~ wizard.c: In function 'strategy': wizard.c:265:1: warning: old-style function definition [-Wold-style-definition] 265 | strategy(mtmp) | ^~~~~~~~ wizard.c: In function 'choose_stairs': wizard.c:326:1: warning: old-style function definition [-Wold-style-definition] 326 | choose_stairs(sx, sy) | ^~~~~~~~~~~~~ wizard.c: In function 'tactics': wizard.c:362:1: warning: old-style function definition [-Wold-style-definition] 362 | tactics(mtmp) | ^~~~~~~ wizard.c: In function 'has_aggravatables': wizard.c:455:1: warning: old-style function definition [-Wold-style-definition] 455 | has_aggravatables(mon) | ^~~~~~~~~~~~~~~~~ wizard.c: In function 'nasty': wizard.c:541:1: warning: old-style function definition [-Wold-style-definition] 541 | nasty(summoner) | ^~~~~ wizard.c: In function 'cuss': wizard.c:742:1: warning: old-style function definition [-Wold-style-definition] 742 | cuss(mtmp) | ^~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o worm.o worm.c In file included from ../include/hack.h:10, from worm.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition worm.c: In function 'initworm': worm.c:111:1: warning: old-style function definition [-Wold-style-definition] 111 | initworm(worm, wseg_count) | ^~~~~~~~ worm.c: In function 'toss_wsegs': worm.c:142:1: warning: old-style function definition [-Wold-style-definition] 142 | toss_wsegs(curr, display_update) | ^~~~~~~~~~ worm.c: In function 'shrink_worm': worm.c:175:1: warning: old-style function definition [-Wold-style-definition] 175 | shrink_worm(wnum) | ^~~~~~~~~~~ worm.c: In function 'worm_move': worm.c:197:1: warning: old-style function definition [-Wold-style-definition] 197 | worm_move(worm) | ^~~~~~~~~ worm.c: In function 'worm_nomove': worm.c:245:1: warning: old-style function definition [-Wold-style-definition] 245 | worm_nomove(worm) | ^~~~~~~~~~~ worm.c: In function 'wormgone': worm.c:264:1: warning: old-style function definition [-Wold-style-definition] 264 | wormgone(worm) | ^~~~~~~~ worm.c: In function 'wormhitu': worm.c:289:1: warning: old-style function definition [-Wold-style-definition] 289 | wormhitu(worm) | ^~~~~~~~ worm.c: In function 'cutworm': worm.c:317:1: warning: old-style function definition [-Wold-style-definition] 317 | cutworm(worm, x, y, cuttier) | ^~~~~~~ worm.c: In function 'see_wsegs': worm.c:433:1: warning: old-style function definition [-Wold-style-definition] 433 | see_wsegs(worm) | ^~~~~~~~~ worm.c: In function 'detect_wsegs': worm.c:452:1: warning: old-style function definition [-Wold-style-definition] 452 | detect_wsegs(worm, use_detection_glyph) | ^~~~~~~~~~~~ worm.c: In function 'save_worm': worm.c:480:1: warning: old-style function definition [-Wold-style-definition] 480 | save_worm(fd, mode) | ^~~~~~~~~ worm.c: In function 'rest_worm': worm.c:527:1: warning: old-style function definition [-Wold-style-definition] 527 | rest_worm(fd) | ^~~~~~~~~ worm.c: In function 'place_wsegs': worm.c:563:1: warning: old-style function definition [-Wold-style-definition] 563 | place_wsegs(worm, oldworm) | ^~~~~~~~~~~ worm.c: In function 'sanity_check_worm': worm.c:586:1: warning: old-style function definition [-Wold-style-definition] 586 | sanity_check_worm(worm) | ^~~~~~~~~~~~~~~~~ worm.c: In function 'remove_worm': worm.c:618:1: warning: old-style function definition [-Wold-style-definition] 618 | remove_worm(worm) | ^~~~~~~~~~~ worm.c: In function 'place_worm_tail_randomly': worm.c:645:1: warning: old-style function definition [-Wold-style-definition] 645 | place_worm_tail_randomly(worm, x, y) | ^~~~~~~~~~~~~~~~~~~~~~~~ worm.c: In function 'random_dir': worm.c:701:1: warning: old-style function definition [-Wold-style-definition] 701 | random_dir(x, y, nx, ny) | ^~~~~~~~~~ worm.c: In function 'size_wseg': worm.c:726:1: warning: old-style function definition [-Wold-style-definition] 726 | size_wseg(worm) | ^~~~~~~~~ worm.c: In function 'count_wsegs': worm.c:736:1: warning: old-style function definition [-Wold-style-definition] 736 | count_wsegs(mtmp) | ^~~~~~~~~~~ worm.c: In function 'create_worm_tail': worm.c:754:1: warning: old-style function definition [-Wold-style-definition] 754 | create_worm_tail(num_segs) | ^~~~~~~~~~~~~~~~ worm.c: In function 'worm_known': worm.c:786:1: warning: old-style function definition [-Wold-style-definition] 786 | worm_known(worm) | ^~~~~~~~~~ worm.c: In function 'worm_cross': worm.c:802:1: warning: old-style function definition [-Wold-style-definition] 802 | worm_cross(x1, y1, x2, y2) | ^~~~~~~~~~ worm.c: In function 'wseg_at': worm.c:851:1: warning: old-style function definition [-Wold-style-definition] 851 | wseg_at(worm, x, y) | ^~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o worn.o worn.c In file included from ../include/hack.h:10, from worn.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition worn.c: In function 'setworn': worn.c:47:1: warning: old-style function definition [-Wold-style-definition] 47 | setworn(obj, mask) | ^~~~~~~ worn.c: In function 'setnotworn': worn.c:115:1: warning: old-style function definition [-Wold-style-definition] 115 | setnotworn(obj) | ^~~~~~~~~~ worn.c: In function 'wearmask_to_obj': worn.c:145:1: warning: old-style function definition [-Wold-style-definition] 145 | wearmask_to_obj(wornmask) | ^~~~~~~~~~~~~~~ worn.c: In function 'wearslot': worn.c:158:1: warning: old-style function definition [-Wold-style-definition] 158 | wearslot(obj) | ^~~~~~~~ worn.c: In function 'mon_set_minvis': worn.c:231:1: warning: old-style function definition [-Wold-style-definition] 231 | mon_set_minvis(mon) | ^~~~~~~~~~~~~~ worn.c: In function 'mon_adjust_speed': worn.c:244:1: warning: old-style function definition [-Wold-style-definition] 244 | mon_adjust_speed(mon, adjust, obj) | ^~~~~~~~~~~~~~~~ worn.c: In function 'update_mon_intrinsics': worn.c:323:1: warning: old-style function definition [-Wold-style-definition] 323 | update_mon_intrinsics(mon, obj, on, silently) | ^~~~~~~~~~~~~~~~~~~~~ worn.c: In function 'find_mac': worn.c:436:1: warning: old-style function definition [-Wold-style-definition] 436 | find_mac(mon) | ^~~~~~~~ worn.c: In function 'm_dowear': worn.c:470:1: warning: old-style function definition [-Wold-style-definition] 470 | m_dowear(mon, creation) | ^~~~~~~~ worn.c: In function 'm_dowear_type': worn.c:509:1: warning: old-style function definition [-Wold-style-definition] 509 | m_dowear_type(mon, flag, creation, racialexception) | ^~~~~~~~~~~~~ worn.c: In function 'which_armor': worn.c:653:1: warning: old-style function definition [-Wold-style-definition] 653 | which_armor(mon, flag) | ^~~~~~~~~~~ worn.c: In function 'm_lose_armor': worn.c:689:1: warning: old-style function definition [-Wold-style-definition] 689 | m_lose_armor(mon, obj) | ^~~~~~~~~~~~ worn.c: In function 'bypass_obj': worn.c:768:1: warning: old-style function definition [-Wold-style-definition] 768 | bypass_obj(obj) | ^~~~~~~~~~ worn.c: In function 'bypass_objlist': worn.c:777:1: warning: old-style function definition [-Wold-style-definition] 777 | bypass_objlist(objchain, on) | ^~~~~~~~~~~~~~ worn.c: In function 'nxt_unbypassed_obj': worn.c:792:1: warning: old-style function definition [-Wold-style-definition] 792 | nxt_unbypassed_obj(objchain) | ^~~~~~~~~~~~~~~~~~ worn.c: In function 'nxt_unbypassed_loot': worn.c:810:1: warning: old-style function definition [-Wold-style-definition] 810 | nxt_unbypassed_loot(lootarray, listhead) | ^~~~~~~~~~~~~~~~~~~ worn.c: In function 'mon_break_armor': worn.c:830:1: warning: old-style function definition [-Wold-style-definition] 830 | mon_break_armor(mon, polyspot) | ^~~~~~~~~~~~~~~ worn.c: In function 'extra_pref': worn.c:991:1: warning: old-style function definition [-Wold-style-definition] 991 | extra_pref(mon, obj) | ^~~~~~~~~~ worn.c: In function 'racial_exception': worn.c:1014:1: warning: old-style function definition [-Wold-style-definition] 1014 | racial_exception(mon, obj) | ^~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o write.o write.c In file included from ../include/hack.h:10, from write.c:4: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition write.c: In function 'cost': write.c:14:1: warning: old-style function definition [-Wold-style-definition] 14 | cost(otmp) | ^~~~ write.c: In function 'label_known': write.c:65:1: warning: old-style function definition [-Wold-style-definition] 65 | label_known(scrolltype, objlist) | ^~~~~~~~~~~ write.c: In function 'dowrite': write.c:94:1: warning: old-style function definition [-Wold-style-definition] 94 | dowrite(pen) | ^~~~~~~ write.c: In function 'new_book_description': write.c:363:1: warning: old-style function definition [-Wold-style-definition] 363 | new_book_description(booktype, outbuf) | ^~~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o zap.o zap.c In file included from ../include/hack.h:10, from zap.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition zap.c: In function 'learnwand': zap.c:102:1: warning: old-style function definition [-Wold-style-definition] 102 | learnwand(obj) | ^~~~~~~~~ zap.c: In function 'bhitm': zap.c:136:1: warning: old-style function definition [-Wold-style-definition] 136 | bhitm(mtmp, otmp) | ^~~~~ zap.c: In function 'probe_monster': zap.c:485:1: warning: old-style function definition [-Wold-style-definition] 485 | probe_monster(mtmp) | ^~~~~~~~~~~~~ zap.c: In function 'get_obj_location': zap.c:523:1: warning: old-style function definition [-Wold-style-definition] 523 | get_obj_location(obj, xp, yp, locflags) | ^~~~~~~~~~~~~~~~ zap.c: In function 'get_mon_location': zap.c:561:1: warning: old-style function definition [-Wold-style-definition] 561 | get_mon_location(mon, xp, yp, locflags) | ^~~~~~~~~~~~~~~~ zap.c: In function 'montraits': zap.c:582:1: warning: old-style function definition [-Wold-style-definition] 582 | montraits(obj, cc, adjacentok) | ^~~~~~~~~ zap.c: In function 'get_container_location': zap.c:686:1: warning: old-style function definition [-Wold-style-definition] 686 | get_container_location(obj, loc, container_nesting) | ^~~~~~~~~~~~~~~~~~~~~~ zap.c: In function 'revive': zap.c:716:1: warning: old-style function definition [-Wold-style-definition] 716 | revive(corpse, by_hero) | ^~~~~~ zap.c: In function 'revive_egg': zap.c:947:1: warning: old-style function definition [-Wold-style-definition] 947 | revive_egg(obj) | ^~~~~~~~~~ zap.c: In function 'unturn_dead': zap.c:961:1: warning: old-style function definition [-Wold-style-definition] 961 | unturn_dead(mon) | ^~~~~~~~~~~ zap.c: In function 'cancel_item': zap.c:1001:1: warning: old-style function definition [-Wold-style-definition] 1001 | cancel_item(obj) | ^~~~~~~~~~~ zap.c: In function 'drain_item': zap.c:1102:1: warning: old-style function definition [-Wold-style-definition] 1102 | drain_item(obj, by_you) | ^~~~~~~~~~ zap.c: In function 'obj_resists': zap.c:1180:1: warning: old-style function definition [-Wold-style-definition] 1180 | obj_resists(obj, ochance, achance) | ^~~~~~~~~~~ zap.c: In function 'obj_shudders': zap.c:1198:1: warning: old-style function definition [-Wold-style-definition] 1198 | obj_shudders(obj) | ^~~~~~~~~~~~ zap.c: In function 'polyuse': zap.c:1228:1: warning: old-style function definition [-Wold-style-definition] 1228 | polyuse(objhdr, mat, minwt) | ^~~~~~~ zap.c: In function 'create_polymon': zap.c:1271:1: warning: old-style function definition [-Wold-style-definition] 1271 | create_polymon(obj, okind) | ^~~~~~~~~~~~~~ zap.c: In function 'do_osshock': zap.c:1364:1: warning: old-style function definition [-Wold-style-definition] 1364 | do_osshock(obj) | ^~~~~~~~~~ zap.c: In function 'poly_obj': zap.c:1421:1: warning: old-style function definition [-Wold-style-definition] 1421 | poly_obj(obj, id) | ^~~~~~~~ zap.c: In function 'stone_to_flesh_obj': zap.c:1692:1: warning: old-style function definition [-Wold-style-definition] 1692 | stone_to_flesh_obj(obj) | ^~~~~~~~~~~~~~~~~~ zap.c: In function 'bhito': zap.c:1816:1: warning: old-style function definition [-Wold-style-definition] 1816 | bhito(obj, otmp) | ^~~~~ zap.c: In function 'bhitpile': zap.c:2090:1: warning: old-style function definition [-Wold-style-definition] 2090 | bhitpile(obj, fhito, tx, ty, zz) | ^~~~~~~~ zap.c: In function 'zappable': zap.c:2134:1: warning: old-style function definition [-Wold-style-definition] 2134 | zappable(wand) | ^~~~~~~~ zap.c: In function 'zapnodir': zap.c:2150:1: warning: old-style function definition [-Wold-style-definition] 2150 | zapnodir(obj) | ^~~~~~~~ zap.c: In function 'backfire': zap.c:2202:1: warning: old-style function definition [-Wold-style-definition] 2202 | backfire(otmp) | ^~~~~~~~ zap.c: In function 'zapyourself': zap.c:2271:1: warning: old-style function definition [-Wold-style-definition] 2271 | zapyourself(obj, ordinary) | ^~~~~~~~~~~ zap.c: In function 'ubreatheu': zap.c:2603:1: warning: old-style function definition [-Wold-style-definition] 2603 | ubreatheu(mattk) | ^~~~~~~~~ zap.c: In function 'lightdamage': zap.c:2614:1: warning: old-style function definition [-Wold-style-definition] 2614 | lightdamage(obj, ordinary, amt) | ^~~~~~~~~~~ zap.c: In function 'flashburn': zap.c:2648:1: warning: old-style function definition [-Wold-style-definition] 2648 | flashburn(duration) | ^~~~~~~~~ zap.c: In function 'zap_steed': zap.c:2666:1: warning: old-style function definition [-Wold-style-definition] 2666 | zap_steed(obj) | ^~~~~~~~~ zap.c: In function 'cancel_monst': zap.c:2730:1: warning: old-style function definition [-Wold-style-definition] 2730 | cancel_monst(mdef, obj, youattack, allow_cancel_kill, self_cancel) | ^~~~~~~~~~~~ zap.c: In function 'zap_updown': zap.c:2810:1: warning: old-style function definition [-Wold-style-definition] 2810 | zap_updown(obj) | ^~~~~~~~~~ zap.c: In function 'weffects': zap.c:3029:1: warning: old-style function definition [-Wold-style-definition] 3029 | weffects(obj) | ^~~~~~~~ zap.c: In function 'spell_damage_bonus': zap.c:3080:1: warning: old-style function definition [-Wold-style-definition] 3080 | spell_damage_bonus(dmg) | ^~~~~~~~~~~~~~~~~~ zap.c: In function 'spell_hit_bonus': zap.c:3109:1: warning: old-style function definition [-Wold-style-definition] 3109 | spell_hit_bonus(skill) | ^~~~~~~~~~~~~~~ zap.c: In function 'exclam': zap.c:3148:1: warning: old-style function definition [-Wold-style-definition] 3148 | exclam(force) | ^~~~~~ zap.c: In function 'hit': zap.c:3158:1: warning: old-style function definition [-Wold-style-definition] 3158 | hit(str, mtmp, force) | ^~~ zap.c: In function 'miss': zap.c:3172:1: warning: old-style function definition [-Wold-style-definition] 3172 | miss(str, mtmp) | ^~~~ zap.c: In function 'skiprange': zap.c:3184:1: warning: old-style function definition [-Wold-style-definition] 3184 | skiprange(range, skipstart, skipend) | ^~~~~~~~~ zap.c: In function 'bhit': zap.c:3218:1: warning: old-style function definition [-Wold-style-definition] 3218 | bhit(ddx, ddy, range, weapon, fhitm, fhito, pobj) | ^~~~ zap.c: In function 'boomhit': zap.c:3522:1: warning: old-style function definition [-Wold-style-definition] 3522 | boomhit(obj, dx, dy) | ^~~~~~~ zap.c: In function 'zhitm': zap.c:3602:1: warning: old-style function definition [-Wold-style-definition] 3602 | zhitm(mon, type, nd, ootmp) | ^~~~~ zap.c: In function 'zhitu': zap.c:3764:1: warning: old-style function definition [-Wold-style-definition] 3764 | zhitu(type, nd, fltxt, sx, sy) | ^~~~~ zap.c: In function 'burn_floor_objects': zap.c:3905:1: warning: old-style function definition [-Wold-style-definition] 3905 | burn_floor_objects(x, y, give_feedback, u_caused) | ^~~~~~~~~~~~~~~~~~ zap.c: In function 'zap_hit': zap.c:3963:1: warning: old-style function definition [-Wold-style-definition] 3963 | zap_hit(ac, type) | ^~~~~~~ zap.c: In function 'disintegrate_mon': zap.c:3981:1: warning: old-style function definition [-Wold-style-definition] 3981 | disintegrate_mon(mon, type, fltxt) | ^~~~~~~~~~~~~~~~ zap.c: In function 'buzz': zap.c:4026:1: warning: old-style function definition [-Wold-style-definition] 4026 | buzz(type, nd, sx, sy, dx, dy) | ^~~~ zap.c: In function 'dobuzz': zap.c:4044:1: warning: old-style function definition [-Wold-style-definition] 4044 | dobuzz(type, nd, sx, sy, dx, dy, say) | ^~~~~~ zap.c: In function 'melt_ice': zap.c:4315:1: warning: old-style function definition [-Wold-style-definition] 4315 | melt_ice(x, y, msg) | ^~~~~~~~ zap.c: In function 'start_melt_ice_timeout': zap.c:4370:1: warning: old-style function definition [-Wold-style-definition] 4370 | start_melt_ice_timeout(x, y, min_time) | ^~~~~~~~~~~~~~~~~~~~~~ zap.c: In function 'melt_ice_away': zap.c:4401:1: warning: old-style function definition [-Wold-style-definition] 4401 | melt_ice_away(arg, timeout) | ^~~~~~~~~~~~~ zap.c: In function 'zap_over_floor': zap.c:4424:1: warning: old-style function definition [-Wold-style-definition] 4424 | zap_over_floor(x, y, type, shopdamage, exploding_wand_typ) | ^~~~~~~~~~~~~~ zap.c: In function 'fracture_rock': zap.c:4720:1: warning: old-style function definition [-Wold-style-definition] 4720 | fracture_rock(obj) | ^~~~~~~~~~~~~ zap.c: In function 'break_statue': zap.c:4760:1: warning: old-style function definition [-Wold-style-definition] 4760 | break_statue(obj) | ^~~~~~~~~~~~ zap.c: In function 'destroy_one_item': zap.c:4811:1: warning: old-style function definition [-Wold-style-definition] 4811 | destroy_one_item(obj, osym, dmgtyp) | ^~~~~~~~~~~~~~~~ zap.c: In function 'destroy_item': zap.c:4958:1: warning: old-style function definition [-Wold-style-definition] 4958 | destroy_item(osym, dmgtyp) | ^~~~~~~~~~~~ zap.c: In function 'destroy_mitem': zap.c:5040:1: warning: old-style function definition [-Wold-style-definition] 5040 | destroy_mitem(mtmp, osym, dmgtyp) | ^~~~~~~~~~~~~ zap.c: In function 'resist': zap.c:5160:1: warning: old-style function definition [-Wold-style-definition] 5160 | resist(mtmp, oclass, damage, tell) | ^~~~~~ zap.c: In function 'wishcmdassist': zap.c:5228:1: warning: old-style function definition [-Wold-style-definition] 5228 | wishcmdassist(triesleft) | ^~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c In file included from ../include/hack.h:10, from ../sys/share/posixregex.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c In file included from ../include/hack.h:10, from ../sys/share/ioctl.c:10: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.c In file included from ../include/hack.h:10, from ../sys/unix/unixmain.c:8: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../sys/unix/unixmain.c: In function 'main': ../sys/unix/unixmain.c:49:1: warning: old-style function definition [-Wold-style-definition] 49 | main(argc, argv) | ^~~~ ../sys/unix/unixmain.c: In function 'process_options': ../sys/unix/unixmain.c:360:1: warning: old-style function definition [-Wold-style-definition] 360 | process_options(argc, argv) | ^~~~~~~~~~~~~~~ ../sys/unix/unixmain.c: In function 'chdirx': ../sys/unix/unixmain.c:480:1: warning: old-style function definition [-Wold-style-definition] 480 | chdirx(dir, wr) | ^~~~~~ ../sys/unix/unixmain.c: In function 'sethanguphandler': ../sys/unix/unixmain.c:571:1: warning: old-style function definition [-Wold-style-definition] 571 | sethanguphandler(handler) | ^~~~~~~~~~~~~~~~ ../sys/unix/unixmain.c: In function 'append_slash': ../sys/unix/unixmain.c:644:1: warning: old-style function definition [-Wold-style-definition] 644 | append_slash(name) | ^~~~~~~~~~~~ ../sys/unix/unixmain.c: In function 'check_user_string': ../sys/unix/unixmain.c:660:1: warning: old-style function definition [-Wold-style-definition] 660 | check_user_string(optstr) | ^~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.c In file included from ../include/hack.h:10, from ../sys/share/unixtty.c:13: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../sys/share/unixtty.c: In function 'speednum': ../sys/share/unixtty.c:157:1: warning: old-style function definition [-Wold-style-definition] 157 | speednum(speed) | ^~~~~~~~ ../sys/share/unixtty.c: In function 'settty': ../sys/share/unixtty.c:234:1: warning: old-style function definition [-Wold-style-definition] 234 | settty(s) | ^~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.c In file included from ../include/hack.h:10, from ../sys/unix/unixunix.c:8: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../sys/unix/unixunix.c: In function 'veryold': ../sys/unix/unixunix.c:35:1: warning: old-style function definition [-Wold-style-definition] 35 | veryold(fd) | ^~~~~~~ ../sys/unix/unixunix.c: In function 'regularize': ../sys/unix/unixunix.c:218:1: warning: old-style function definition [-Wold-style-definition] 218 | regularize(s) | ^~~~~~~~~~ ../sys/unix/unixunix.c: In function 'child': ../sys/unix/unixunix.c:294:1: warning: old-style function definition [-Wold-style-definition] 294 | child(wt) | ^~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o unixres.o ../sys/unix/unixres.c In file included from ../sys/unix/unixres.c:17: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o getline.o ../win/tty/getline.c In file included from ../include/hack.h:10, from ../win/tty/getline.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/tty/getline.c: In function 'tty_getlin': ../win/tty/getline.c:36:1: warning: old-style function definition [-Wold-style-definition] 36 | tty_getlin(query, bufp) | ^~~~~~~~~~ ../win/tty/getline.c: In function 'hooked_tty_getlin': ../win/tty/getline.c:45:1: warning: old-style function definition [-Wold-style-definition] 45 | hooked_tty_getlin(query, bufp, hook) | ^~~~~~~~~~~~~~~~~ ../win/tty/getline.c: In function 'xwaitforspace': ../win/tty/getline.c:213:1: warning: old-style function definition [-Wold-style-definition] 213 | xwaitforspace(s) | ^~~~~~~~~~~~~ ../win/tty/getline.c: In function 'ext_cmd_getlin_hook': ../win/tty/getline.c:256:1: warning: old-style function definition [-Wold-style-definition] 256 | ext_cmd_getlin_hook(base) | ^~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o termcap.o ../win/tty/termcap.c In file included from ../include/hack.h:10, from ../win/tty/termcap.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/tty/termcap.c: In function 'tty_startup': ../win/tty/termcap.c:73:1: warning: old-style function definition [-Wold-style-definition] 73 | tty_startup(wid, hgt) | ^~~~~~~~~~~ ../win/tty/termcap.c: In function 'tty_number_pad': ../win/tty/termcap.c:343:1: warning: old-style function definition [-Wold-style-definition] 343 | tty_number_pad(state) | ^~~~~~~~~~~~~~ ../win/tty/termcap.c: In function 'nocmov': ../win/tty/termcap.c:504:1: warning: old-style function definition [-Wold-style-definition] 504 | nocmov(x, y) | ^~~~~~ ../win/tty/termcap.c: In function 'cmov': ../win/tty/termcap.c:554:1: warning: old-style function definition [-Wold-style-definition] 554 | cmov(x, y) | ^~~~ ../win/tty/termcap.c: In function 'xputc': ../win/tty/termcap.c:564:1: warning: old-style function definition [-Wold-style-definition] 564 | xputc(c) | ^~~~~ ../win/tty/termcap.c: In function 'xputs': ../win/tty/termcap.c:586:1: warning: old-style function definition [-Wold-style-definition] 586 | xputs(s) | ^~~~~ ../win/tty/termcap.c: In function 's_atr2str': ../win/tty/termcap.c:1155:1: warning: old-style function definition [-Wold-style-definition] 1155 | s_atr2str(n) | ^~~~~~~~~ ../win/tty/termcap.c: In function 'e_atr2str': ../win/tty/termcap.c:1188:1: warning: old-style function definition [-Wold-style-definition] 1188 | e_atr2str(n) | ^~~~~~~~~ ../win/tty/termcap.c: In function 'term_attr_fixup': ../win/tty/termcap.c:1213:1: warning: old-style function definition [-Wold-style-definition] 1213 | term_attr_fixup(msk) | ^~~~~~~~~~~~~~~ ../win/tty/termcap.c: In function 'term_start_attr': ../win/tty/termcap.c:1234:1: warning: old-style function definition [-Wold-style-definition] 1234 | term_start_attr(attr) | ^~~~~~~~~~~~~~~ ../win/tty/termcap.c: In function 'term_end_attr': ../win/tty/termcap.c:1246:1: warning: old-style function definition [-Wold-style-definition] 1246 | term_end_attr(attr) | ^~~~~~~~~~~~~ ../win/tty/termcap.c: In function 'term_start_color': ../win/tty/termcap.c:1278:1: warning: old-style function definition [-Wold-style-definition] 1278 | term_start_color(color) | ^~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o topl.o ../win/tty/topl.c In file included from ../include/hack.h:10, from ../win/tty/topl.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/tty/topl.c: In function 'redotoplin': ../win/tty/topl.c:126:1: warning: old-style function definition [-Wold-style-definition] 126 | redotoplin(str) | ^~~~~~~~~~ ../win/tty/topl.c: In function 'show_topl': ../win/tty/topl.c:148:1: warning: old-style function definition [-Wold-style-definition] 148 | show_topl(str) | ^~~~~~~~~ ../win/tty/topl.c: In function 'addtopl': ../win/tty/topl.c:191:1: warning: old-style function definition [-Wold-style-definition] 191 | addtopl(s) | ^~~~~~~ ../win/tty/topl.c: In function 'update_topl': ../win/tty/topl.c:244:1: warning: old-style function definition [-Wold-style-definition] 244 | update_topl(bp) | ^~~~~~~~~~~ ../win/tty/topl.c: In function 'topl_putsym': ../win/tty/topl.c:299:1: warning: old-style function definition [-Wold-style-definition] 299 | topl_putsym(c) | ^~~~~~~~~~~ ../win/tty/topl.c: In function 'putsyms': ../win/tty/topl.c:341:1: warning: old-style function definition [-Wold-style-definition] 341 | putsyms(str) | ^~~~~~~ ../win/tty/topl.c: In function 'removetopl': ../win/tty/topl.c:349:1: warning: old-style function definition [-Wold-style-definition] 349 | removetopl(n) | ^~~~~~~~~~ ../win/tty/topl.c: In function 'tty_yn_function': ../win/tty/topl.c:361:1: warning: old-style function definition [-Wold-style-definition] 361 | tty_yn_function(query, resp, def) | ^~~~~~~~~~~~~~~ ../win/tty/topl.c: In function 'msghistory_snapshot': ../win/tty/topl.c:549:1: warning: old-style function definition [-Wold-style-definition] 549 | msghistory_snapshot(purge) | ^~~~~~~~~~~~~~~~~~~ ../win/tty/topl.c: In function 'free_msghistory_snapshot': ../win/tty/topl.c:595:1: warning: old-style function definition [-Wold-style-definition] 595 | free_msghistory_snapshot(purged) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../win/tty/topl.c: In function 'tty_getmsghistory': ../win/tty/topl.c:626:1: warning: old-style function definition [-Wold-style-definition] 626 | tty_getmsghistory(init) | ^~~~~~~~~~~~~~~~~ ../win/tty/topl.c: In function 'tty_putmsghistory': ../win/tty/topl.c:667:1: warning: old-style function definition [-Wold-style-definition] 667 | tty_putmsghistory(msg, restoring_msghist) | ^~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o wintty.o ../win/tty/wintty.c In file included from ../include/hack.h:10, from ../win/tty/wintty.c:15: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/tty/wintty.c: In function 'bail': ../win/tty/wintty.c:264:1: warning: old-style function definition [-Wold-style-definition] 264 | bail(mesg) | ^~~~ ../win/tty/wintty.c: In function 'winch_handler': ../win/tty/wintty.c:287:1: warning: old-style function definition [-Wold-style-definition] 287 | winch_handler(sig_unused) /* signal handler is called with at least 1 arg */ | ^~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_init_nhwindows': ../win/tty/wintty.c:387:1: warning: old-style function definition [-Wold-style-definition] 387 | tty_init_nhwindows(argcp, argv) | ^~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_preference_update': ../win/tty/wintty.c:455:1: warning: old-style function definition [-Wold-style-definition] 455 | tty_preference_update(pref) | ^~~~~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'setup_rolemenu': ../win/tty/wintty.c:1083:1: warning: old-style function definition [-Wold-style-definition] 1083 | setup_rolemenu(win, filtering, race, gend, algn) | ^~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'setup_racemenu': ../win/tty/wintty.c:1126:1: warning: old-style function definition [-Wold-style-definition] 1126 | setup_racemenu(win, filtering, role, gend, algn) | ^~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'setup_gendmenu': ../win/tty/wintty.c:1159:1: warning: old-style function definition [-Wold-style-definition] 1159 | setup_gendmenu(win, filtering, role, race, algn) | ^~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'setup_algnmenu': ../win/tty/wintty.c:1190:1: warning: old-style function definition [-Wold-style-definition] 1190 | setup_algnmenu(win, filtering, role, race, gend) | ^~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_suspend_nhwindows': ../win/tty/wintty.c:1356:1: warning: old-style function definition [-Wold-style-definition] 1356 | tty_suspend_nhwindows(str) | ^~~~~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_exit_nhwindows': ../win/tty/wintty.c:1373:1: warning: old-style function definition [-Wold-style-definition] 1373 | tty_exit_nhwindows(str) | ^~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_create_nhwindow': ../win/tty/wintty.c:1417:1: warning: old-style function definition [-Wold-style-definition] 1417 | tty_create_nhwindow(type) | ^~~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'erase_menu_or_text': ../win/tty/wintty.c:1531:1: warning: old-style function definition [-Wold-style-definition] 1531 | erase_menu_or_text(window, cw, clear) | ^~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'free_window_info': ../win/tty/wintty.c:1551:1: warning: old-style function definition [-Wold-style-definition] 1551 | free_window_info(cw, free_data) | ^~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_clear_nhwindow': ../win/tty/wintty.c:1599:1: warning: old-style function definition [-Wold-style-definition] 1599 | tty_clear_nhwindow(window) | ^~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'toggle_menu_curr': ../win/tty/wintty.c:1656:1: warning: old-style function definition [-Wold-style-definition] 1656 | toggle_menu_curr(window, curr, lineno, in_view, counting, count) | ^~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'dmore': ../win/tty/wintty.c:1695:1: warning: old-style function definition [-Wold-style-definition] 1695 | dmore(cw, s) | ^~~~~ ../win/tty/wintty.c: In function 'set_item_state': ../win/tty/wintty.c:1716:1: warning: old-style function definition [-Wold-style-definition] 1716 | set_item_state(window, lineno, item) | ^~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'set_all_on_page': ../win/tty/wintty.c:1732:1: warning: old-style function definition [-Wold-style-definition] 1732 | set_all_on_page(window, page_start, page_end) | ^~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'unset_all_on_page': ../win/tty/wintty.c:1747:1: warning: old-style function definition [-Wold-style-definition] 1747 | unset_all_on_page(window, page_start, page_end) | ^~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'invert_all_on_page': ../win/tty/wintty.c:1763:1: warning: old-style function definition [-Wold-style-definition] 1763 | invert_all_on_page(window, page_start, page_end, acc) | ^~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'invert_all': ../win/tty/wintty.c:1786:1: warning: old-style function definition [-Wold-style-definition] 1786 | invert_all(window, page_start, page_end, acc) | ^~~~~~~~~~ ../win/tty/wintty.c: In function 'toggle_menu_attr': ../win/tty/wintty.c:1817:1: warning: old-style function definition [-Wold-style-definition] 1817 | toggle_menu_attr(on, color, attr) | ^~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'process_menu_window': ../win/tty/wintty.c:1841:1: warning: old-style function definition [-Wold-style-definition] 1841 | process_menu_window(window, cw) | ^~~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'process_text_window': ../win/tty/wintty.c:2212:1: warning: old-style function definition [-Wold-style-definition] 2212 | process_text_window(window, cw) | ^~~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_display_nhwindow': ../win/tty/wintty.c:2291:1: warning: old-style function definition [-Wold-style-definition] 2291 | tty_display_nhwindow(window, blocking) | ^~~~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_dismiss_nhwindow': ../win/tty/wintty.c:2386:1: warning: old-style function definition [-Wold-style-definition] 2386 | tty_dismiss_nhwindow(window) | ^~~~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_destroy_nhwindow': ../win/tty/wintty.c:2432:1: warning: old-style function definition [-Wold-style-definition] 2432 | tty_destroy_nhwindow(window) | ^~~~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_curs': ../win/tty/wintty.c:2453:1: warning: old-style function definition [-Wold-style-definition] 2453 | tty_curs(window, x, y) | ^~~~~~~~ ../win/tty/wintty.c: In function 'tty_putsym': ../win/tty/wintty.c:2554:1: warning: old-style function definition [-Wold-style-definition] 2554 | tty_putsym(window, x, y, ch) | ^~~~~~~~~~ ../win/tty/wintty.c: In function 'compress_str': ../win/tty/wintty.c:2587:1: warning: old-style function definition [-Wold-style-definition] 2587 | compress_str(str) | ^~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_putstr': ../win/tty/wintty.c:2618:1: warning: old-style function definition [-Wold-style-definition] 2618 | tty_putstr(window, attr, str) | ^~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_display_file': ../win/tty/wintty.c:2795:1: warning: old-style function definition [-Wold-style-definition] 2795 | tty_display_file(fname, complain) | ^~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_start_menu': ../win/tty/wintty.c:2889:1: warning: old-style function definition [-Wold-style-definition] 2889 | tty_start_menu(window) | ^~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_add_menu': ../win/tty/wintty.c:2902:1: warning: old-style function definition [-Wold-style-definition] 2902 | tty_add_menu(window, glyph, identifier, ch, gch, attr, str, preselected) | ^~~~~~~~~~~~ ../win/tty/wintty.c: In function 'reverse': ../win/tty/wintty.c:2957:1: warning: old-style function definition [-Wold-style-definition] 2957 | reverse(curr) | ^~~~~~~ ../win/tty/wintty.c: In function 'tty_end_menu': ../win/tty/wintty.c:2978:1: warning: old-style function definition [-Wold-style-definition] 2978 | tty_end_menu(window, prompt) | ^~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_select_menu': ../win/tty/wintty.c:3089:1: warning: old-style function definition [-Wold-style-definition] 3089 | tty_select_menu(window, how, menu_list) | ^~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_message_menu': ../win/tty/wintty.c:3133:1: warning: old-style function definition [-Wold-style-definition] 3133 | tty_message_menu(let, how, mesg) | ^~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'docorner': ../win/tty/wintty.c:3205:1: warning: old-style function definition [-Wold-style-definition] 3205 | docorner(xmin, ymax) | ^~~~~~~~ ../win/tty/wintty.c: In function 'g_putch': ../win/tty/wintty.c:3277:1: warning: old-style function definition [-Wold-style-definition] 3277 | g_putch(in_ch) | ^~~~~~~ ../win/tty/wintty.c: In function 'tty_cliparound': ../win/tty/wintty.c:3326:1: warning: old-style function definition [-Wold-style-definition] 3326 | tty_cliparound(x, y) | ^~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_print_glyph': ../win/tty/wintty.c:3364:1: warning: old-style function definition [-Wold-style-definition] 3364 | tty_print_glyph(window, x, y, glyph, bkglyph) | ^~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_raw_print': ../win/tty/wintty.c:3443:1: warning: old-style function definition [-Wold-style-definition] 3443 | tty_raw_print(str) | ^~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_raw_print_bold': ../win/tty/wintty.c:3459:1: warning: old-style function definition [-Wold-style-definition] 3459 | tty_raw_print_bold(str) | ^~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_nh_poskey': ../win/tty/wintty.c:3543:1: warning: old-style function definition [-Wold-style-definition] 3543 | tty_nh_poskey(x, y, mod) | ^~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'win_tty_init': ../win/tty/wintty.c:3574:1: warning: old-style function definition [-Wold-style-definition] 3574 | win_tty_init(dir) | ^~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_status_enablefield': ../win/tty/wintty.c:3776:1: warning: old-style function definition [-Wold-style-definition] 3776 | tty_status_enablefield(fieldidx, nm, fmt, enable) | ^~~~~~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_status_update': ../win/tty/wintty.c:3845:1: warning: old-style function definition [-Wold-style-definition] 3845 | tty_status_update(fldidx, ptr, chg, percent, color, colormasks) | ^~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'make_things_fit': ../win/tty/wintty.c:3968:1: warning: old-style function definition [-Wold-style-definition] 3968 | make_things_fit(force_update) | ^~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'check_fields': ../win/tty/wintty.c:4032:1: warning: old-style function definition [-Wold-style-definition] 4032 | check_fields(forcefields, sz) | ^~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_putstatusfield': ../win/tty/wintty.c:4183:1: warning: old-style function definition [-Wold-style-definition] 4183 | tty_putstatusfield(text, x, y) | ^~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'shrink_enc': ../win/tty/wintty.c:4242:1: warning: old-style function definition [-Wold-style-definition] 4242 | shrink_enc(lvl) | ^~~~~~~~~~ ../win/tty/wintty.c: In function 'shrink_dlvl': ../win/tty/wintty.c:4254:1: warning: old-style function definition [-Wold-style-definition] 4254 | shrink_dlvl(lvl) | ^~~~~~~~~~~ ../win/tty/wintty.c: In function 'condcolor': ../win/tty/wintty.c:4293:1: warning: old-style function definition [-Wold-style-definition] 4293 | condcolor(bm, bmarray) | ^~~~~~~~~ ../win/tty/wintty.c: In function 'condattr': ../win/tty/wintty.c:4315:1: warning: old-style function definition [-Wold-style-definition] 4315 | condattr(bm, bmarray) | ^~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o Window.o ../win/X11/Window.c In file included from ../win/X11/Window.c:34: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/X11/Window.c: In function 'no_op': ../win/X11/Window.c:93:1: warning: old-style function definition [-Wold-style-definition] 93 | no_op(w, event, params, num_params) | ^~~~~ ../win/X11/Window.c: In function 'Redisplay': ../win/X11/Window.c:116:1: warning: old-style function definition [-Wold-style-definition] 116 | Redisplay(w, event, region) | ^~~~~~~~~ ../win/X11/Window.c: In function 'Resize': ../win/X11/Window.c:129:1: warning: old-style function definition [-Wold-style-definition] 129 | Resize(w) | ^~~~~~ ../win/X11/Window.c: In function 'WindowFont': ../win/X11/Window.c:176:1: warning: old-style function definition [-Wold-style-definition] 176 | WindowFont(w) | ^~~~~~~~~~ ../win/X11/Window.c: In function 'WindowFontStruct': ../win/X11/Window.c:183:1: warning: old-style function definition [-Wold-style-definition] 183 | WindowFontStruct(w) | ^~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o dialogs.o ../win/X11/dialogs.c In file included from ../win/X11/dialogs.c:80: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/X11/dialogs.c: In function 'CreateDialog': ../win/X11/dialogs.c:99:1: warning: old-style function definition [-Wold-style-definition] 99 | CreateDialog(parent, name, okay_callback, cancel_callback) | ^~~~~~~~~~~~ ../win/X11/dialogs.c: In function 'SetDialogPrompt': ../win/X11/dialogs.c:236:1: warning: old-style function definition [-Wold-style-definition] 236 | SetDialogPrompt(w, newprompt) | ^~~~~~~~~~~~~~~ ../win/X11/dialogs.c: In function 'GetDialogResponse': ../win/X11/dialogs.c:250:1: warning: old-style function definition [-Wold-style-definition] 250 | GetDialogResponse(w) | ^~~~~~~~~~~~~~~~~ ../win/X11/dialogs.c: In function 'SetDialogResponse': ../win/X11/dialogs.c:265:1: warning: old-style function definition [-Wold-style-definition] 265 | SetDialogResponse(w, s, ln) | ^~~~~~~~~~~~~~~~~ ../win/X11/dialogs.c: In function 'positionpopup': ../win/X11/dialogs.c:315:1: warning: old-style function definition [-Wold-style-definition] 315 | positionpopup(w, bottom) | ^~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o winX.o ../win/X11/winX.c In file included from ../include/hack.h:10, from ../win/X11/winX.c:49: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/X11/winX.c: In function 'X11_putmsghistory': ../win/X11/winX.c:185:1: warning: old-style function definition [-Wold-style-definition] 185 | X11_putmsghistory(msg, is_restoring) | ^~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_getmsghistory': ../win/X11/winX.c:198:1: warning: old-style function definition [-Wold-style-definition] 198 | X11_getmsghistory(init) | ^~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'find_widget': ../win/X11/winX.c:229:1: warning: old-style function definition [-Wold-style-definition] 229 | find_widget(w) | ^~~~~~~~~~~ ../win/X11/winX.c: In function 'get_nhcolor': ../win/X11/winX.c:271:1: warning: old-style function definition [-Wold-style-definition] 271 | get_nhcolor(wp, clr) | ^~~~~~~~~~~ ../win/X11/winX.c: In function 'init_menu_nhcolors': ../win/X11/winX.c:285:1: warning: old-style function definition [-Wold-style-definition] 285 | init_menu_nhcolors(wp) | ^~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'nhApproxColor': ../win/X11/winX.c:405:1: warning: old-style function definition [-Wold-style-definition] 405 | nhApproxColor(screen, colormap, str, color) | ^~~~~~~~~~~~~ ../win/X11/winX.c: In function 'nhCvtStringToPixel': ../win/X11/winX.c:481:1: warning: old-style function definition [-Wold-style-definition] 481 | nhCvtStringToPixel(dpy, args, num_args, fromVal, toVal, closure_ret) | ^~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'get_window_frame_extents': ../win/X11/winX.c:576:1: warning: old-style function definition [-Wold-style-definition] 576 | get_window_frame_extents(w, top, bottom, left, right) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'get_widget_window_geometry': ../win/X11/winX.c:610:1: warning: old-style function definition [-Wold-style-definition] 610 | get_widget_window_geometry(w, x,y, width, height) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'fontname_boldify': ../win/X11/winX.c:628:1: warning: old-style function definition [-Wold-style-definition] 628 | fontname_boldify(fontname) | ^~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'load_boldfont': ../win/X11/winX.c:655:1: warning: old-style function definition [-Wold-style-definition] 655 | load_boldfont(wp, w) | ^~~~~~~~~~~~~ ../win/X11/winX.c: In function 'nhFreePixel': ../win/X11/winX.c:682:1: warning: old-style function definition [-Wold-style-definition] 682 | nhFreePixel(app, toVal, closure, args, num_args) | ^~~~~~~~~~~ ../win/X11/winX.c: In function 'nhFontHeight': ../win/X11/winX.c:713:1: warning: old-style function definition [-Wold-style-definition] 713 | nhFontHeight(w) | ^~~~~~~~~~~~ ../win/X11/winX.c: In function 'new_resource_macro': ../win/X11/winX.c:745:1: warning: old-style function definition [-Wold-style-definition] 745 | new_resource_macro(inbuf, numdefs) | ^~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_raw_print': ../win/X11/winX.c:903:1: warning: old-style function definition [-Wold-style-definition] 903 | X11_raw_print(str) | ^~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_raw_print_bold': ../win/X11/winX.c:910:1: warning: old-style function definition [-Wold-style-definition] 910 | X11_raw_print_bold(str) | ^~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_curs': ../win/X11/winX.c:917:1: warning: old-style function definition [-Wold-style-definition] 917 | X11_curs(window, x, y) | ^~~~~~~~ ../win/X11/winX.c: In function 'X11_putstr': ../win/X11/winX.c:937:1: warning: old-style function definition [-Wold-style-definition] 937 | X11_putstr(window, attr, str) | ^~~~~~~~~~ ../win/X11/winX.c: In function 'X11_nh_poskey': ../win/X11/winX.c:999:1: warning: old-style function definition [-Wold-style-definition] 999 | X11_nh_poskey(x, y, mod) | ^~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_create_nhwindow': ../win/X11/winX.c:1013:1: warning: old-style function definition [-Wold-style-definition] 1013 | X11_create_nhwindow(type) | ^~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_clear_nhwindow': ../win/X11/winX.c:1108:1: warning: old-style function definition [-Wold-style-definition] 1108 | X11_clear_nhwindow(window) | ^~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_display_nhwindow': ../win/X11/winX.c:1135:1: warning: old-style function definition [-Wold-style-definition] 1135 | X11_display_nhwindow(window, blocking) | ^~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_destroy_nhwindow': ../win/X11/winX.c:1199:1: warning: old-style function definition [-Wold-style-definition] 1199 | X11_destroy_nhwindow(window) | ^~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_suspend_nhwindows': ../win/X11/winX.c:1318:1: warning: old-style function definition [-Wold-style-definition] 1318 | X11_suspend_nhwindows(str) | ^~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_number_pad': ../win/X11/winX.c:1329:1: warning: old-style function definition [-Wold-style-definition] 1329 | X11_number_pad(state) /* called from options.c */ | ^~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'panic_on_error': ../win/X11/winX.c:1469:1: warning: old-style function definition [-Wold-style-definition] 1469 | panic_on_error(display, error) | ^~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_error_handler': ../win/X11/winX.c:1484:1: warning: old-style function definition [-Wold-style-definition] 1484 | X11_error_handler(str) | ^~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_io_error_handler': ../win/X11/winX.c:1497:1: warning: old-style function definition [-Wold-style-definition] 1497 | X11_io_error_handler(display) | ^~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_init_nhwindows': ../win/X11/winX.c:1511:1: warning: old-style function definition [-Wold-style-definition] 1511 | X11_init_nhwindows(argcp, argv) | ^~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_exit_nhwindows': ../win/X11/winX.c:1622:1: warning: old-style function definition [-Wold-style-definition] 1622 | X11_exit_nhwindows(dummy) | ^~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_sig': ../win/X11/winX.c:1653:1: warning: old-style function definition [-Wold-style-definition] 1653 | X11_sig(sig) /* Unix signal handler */ | ^~~~~~~ ../win/X11/winX.c: In function 'X11_sig_cb': ../win/X11/winX.c:1661:1: warning: old-style function definition [-Wold-style-definition] 1661 | X11_sig_cb(not_used, id) | ^~~~~~~~~~ ../win/X11/winX.c: In function 'd_timeout': ../win/X11/winX.c:1691:1: warning: old-style function definition [-Wold-style-definition] 1691 | d_timeout(client_data, id) | ^~~~~~~~~ ../win/X11/winX.c: In function 'X11_hangup': ../win/X11/winX.c:1732:1: warning: old-style function definition [-Wold-style-definition] 1732 | X11_hangup(w, event, params, num_params) | ^~~~~~~~~~ ../win/X11/winX.c: In function 'askname_delete': ../win/X11/winX.c:1750:1: warning: old-style function definition [-Wold-style-definition] 1750 | askname_delete(w, event, params, num_params) | ^~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'askname_done': ../win/X11/winX.c:1768:1: warning: old-style function definition [-Wold-style-definition] 1768 | askname_done(w, client_data, call_data) | ^~~~~~~~~~~~ ../win/X11/winX.c: In function 'done_button': ../win/X11/winX.c:1851:1: warning: old-style function definition [-Wold-style-definition] 1851 | done_button(w, client_data, call_data) | ^~~~~~~~~~~ ../win/X11/winX.c: In function 'getline_delete': ../win/X11/winX.c:1880:1: warning: old-style function definition [-Wold-style-definition] 1880 | getline_delete(w, event, params, num_params) | ^~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'abort_button': ../win/X11/winX.c:1898:1: warning: old-style function definition [-Wold-style-definition] 1898 | abort_button(w, client_data, call_data) | ^~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_getlin': ../win/X11/winX.c:1923:1: warning: old-style function definition [-Wold-style-definition] 1923 | X11_getlin(question, input) | ^~~~~~~~~~ ../win/X11/winX.c: In function 'X11_display_file': ../win/X11/winX.c:1974:1: warning: old-style function definition [-Wold-style-definition] 1974 | X11_display_file(str, complain) | ^~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'key_event_to_char': ../win/X11/winX.c:2039:1: warning: old-style function definition [-Wold-style-definition] 2039 | key_event_to_char(key) | ^~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'yn_delete': ../win/X11/winX.c:2061:1: warning: old-style function definition [-Wold-style-definition] 2061 | yn_delete(w, event, params, num_params) | ^~~~~~~~~ ../win/X11/winX.c: In function 'yn_key': ../win/X11/winX.c:2083:1: warning: old-style function definition [-Wold-style-definition] 2083 | yn_key(w, event, params, num_params) | ^~~~~~ ../win/X11/winX.c: In function 'X11_yn_function': ../win/X11/winX.c:2166:1: warning: old-style function definition [-Wold-style-definition] 2166 | X11_yn_function(ques, choices, def) | ^~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_preference_update': ../win/X11/winX.c:2309:1: warning: old-style function definition [-Wold-style-definition] 2309 | X11_preference_update(pref) | ^~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'input_event': ../win/X11/winX.c:2325:1: warning: old-style function definition [-Wold-style-definition] 2325 | input_event(exit_condition) | ^~~~~~~~~~~ ../win/X11/winX.c: In function 'msgkey': ../win/X11/winX.c:2340:1: warning: old-style function definition [-Wold-style-definition] 2340 | msgkey(w, data, event) | ^~~~~~ ../win/X11/winX.c: In function 'win_visible': ../win/X11/winX.c:2356:1: warning: old-style function definition [-Wold-style-definition] 2356 | win_visible(w, data, event, flag) | ^~~~~~~~~~~ ../win/X11/winX.c: In function 'highlight_yn': ../win/X11/winX.c:2380:1: warning: old-style function definition [-Wold-style-definition] 2380 | highlight_yn(init) | ^~~~~~~~~~~~ ../win/X11/winX.c: In function 'nh_XtPopup': ../win/X11/winX.c:2620:1: warning: old-style function definition [-Wold-style-definition] 2620 | nh_XtPopup(w, g, childwid) | ^~~~~~~~~~ ../win/X11/winX.c: In function 'nh_XtPopdown': ../win/X11/winX.c:2632:1: warning: old-style function definition [-Wold-style-definition] 2632 | nh_XtPopdown(w) | ^~~~~~~~~~~~ ../win/X11/winX.c: In function 'win_X11_init': ../win/X11/winX.c:2641:1: warning: old-style function definition [-Wold-style-definition] 2641 | win_X11_init(dir) | ^~~~~~~~~~~~ ../win/X11/winX.c: In function 'find_scrollbars': ../win/X11/winX.c:2664:1: warning: old-style function definition [-Wold-style-definition] 2664 | find_scrollbars(w, horiz, vert) | ^~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'nh_keyscroll': ../win/X11/winX.c:2682:1: warning: old-style function definition [-Wold-style-definition] 2682 | nh_keyscroll(viewport, event, params, num_params) | ^~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o winmap.o ../win/X11/winmap.c In file included from ../include/hack.h:10, from ../win/X11/winmap.c:39: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/X11/winmap.c: In function 'X11_print_glyph': ../win/X11/winmap.c:73:1: warning: old-style function definition [-Wold-style-definition] 73 | X11_print_glyph(window, x, y, glyph, bkglyph) | ^~~~~~~~~~~~~~~ ../win/X11/winmap.c: In function 'X11_cliparound': ../win/X11/winmap.c:154:1: warning: old-style function definition [-Wold-style-definition] 154 | X11_cliparound(x, y) | ^~~~~~~~~~~~~~ ../win/X11/winmap.c: In function 'init_annotation': ../win/X11/winmap.c:192:1: warning: old-style function definition [-Wold-style-definition] 192 | init_annotation(annotation, filename, colorpixel) | ^~~~~~~~~~~~~~~ ../win/X11/winmap.c: In function 'init_tiles': ../win/X11/winmap.c:259:1: warning: old-style function definition [-Wold-style-definition] 259 | init_tiles(wp) | ^~~~~~~~~~ ../win/X11/winmap.c: In function 'check_cursor_visibility': ../win/X11/winmap.c:572:1: warning: old-style function definition [-Wold-style-definition] 572 | check_cursor_visibility(wp) | ^~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmap.c: In function 'map_check_size_change': ../win/X11/winmap.c:724:1: warning: old-style function definition [-Wold-style-definition] 724 | map_check_size_change(wp) | ^~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmap.c: In function 'set_gc': ../win/X11/winmap.c:779:1: warning: old-style function definition [-Wold-style-definition] 779 | set_gc(w, font, resource_name, bgpixel, regular, inverse) | ^~~~~~ ../win/X11/winmap.c: In function 'get_text_gc': ../win/X11/winmap.c:814:1: warning: old-style function definition [-Wold-style-definition] 814 | get_text_gc(wp, font) | ^~~~~~~~~~~ ../win/X11/winmap.c: In function 'display_cursor': ../win/X11/winmap.c:859:1: warning: old-style function definition [-Wold-style-definition] 859 | display_cursor(wp) | ^~~~~~~~~~~~~~ ../win/X11/winmap.c: In function 'display_map_window': ../win/X11/winmap.c:871:1: warning: old-style function definition [-Wold-style-definition] 871 | display_map_window(wp) | ^~~~~~~~~~~~~~~~~~ ../win/X11/winmap.c: In function 'map_all_stone': ../win/X11/winmap.c:920:1: warning: old-style function definition [-Wold-style-definition] 920 | map_all_stone(map_info) | ^~~~~~~~~~~~~ ../win/X11/winmap.c: In function 'clear_map_window': ../win/X11/winmap.c:940:1: warning: old-style function definition [-Wold-style-definition] 940 | clear_map_window(wp) | ^~~~~~~~~~~~~~~~ ../win/X11/winmap.c: In function 'get_char_info': ../win/X11/winmap.c:968:1: warning: old-style function definition [-Wold-style-definition] 968 | get_char_info(wp) | ^~~~~~~~~~~~~ ../win/X11/winmap.c: In function 'map_input': ../win/X11/winmap.c:1016:1: warning: old-style function definition [-Wold-style-definition] 1016 | map_input(w, event, params, num_params) | ^~~~~~~~~ ../win/X11/winmap.c: In function 'set_button_values': ../win/X11/winmap.c:1116:1: warning: old-style function definition [-Wold-style-definition] 1116 | set_button_values(w, x, y, button) | ^~~~~~~~~~~~~~~~~ ../win/X11/winmap.c: In function 'map_exposed': ../win/X11/winmap.c:1152:1: warning: old-style function definition [-Wold-style-definition] 1152 | map_exposed(w, client_data, widget_data) | ^~~~~~~~~~~ ../win/X11/winmap.c: In function 'map_update': ../win/X11/winmap.c:1238:1: warning: old-style function definition [-Wold-style-definition] 1238 | map_update(wp, start_row, stop_row, start_col, stop_col, inverted) | ^~~~~~~~~~ ../win/X11/winmap.c: In function 'set_map_size': ../win/X11/winmap.c:1411:1: warning: old-style function definition [-Wold-style-definition] 1411 | set_map_size(wp, cols, rows) | ^~~~~~~~~~~~ ../win/X11/winmap.c: In function 'init_text': ../win/X11/winmap.c:1433:1: warning: old-style function definition [-Wold-style-definition] 1433 | init_text(wp) | ^~~~~~~~~ ../win/X11/winmap.c: In function 'create_map_window': ../win/X11/winmap.c:1461:1: warning: old-style function definition [-Wold-style-definition] 1461 | create_map_window(wp, create_popup, parent) | ^~~~~~~~~~~~~~~~~ ../win/X11/winmap.c: In function 'destroy_map_window': ../win/X11/winmap.c:1591:1: warning: old-style function definition [-Wold-style-definition] 1591 | destroy_map_window(wp) | ^~~~~~~~~~~~~~~~~~ ../win/X11/winmap.c: In function 'x_event': ../win/X11/winmap.c:1652:1: warning: old-style function definition [-Wold-style-definition] 1652 | x_event(exit_condition) | ^~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o winmenu.o ../win/X11/winmenu.c In file included from ../include/hack.h:10, from ../win/X11/winmenu.c:35: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/X11/winmenu.c: In function 'menu_size_change_handler': ../win/X11/winmenu.c:100:1: warning: old-style function definition [-Wold-style-definition] 100 | menu_size_change_handler(w, ptr, event, flag) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'menu_select': ../win/X11/winmenu.c:130:1: warning: old-style function definition [-Wold-style-definition] 130 | menu_select(w, client_data, call_data) | ^~~~~~~~~~~ ../win/X11/winmenu.c: In function 'menu_delete': ../win/X11/winmenu.c:181:1: warning: old-style function definition [-Wold-style-definition] 181 | menu_delete(w, event, params, num_params) | ^~~~~~~~~~~ ../win/X11/winmenu.c: In function 'invert_line': ../win/X11/winmenu.c:199:1: warning: old-style function definition [-Wold-style-definition] 199 | invert_line(wp, curr, which, how_many) | ^~~~~~~~~~~ ../win/X11/winmenu.c: In function 'menu_key': ../win/X11/winmenu.c:232:1: warning: old-style function definition [-Wold-style-definition] 232 | menu_key(w, event, params, num_params) | ^~~~~~~~ ../win/X11/winmenu.c: In function 'menu_ok': ../win/X11/winmenu.c:385:1: warning: old-style function definition [-Wold-style-definition] 385 | menu_ok(w, client_data, call_data) | ^~~~~~~ ../win/X11/winmenu.c: In function 'menu_cancel': ../win/X11/winmenu.c:399:1: warning: old-style function definition [-Wold-style-definition] 399 | menu_cancel(w, client_data, call_data) | ^~~~~~~~~~~ ../win/X11/winmenu.c: In function 'menu_all': ../win/X11/winmenu.c:417:1: warning: old-style function definition [-Wold-style-definition] 417 | menu_all(w, client_data, call_data) | ^~~~~~~~ ../win/X11/winmenu.c: In function 'menu_none': ../win/X11/winmenu.c:429:1: warning: old-style function definition [-Wold-style-definition] 429 | menu_none(w, client_data, call_data) | ^~~~~~~~~ ../win/X11/winmenu.c: In function 'menu_invert': ../win/X11/winmenu.c:441:1: warning: old-style function definition [-Wold-style-definition] 441 | menu_invert(w, client_data, call_data) | ^~~~~~~~~~~ ../win/X11/winmenu.c: In function 'menu_search': ../win/X11/winmenu.c:453:1: warning: old-style function definition [-Wold-style-definition] 453 | menu_search(w, client_data, call_data) | ^~~~~~~~~~~ ../win/X11/winmenu.c: In function 'search_menu': ../win/X11/winmenu.c:470:1: warning: old-style function definition [-Wold-style-definition] 470 | search_menu(wp) | ^~~~~~~~~~~ ../win/X11/winmenu.c: In function 'select_all': ../win/X11/winmenu.c:503:1: warning: old-style function definition [-Wold-style-definition] 503 | select_all(wp) | ^~~~~~~~~~ ../win/X11/winmenu.c: In function 'select_none': ../win/X11/winmenu.c:520:1: warning: old-style function definition [-Wold-style-definition] 520 | select_none(wp) | ^~~~~~~~~~~ ../win/X11/winmenu.c: In function 'invert_all': ../win/X11/winmenu.c:537:1: warning: old-style function definition [-Wold-style-definition] 537 | invert_all(wp) | ^~~~~~~~~~ ../win/X11/winmenu.c: In function 'invert_match': ../win/X11/winmenu.c:552:1: warning: old-style function definition [-Wold-style-definition] 552 | invert_match(wp, match) | ^~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'select_match': ../win/X11/winmenu.c:572:1: warning: old-style function definition [-Wold-style-definition] 572 | select_match(wp, match) | ^~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'menu_popdown': ../win/X11/winmenu.c:599:1: warning: old-style function definition [-Wold-style-definition] 599 | menu_popdown(wp) | ^~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'X11_start_menu': ../win/X11/winmenu.c:613:1: warning: old-style function definition [-Wold-style-definition] 613 | X11_start_menu(window) | ^~~~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'X11_add_menu': ../win/X11/winmenu.c:631:1: warning: old-style function definition [-Wold-style-definition] 631 | X11_add_menu(window, glyph, identifier, ch, gch, attr, str, preselected) | ^~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'X11_end_menu': ../win/X11/winmenu.c:708:1: warning: old-style function definition [-Wold-style-definition] 708 | X11_end_menu(window, query) | ^~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'X11_select_menu': ../win/X11/winmenu.c:725:1: warning: old-style function definition [-Wold-style-definition] 725 | X11_select_menu(window, how, menu_list) | ^~~~~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'copy_of': ../win/X11/winmenu.c:1001:1: warning: old-style function definition [-Wold-style-definition] 1001 | copy_of(s) | ^~~~~~~ ../win/X11/winmenu.c: In function 'menu_create_buttons': ../win/X11/winmenu.c:1013:1: warning: old-style function definition [-Wold-style-definition] 1013 | menu_create_buttons(wp, form, under) | ^~~~~~~~~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'menu_create_entries': ../win/X11/winmenu.c:1137:1: warning: old-style function definition [-Wold-style-definition] 1137 | menu_create_entries(wp, curr_menu) | ^~~~~~~~~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'destroy_menu_entry_widgets': ../win/X11/winmenu.c:1217:1: warning: old-style function definition [-Wold-style-definition] 1217 | destroy_menu_entry_widgets(wp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'move_menu': ../win/X11/winmenu.c:1242:1: warning: old-style function definition [-Wold-style-definition] 1242 | move_menu(src_menu, dest_menu) | ^~~~~~~~~ ../win/X11/winmenu.c: In function 'free_menu_line_entries': ../win/X11/winmenu.c:1252:1: warning: old-style function definition [-Wold-style-definition] 1252 | free_menu_line_entries(mp) | ^~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'free_menu': ../win/X11/winmenu.c:1266:1: warning: old-style function definition [-Wold-style-definition] 1266 | free_menu(mp) | ^~~~~~~~~ ../win/X11/winmenu.c: In function 'reset_menu_to_default': ../win/X11/winmenu.c:1278:1: warning: old-style function definition [-Wold-style-definition] 1278 | reset_menu_to_default(mp) | ^~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'clear_old_menu': ../win/X11/winmenu.c:1289:1: warning: old-style function definition [-Wold-style-definition] 1289 | clear_old_menu(wp) | ^~~~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'create_menu_window': ../win/X11/winmenu.c:1306:1: warning: old-style function definition [-Wold-style-definition] 1306 | create_menu_window(wp) | ^~~~~~~~~~~~~~~~~~ ../win/X11/winmenu.c: In function 'destroy_menu_window': ../win/X11/winmenu.c:1325:1: warning: old-style function definition [-Wold-style-definition] 1325 | destroy_menu_window(wp) | ^~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o winmesg.o ../win/X11/winmesg.c In file included from ../include/hack.h:10, from ../win/X11/winmesg.c:35: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/X11/winmesg.c: In function 'set_message_slider': ../win/X11/winmesg.c:59:1: warning: old-style function definition [-Wold-style-definition] 59 | set_message_slider(wp) | ^~~~~~~~~~~~~~~~~~ ../win/X11/winmesg.c: In function 'create_message_window': ../win/X11/winmesg.c:74:1: warning: old-style function definition [-Wold-style-definition] 74 | create_message_window(wp, create_popup, parent) | ^~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmesg.c: In function 'destroy_message_window': ../win/X11/winmesg.c:212:1: warning: old-style function definition [-Wold-style-definition] 212 | destroy_message_window(wp) | ^~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmesg.c: In function 'display_message_window': ../win/X11/winmesg.c:233:1: warning: old-style function definition [-Wold-style-definition] 233 | display_message_window(wp) | ^~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmesg.c: In function 'append_message': ../win/X11/winmesg.c:246:1: warning: old-style function definition [-Wold-style-definition] 246 | append_message(wp, str) | ^~~~~~~~~~~~~~ ../win/X11/winmesg.c: In function 'get_previous': ../win/X11/winmesg.c:273:1: warning: old-style function definition [-Wold-style-definition] 273 | get_previous(mark) | ^~~~~~~~~~~~ ../win/X11/winmesg.c: In function 'set_circle_buf': ../win/X11/winmesg.c:293:1: warning: old-style function definition [-Wold-style-definition] 293 | set_circle_buf(mesg_info, count) | ^~~~~~~~~~~~~~ ../win/X11/winmesg.c: In function 'split': ../win/X11/winmesg.c:370:1: warning: old-style function definition [-Wold-style-definition] 370 | split(s, fs, pixel_width) | ^~~~~ ../win/X11/winmesg.c: In function 'add_line': ../win/X11/winmesg.c:403:1: warning: old-style function definition [-Wold-style-definition] 403 | add_line(mesg_info, s) | ^~~~~~~~ ../win/X11/winmesg.c: In function 'set_last_pause': ../win/X11/winmesg.c:434:1: warning: old-style function definition [-Wold-style-definition] 434 | set_last_pause(wp) | ^~~~~~~~~~~~~~ ../win/X11/winmesg.c: In function 'redraw_message_window': ../win/X11/winmesg.c:462:1: warning: old-style function definition [-Wold-style-definition] 462 | redraw_message_window(wp) | ^~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmesg.c: In function 'mesg_check_size_change': ../win/X11/winmesg.c:507:1: warning: old-style function definition [-Wold-style-definition] 507 | mesg_check_size_change(wp) | ^~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmesg.c: In function 'mesg_exposed': ../win/X11/winmesg.c:534:1: warning: old-style function definition [-Wold-style-definition] 534 | mesg_exposed(w, client_data, widget_data) | ^~~~~~~~~~~~ ../win/X11/winmesg.c: In function 'get_gc': ../win/X11/winmesg.c:567:1: warning: old-style function definition [-Wold-style-definition] 567 | get_gc(w, mesg_info) | ^~~~~~ ../win/X11/winmesg.c: In function 'mesg_resized': ../win/X11/winmesg.c:599:1: warning: old-style function definition [-Wold-style-definition] 599 | mesg_resized(w, client_data, call_data) | ^~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o winmisc.o ../win/X11/winmisc.c In file included from ../include/hack.h:10, from ../win/X11/winmisc.c:37: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/X11/winmisc.c: In function 'i2xtp': ../win/X11/winmisc.c:114:1: warning: old-style function definition [-Wold-style-definition] 114 | i2xtp(i) | ^~~~~ ../win/X11/winmisc.c: In function 'xtp2i': ../win/X11/winmisc.c:121:1: warning: old-style function definition [-Wold-style-definition] 121 | xtp2i(x) | ^~~~~ ../win/X11/winmisc.c: In function 'ps_quit': ../win/X11/winmisc.c:130:1: warning: old-style function definition [-Wold-style-definition] 130 | ps_quit(w, client_data, call_data) | ^~~~~~~ ../win/X11/winmisc.c: In function 'ps_random': ../win/X11/winmisc.c:144:1: warning: old-style function definition [-Wold-style-definition] 144 | ps_random(w, client_data, call_data) | ^~~~~~~~~ ../win/X11/winmisc.c: In function 'ps_select': ../win/X11/winmisc.c:158:1: warning: old-style function definition [-Wold-style-definition] 158 | ps_select(w, client_data, call_data) | ^~~~~~~~~ ../win/X11/winmisc.c: In function 'ps_key': ../win/X11/winmisc.c:171:1: warning: old-style function definition [-Wold-style-definition] 171 | ps_key(w, event, params, num_params) | ^~~~~~ ../win/X11/winmisc.c: In function 'race_key': ../win/X11/winmisc.c:221:1: warning: old-style function definition [-Wold-style-definition] 221 | race_key(w, event, params, num_params) | ^~~~~~~~ ../win/X11/winmisc.c: In function 'gend_key': ../win/X11/winmisc.c:269:1: warning: old-style function definition [-Wold-style-definition] 269 | gend_key(w, event, params, num_params) | ^~~~~~~~ ../win/X11/winmisc.c: In function 'algn_key': ../win/X11/winmisc.c:306:1: warning: old-style function definition [-Wold-style-definition] 306 | algn_key(w, event, params, num_params) | ^~~~~~~~ ../win/X11/winmisc.c: In function 'plsel_quit': ../win/X11/winmisc.c:375:1: warning: old-style function definition [-Wold-style-definition] 375 | plsel_quit(w, event, params, num_params) | ^~~~~~~~~~ ../win/X11/winmisc.c: In function 'plsel_play': ../win/X11/winmisc.c:392:1: warning: old-style function definition [-Wold-style-definition] 392 | plsel_play(w, event, params, num_params) | ^~~~~~~~~~ ../win/X11/winmisc.c: In function 'plsel_randomize': ../win/X11/winmisc.c:419:1: warning: old-style function definition [-Wold-style-definition] 419 | plsel_randomize(w, event, params, num_params) | ^~~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'plsel_set_play_button': ../win/X11/winmisc.c:435:1: warning: old-style function definition [-Wold-style-definition] 435 | plsel_set_play_button(state) | ^~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'plsel_set_sensitivities': ../win/X11/winmisc.c:445:1: warning: old-style function definition [-Wold-style-definition] 445 | plsel_set_sensitivities(setcurr) | ^~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'racetoggleCallback': ../win/X11/winmisc.c:632:1: warning: old-style function definition [-Wold-style-definition] 632 | racetoggleCallback(w, client, call) | ^~~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'roletoggleCallback': ../win/X11/winmisc.c:673:1: warning: old-style function definition [-Wold-style-definition] 673 | roletoggleCallback(w, client, call) | ^~~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'gendertoggleCallback': ../win/X11/winmisc.c:714:1: warning: old-style function definition [-Wold-style-definition] 714 | gendertoggleCallback(w, client, call) | ^~~~~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'aligntoggleCallback': ../win/X11/winmisc.c:738:1: warning: old-style function definition [-Wold-style-definition] 738 | aligntoggleCallback(w, client, call) | ^~~~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'plsel_random_btn_callback': ../win/X11/winmisc.c:752:1: warning: old-style function definition [-Wold-style-definition] 752 | plsel_random_btn_callback(w, client, call) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'plsel_play_btn_callback': ../win/X11/winmisc.c:765:1: warning: old-style function definition [-Wold-style-definition] 765 | plsel_play_btn_callback(w, client, call) | ^~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'plsel_quit_btn_callback': ../win/X11/winmisc.c:779:1: warning: old-style function definition [-Wold-style-definition] 779 | plsel_quit_btn_callback(w, client, call) | ^~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'X11_create_player_selection_name': ../win/X11/winmisc.c:793:1: warning: old-style function definition [-Wold-style-definition] 793 | X11_create_player_selection_name(form) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'extend_select': ../win/X11/winmisc.c:1632:1: warning: old-style function definition [-Wold-style-definition] 1632 | extend_select(w, client_data, call_data) | ^~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'extend_dismiss': ../win/X11/winmisc.c:1660:1: warning: old-style function definition [-Wold-style-definition] 1660 | extend_dismiss(w, client_data, call_data) | ^~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'extend_help': ../win/X11/winmisc.c:1673:1: warning: old-style function definition [-Wold-style-definition] 1673 | extend_help(w, client_data, call_data) | ^~~~~~~~~~~ ../win/X11/winmisc.c: In function 'ec_delete': ../win/X11/winmisc.c:1687:1: warning: old-style function definition [-Wold-style-definition] 1687 | ec_delete(w, event, params, num_params) | ^~~~~~~~~ ../win/X11/winmisc.c: In function 'popup_delete': ../win/X11/winmisc.c:1702:1: warning: old-style function definition [-Wold-style-definition] 1702 | popup_delete(w, event, params, num_params) | ^~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'ec_scroll_to_view': ../win/X11/winmisc.c:1732:1: warning: old-style function definition [-Wold-style-definition] 1732 | ec_scroll_to_view(ec_indx) | ^~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'ignore_extcmd': ../win/X11/winmisc.c:1836:1: warning: old-style function definition [-Wold-style-definition] 1836 | ignore_extcmd(idx) | ^~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'ec_key': ../win/X11/winmisc.c:1852:1: warning: old-style function definition [-Wold-style-definition] 1852 | ec_key(w, event, params, num_params) | ^~~~~~ ../win/X11/winmisc.c: In function 'make_menu': ../win/X11/winmisc.c:2026:1: warning: old-style function definition [-Wold-style-definition] 2026 | make_menu(popup_name, popup_label, popup_translations, left_name, | ^~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o winstat.o ../win/X11/winstat.c In file included from ../include/hack.h:10, from ../win/X11/winstat.c:36: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/X11/winstat.c: In function 'condcolor': ../win/X11/winstat.c:125:1: warning: old-style function definition [-Wold-style-definition] 125 | condcolor(bm, bmarray) | ^~~~~~~~~ ../win/X11/winstat.c: In function 'condattr': ../win/X11/winstat.c:140:1: warning: old-style function definition [-Wold-style-definition] 140 | condattr(bm, bmarray) | ^~~~~~~~ ../win/X11/winstat.c: In function 'X11_status_enablefield': ../win/X11/winstat.c:195:1: warning: old-style function definition [-Wold-style-definition] 195 | X11_status_enablefield(fieldidx, nm, fmt, enable) | ^~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'cond_bm2idx': ../win/X11/winstat.c:206:1: warning: old-style function definition [-Wold-style-definition] 206 | cond_bm2idx(bm) | ^~~~~~~~~~~ ../win/X11/winstat.c: In function 'MaybeDisplayCond': ../win/X11/winstat.c:217:1: warning: old-style function definition [-Wold-style-definition] 217 | MaybeDisplayCond(bm, colormasks, text) | ^~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'X11_status_update_tty': ../win/X11/winstat.c:309:1: warning: old-style function definition [-Wold-style-definition] 309 | X11_status_update_tty(fld, ptr, chg, percent, color, colormasks) | ^~~~~~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'X11_status_update_fancy': ../win/X11/winstat.c:510:1: warning: old-style function definition [-Wold-style-definition] 510 | X11_status_update_fancy(fld, ptr, chg, percent, color, colormasks) | ^~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'X11_status_update': ../win/X11/winstat.c:584:1: warning: old-style function definition [-Wold-style-definition] 584 | X11_status_update(fld, ptr, chg, percent, color, colormasks) | ^~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'create_tty_status': ../win/X11/winstat.c:596:1: warning: old-style function definition [-Wold-style-definition] 596 | create_tty_status(parent, top) | ^~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'create_status_window_tty': ../win/X11/winstat.c:699:1: warning: old-style function definition [-Wold-style-definition] 699 | create_status_window_tty(wp, create_popup, parent) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'destroy_status_window_tty': ../win/X11/winstat.c:717:1: warning: old-style function definition [-Wold-style-definition] 717 | destroy_status_window_tty(wp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'adjust_status_tty': ../win/X11/winstat.c:737:1: warning: old-style function definition [-Wold-style-definition] 737 | adjust_status_tty(wp, str) | ^~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'create_status_window': ../win/X11/winstat.c:745:1: warning: old-style function definition [-Wold-style-definition] 745 | create_status_window(wp, create_popup, parent) | ^~~~~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'destroy_status_window': ../win/X11/winstat.c:758:1: warning: old-style function definition [-Wold-style-definition] 758 | destroy_status_window(wp) | ^~~~~~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'adjust_status': ../win/X11/winstat.c:768:1: warning: old-style function definition [-Wold-style-definition] 768 | adjust_status(wp, str) | ^~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'create_status_window_fancy': ../win/X11/winstat.c:782:1: warning: old-style function definition [-Wold-style-definition] 782 | create_status_window_fancy(wp, create_popup, parent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'destroy_status_window_fancy': ../win/X11/winstat.c:873:1: warning: old-style function definition [-Wold-style-definition] 873 | destroy_status_window_fancy(wp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'adjust_status_fancy': ../win/X11/winstat.c:899:1: warning: old-style function definition [-Wold-style-definition] 899 | adjust_status_fancy(wp, str) | ^~~~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'hilight_label': ../win/X11/winstat.c:1038:1: warning: old-style function definition [-Wold-style-definition] 1038 | hilight_label(w) | ^~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'update_val': ../win/X11/winstat.c:1054:1: warning: old-style function definition [-Wold-style-definition] 1054 | update_val(attr_rec, new_value) | ^~~~~~~~~~ ../win/X11/winstat.c: In function 'update_fancy_status_field': ../win/X11/winstat.c:1277:1: warning: old-style function definition [-Wold-style-definition] 1277 | update_fancy_status_field(i) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'update_fancy_status': ../win/X11/winstat.c:1429:1: warning: old-style function definition [-Wold-style-definition] 1429 | update_fancy_status(wp) | ^~~~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'width_string': ../win/X11/winstat.c:1470:1: warning: old-style function definition [-Wold-style-definition] 1470 | width_string(sv_index) | ^~~~~~~~~~~~ ../win/X11/winstat.c: In function 'create_widget': ../win/X11/winstat.c:1534:1: warning: old-style function definition [-Wold-style-definition] 1534 | create_widget(parent, sv, sv_index) | ^~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'get_widths': ../win/X11/winstat.c:1581:1: warning: old-style function definition [-Wold-style-definition] 1581 | get_widths(sv, width1p, width2p) | ^~~~~~~~~~ ../win/X11/winstat.c: In function 'set_widths': ../win/X11/winstat.c:1606:1: warning: old-style function definition [-Wold-style-definition] 1606 | set_widths(sv, width1, width2) | ^~~~~~~~~~ ../win/X11/winstat.c: In function 'init_column': ../win/X11/winstat.c:1628:1: warning: old-style function definition [-Wold-style-definition] 1628 | init_column(name, parent, top, left, col_indices) | ^~~~~~~~~~~ ../win/X11/winstat.c: In function 'init_info_form': ../win/X11/winstat.c:1724:1: warning: old-style function definition [-Wold-style-definition] 1724 | init_info_form(parent, top, left) | ^~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'create_fancy_status': ../win/X11/winstat.c:1822:1: warning: old-style function definition [-Wold-style-definition] 1822 | create_fancy_status(parent, top) | ^~~~~~~~~~~~~~~~~~~ ../win/X11/winstat.c: In function 'destroy_fancy_status': ../win/X11/winstat.c:1859:1: warning: old-style function definition [-Wold-style-definition] 1859 | destroy_fancy_status(wp) | ^~~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o wintext.o ../win/X11/wintext.c In file included from ../include/hack.h:10, from ../win/X11/wintext.c:31: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/X11/wintext.c: In function 'delete_text': ../win/X11/wintext.c:56:1: warning: old-style function definition [-Wold-style-definition] 56 | delete_text(w, event, params, num_params) | ^~~~~~~~~~~ ../win/X11/wintext.c: In function 'dismiss_text': ../win/X11/wintext.c:88:1: warning: old-style function definition [-Wold-style-definition] 88 | dismiss_text(w, event, params, num_params) | ^~~~~~~~~~~~ ../win/X11/wintext.c: In function 'key_dismiss_text': ../win/X11/wintext.c:115:1: warning: old-style function definition [-Wold-style-definition] 115 | key_dismiss_text(w, event, params, num_params) | ^~~~~~~~~~~~~~~~ ../win/X11/wintext.c: In function 'add_to_text_window': ../win/X11/wintext.c:141:1: warning: old-style function definition [-Wold-style-definition] 141 | add_to_text_window(wp, attr, str) | ^~~~~~~~~~~~~~~~~~ ../win/X11/wintext.c: In function 'display_text_window': ../win/X11/wintext.c:160:1: warning: old-style function definition [-Wold-style-definition] 160 | display_text_window(wp, blocking) | ^~~~~~~~~~~~~~~~~~~ ../win/X11/wintext.c: In function 'create_text_window': ../win/X11/wintext.c:261:1: warning: old-style function definition [-Wold-style-definition] 261 | create_text_window(wp) | ^~~~~~~~~~~~~~~~~~ ../win/X11/wintext.c: In function 'destroy_text_window': ../win/X11/wintext.c:344:1: warning: old-style function definition [-Wold-style-definition] 344 | destroy_text_window(wp) | ^~~~~~~~~~~~~~~~~~~ ../win/X11/wintext.c: In function 'clear_text_window': ../win/X11/wintext.c:368:1: warning: old-style function definition [-Wold-style-definition] 368 | clear_text_window(wp) | ^~~~~~~~~~~~~~~~~ ../win/X11/wintext.c: In function 'append_text_buffer': ../win/X11/wintext.c:379:1: warning: old-style function definition [-Wold-style-definition] 379 | append_text_buffer(tb, str, concat) | ^~~~~~~~~~~~~~~~~~ ../win/X11/wintext.c: In function 'init_text_buffer': ../win/X11/wintext.c:439:1: warning: old-style function definition [-Wold-style-definition] 439 | init_text_buffer(tb) | ^~~~~~~~~~~~~~~~ ../win/X11/wintext.c: In function 'clear_text_buffer': ../win/X11/wintext.c:451:1: warning: old-style function definition [-Wold-style-definition] 451 | clear_text_buffer(tb) | ^~~~~~~~~~~~~~~~~ ../win/X11/wintext.c: In function 'free_text_buffer': ../win/X11/wintext.c:461:1: warning: old-style function definition [-Wold-style-definition] 461 | free_text_buffer(tb) | ^~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o winval.o ../win/X11/winval.c In file included from ../include/hack.h:10, from ../win/X11/winval.c:28: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/X11/winval.c: In function 'create_value': ../win/X11/winval.c:35:1: warning: old-style function definition [-Wold-style-definition] 35 | create_value(parent, name_value) | ^~~~~~~~~~~~ ../win/X11/winval.c: In function 'set_name': ../win/X11/winval.c:78:1: warning: old-style function definition [-Wold-style-definition] 78 | set_name(w, new_label) | ^~~~~~~~ ../win/X11/winval.c: In function 'set_name_width': ../win/X11/winval.c:91:1: warning: old-style function definition [-Wold-style-definition] 91 | set_name_width(w, new_width) | ^~~~~~~~~~~~~~ ../win/X11/winval.c: In function 'get_name_width': ../win/X11/winval.c:104:1: warning: old-style function definition [-Wold-style-definition] 104 | get_name_width(w) | ^~~~~~~~~~~~~~ ../win/X11/winval.c: In function 'set_value': ../win/X11/winval.c:118:1: warning: old-style function definition [-Wold-style-definition] 118 | set_value(w, new_value) | ^~~~~~~~~ ../win/X11/winval.c: In function 'set_value_width': ../win/X11/winval.c:131:1: warning: old-style function definition [-Wold-style-definition] 131 | set_value_width(w, new_width) | ^~~~~~~~~~~~~~~ ../win/X11/winval.c: In function 'get_value_width': ../win/X11/winval.c:144:1: warning: old-style function definition [-Wold-style-definition] 144 | get_value_width(w) | ^~~~~~~~~~~~~~~ ../win/X11/winval.c: In function 'hilight_value': ../win/X11/winval.c:160:1: warning: old-style function definition [-Wold-style-definition] 160 | hilight_value(w) | ^~~~~~~~~~~~~ ../win/X11/winval.c: In function 'swap_fg_bg': ../win/X11/winval.c:168:1: warning: old-style function definition [-Wold-style-definition] 168 | swap_fg_bg(w) | ^~~~~~~~~~ make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c ../win/share/tilemap.c In file included from ../include/hack.h:10, from ../win/share/tilemap.c:11: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/share/tilemap.c: In function 'process_substitutions': ../win/share/tilemap.c:407:1: warning: old-style function definition [-Wold-style-definition] 407 | process_substitutions(ofp) | ^~~~~~~~~~~~~~~~~~~~~ ../win/share/tilemap.c: In function 'acceptable_tilename': ../win/share/tilemap.c:628:1: warning: old-style function definition [-Wold-style-definition] 628 | acceptable_tilename(idx, encountered, expected) | ^~~~~~~~~~~~~~~~~~~ gcc -L/usr/X11R6/lib64 -o tilemap tilemap.o ./tilemap make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o tile.o tile.c In file included from ../include/hack.h:10, from tile.c:3: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition tile.c: In function 'substitute_tiles': tile.c:511:1: warning: old-style function definition [-Wold-style-definition] 511 | substitute_tiles(plev) | ^~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o cursmain.o ../win/curses/cursmain.c In file included from ../include/hack.h:10, from ../win/curses/cursmain.c:7: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o curswins.o ../win/curses/curswins.c In file included from ../include/hack.h:10, from ../win/curses/curswins.c:7: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o cursmisc.o ../win/curses/cursmisc.c In file included from ../include/hack.h:10, from ../win/curses/cursmisc.c:7: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/curses/cursmisc.c: In function 'curses_fmt_attrs': ../win/curses/cursmisc.c:818:1: warning: old-style function definition [-Wold-style-definition] 818 | curses_fmt_attrs(outbuf) | ^~~~~~~~~~~~~~~~ ../win/curses/cursmisc.c: In function 'curses_mouse_support': ../win/curses/cursmisc.c:1031:1: warning: old-style function definition [-Wold-style-definition] 1031 | curses_mouse_support(mode) | ^~~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o cursdial.o ../win/curses/cursdial.c In file included from ../include/hack.h:10, from ../win/curses/cursdial.c:7: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o cursstat.o ../win/curses/cursstat.c In file included from ../include/hack.h:10, from ../win/curses/cursstat.c:7: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/curses/cursstat.c: In function 'curses_status_update': ../win/curses/cursstat.c:140:1: warning: old-style function definition [-Wold-style-definition] 140 | curses_status_update(fldidx, ptr, chg, percent, color_and_attr, colormasks) | ^~~~~~~~~~~~~~~~~~~~ ../win/curses/cursstat.c: In function 'draw_horizontal': ../win/curses/cursstat.c:247:1: warning: old-style function definition [-Wold-style-definition] 247 | draw_horizontal(border) | ^~~~~~~~~~~~~~~ ../win/curses/cursstat.c: In function 'draw_vertical': ../win/curses/cursstat.c:652:1: warning: old-style function definition [-Wold-style-definition] 652 | draw_vertical(border) | ^~~~~~~~~~~~~ ../win/curses/cursstat.c: In function 'condcolor': ../win/curses/cursstat.c:1234:1: warning: old-style function definition [-Wold-style-definition] 1234 | condcolor(bm, bmarray) | ^~~~~~~~~ ../win/curses/cursstat.c: In function 'condattr': ../win/curses/cursstat.c:1250:1: warning: old-style function definition [-Wold-style-definition] 1250 | condattr(bm, bmarray) | ^~~~~~~~ ../win/curses/cursstat.c: In function 'nhattr2curses': ../win/curses/cursstat.c:1286:1: warning: old-style function definition [-Wold-style-definition] 1286 | nhattr2curses(attrmask) | ^~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o cursinit.o ../win/curses/cursinit.c In file included from ../include/hack.h:10, from ../win/curses/cursinit.c:7: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o cursmesg.o ../win/curses/cursmesg.c In file included from ../include/hack.h:10, from ../win/curses/cursmesg.c:7: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/curses/cursmesg.c: In function 'curses_getmsghistory': ../win/curses/cursmesg.c:839:1: warning: old-style function definition [-Wold-style-definition] 839 | curses_getmsghistory(init) | ^~~~~~~~~~~~~~~~~~~~ ../win/curses/cursmesg.c: In function 'curses_putmsghistory': ../win/curses/cursmesg.c:883:1: warning: old-style function definition [-Wold-style-definition] 883 | curses_putmsghistory(msg, restoring_msghist) | ^~~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o cursinvt.o ../win/curses/cursinvt.c In file included from ../include/hack.h:10, from ../win/curses/cursinvt.c:7: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition /bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' ../util/makedefs -v gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o version.o version.c In file included from ../include/hack.h:10, from version.c:6: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition version.c: In function 'version_string': version.c:30:1: warning: old-style function definition [-Wold-style-definition] 30 | version_string(buf) | ^~~~~~~~~~~~~~ version.c: In function 'getversionstring': version.c:38:1: warning: old-style function definition [-Wold-style-definition] 38 | getversionstring(buf) | ^~~~~~~~~~~~~~~~ version.c: In function 'early_version_info': version.c:174:6: warning: old-style function definition [-Wold-style-definition] 174 | void early_version_info(pastebuf) | ^~~~~~~~~~~~~~~~~~ version.c: In function 'insert_rtoption': version.c:228:1: warning: old-style function definition [-Wold-style-definition] 228 | insert_rtoption(buf) | ^~~~~~~~~~~~~~~ version.c: In function 'check_version': version.c:253:1: warning: old-style function definition [-Wold-style-definition] 253 | check_version(version_data, filename, complain) | ^~~~~~~~~~~~~ version.c: In function 'uptodate': version.c:289:1: warning: old-style function definition [-Wold-style-definition] 289 | uptodate(fd, name) | ^~~~~~~~ version.c: In function 'store_version': version.c:315:1: warning: old-style function definition [-Wold-style-definition] 315 | store_version(fd) | ^~~~~~~~~~~~~ version.c: In function 'get_feature_notice_ver': version.c:336:1: warning: old-style function definition [-Wold-style-definition] 336 | get_feature_notice_ver(str) | ^~~~~~~~~~~~~~~~~~~~~~ version.c: In function 'copyright_banner_line': version.c:377:1: warning: old-style function definition [-Wold-style-definition] 377 | copyright_banner_line(indx) | ^~~~~~~~~~~~~~~~~~~~~ Linking nethack. gcc -L/usr/X11R6/lib64 -o nethack monst.o objects.o allmain.o alloc.o apply.o artifact.o attrib.o ball.o bones.o botl.o cmd.o dbridge.o decl.o detect.o dig.o display.o dlb.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o files.o fountain.o hack.o hacklib.o invent.o isaac64.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o sys.o steal.o steed.o teleport.o timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o posixregex.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o getline.o termcap.o topl.o wintty.o Window.o dialogs.o winX.o winmap.o winmenu.o winmesg.o winmisc.o winstat.o wintext.o winval.o tile.o cursmain.o curswins.o cursmisc.o cursdial.o cursstat.o cursinit.o cursmesg.o cursinvt.o version.o -lncurses -lXaw -lXmu -lXext -lXt -lXpm -lX11 nethack is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' ( cd util ; make recover ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o recover.o recover.c In file included from recover.c:15: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition recover.c: In function 'main': recover.c:64:1: warning: old-style function definition [-Wold-style-definition] 64 | main(argc, argv) | ^~~~ recover.c: In function 'set_levelfile_name': recover.c:155:1: warning: old-style function definition [-Wold-style-definition] 155 | set_levelfile_name(lev) | ^~~~~~~~~~~~~~~~~~ recover.c: In function 'open_levelfile': recover.c:170:1: warning: old-style function definition [-Wold-style-definition] 170 | open_levelfile(lev) | ^~~~~~~~~~~~~~ recover.c: In function 'copy_bytes': recover.c:198:1: warning: old-style function definition [-Wold-style-definition] 198 | copy_bytes(ifd, ofd) | ^~~~~~~~~~ recover.c: In function 'restore_savefile': recover.c:215:1: warning: old-style function definition [-Wold-style-definition] 215 | restore_savefile(basename) | ^~~~~~~~~~~~~~~~ gcc -L/usr/X11R6/lib64 -o recover recover.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' ( cd doc ; make Guidebook ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/doc' tbl tmac.n Guidebook.mn | nroff | col -bx > Guidebook /bin/sh: line 1: tbl: command not found /bin/sh: line 1: nroff: command not found make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/doc' ( cd dat ; make bogusmon ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ../util/makedefs -s make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; make data ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ../util/makedefs -d make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; make engrave ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'engrave' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; make epitaph ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'epitaph' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; make oracles ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ../util/makedefs -h make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; make options ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; make quest.dat ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ../util/makedefs -q make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; make rumors ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ../util/makedefs -r make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd util ; make tile2x11 ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' cp ../win/share/tile.h ../include/tile.h gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c ../win/X11/tile2x11.c In file included from ../include/hack.h:10, from ../win/X11/tile2x11.c:13: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/X11/tile2x11.c: In function 'pix_to_colormap': ../win/X11/tile2x11.c:27:1: warning: old-style function definition [-Wold-style-definition] 27 | pix_to_colormap(pix) | ^~~~~~~~~~~~~~~ ../win/X11/tile2x11.c: In function 'convert_tiles': ../win/X11/tile2x11.c:49:1: warning: old-style function definition [-Wold-style-definition] 49 | convert_tiles(tb_ptr, total) | ^~~~~~~~~~~~~ ../win/X11/tile2x11.c: In function 'process_file': ../win/X11/tile2x11.c:112:1: warning: old-style function definition [-Wold-style-definition] 112 | process_file(fname) | ^~~~~~~~~~~~ ../win/X11/tile2x11.c: In function 'main': ../win/X11/tile2x11.c:169:1: warning: old-style function definition [-Wold-style-definition] 169 | main(argc, argv) | ^~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c ../win/share/tiletext.c In file included from ../win/share/tiletext.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/share/tiletext.c: In function 'set_grayscale': ../win/share/tiletext.c:49:1: warning: old-style function definition [-Wold-style-definition] 49 | set_grayscale(g) | ^~~~~~~~~~~~~ ../win/share/tiletext.c: In function 'read_text_colormap': ../win/share/tiletext.c:56:1: warning: old-style function definition [-Wold-style-definition] 56 | read_text_colormap(txtfile) | ^~~~~~~~~~~~~~~~~~ ../win/share/tiletext.c: In function 'write_text_colormap': ../win/share/tiletext.c:79:1: warning: old-style function definition [-Wold-style-definition] 79 | write_text_colormap(txtfile) | ^~~~~~~~~~~~~~~~~~~ ../win/share/tiletext.c: In function 'read_txttile': ../win/share/tiletext.c:107:1: warning: old-style function definition [-Wold-style-definition] 107 | read_txttile(txtfile, pixels) | ^~~~~~~~~~~~ ../win/share/tiletext.c: In function 'write_txttile': ../win/share/tiletext.c:193:1: warning: old-style function definition [-Wold-style-definition] 193 | write_txttile(txtfile, pixels) | ^~~~~~~~~~~~~ ../win/share/tiletext.c: In function 'fopen_text_file': ../win/share/tiletext.c:278:1: warning: old-style function definition [-Wold-style-definition] 278 | fopen_text_file(filename, type) | ^~~~~~~~~~~~~~~ ../win/share/tiletext.c: In function 'read_text_tile': ../win/share/tiletext.c:336:1: warning: old-style function definition [-Wold-style-definition] 336 | read_text_tile(pixels) | ^~~~~~~~~~~~~~ ../win/share/tiletext.c: In function 'write_text_tile': ../win/share/tiletext.c:343:1: warning: old-style function definition [-Wold-style-definition] 343 | write_text_tile(pixels) | ^~~~~~~~~~~~~~~ echo '#define TILETEXT' >> tiletxt.c echo '#include "../win/share/tilemap.c"' >> tiletxt.c gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c tiletxt.c In file included from ../include/hack.h:10, from ../win/share/tilemap.c:11, from tiletxt.c:5: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition ../win/share/tilemap.c: In function 'tilename': ../win/share/tilemap.c:106:1: warning: old-style function definition [-Wold-style-definition] 106 | tilename(set, entry) | ^~~~~~~~ ../win/share/tilemap.c: In function 'acceptable_tilename': ../win/share/tilemap.c:628:1: warning: old-style function definition [-Wold-style-definition] 628 | acceptable_tilename(idx, encountered, expected) | ^~~~~~~~~~~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o panic.o panic.c In file included from panic.c:12: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition gcc -L/usr/X11R6/lib64 -o tile2x11 tile2x11.o tiletext.o tiletxt.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' ( cd dat ; make x11tiles ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \ ../win/share/other.txt \ -grayscale ../win/share/monsters.txt ../win/share/monsters.txt: 394 tiles ../win/share/objects.txt: 456 tiles ../win/share/other.txt: 232 tiles ../win/share/monsters.txt: 394 tiles Total tiles: 1476 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; make NetHack.ad ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' grep ^#define ../win/X11/NetHack.ad | \ sed -e 's/^#define/s/g' -e 's/ */ /g' \ -e 's/$/ g/g' > NetHack.ad.tmp grep -v ^#define ../win/X11/NetHack.ad | \ sed -f NetHack.ad.tmp > NetHack.ad rm -f NetHack.ad.tmp make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; make pet_mark.xbm ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' cp ../win/X11/pet_mark.xbm pet_mark.xbm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; make pilemark.xbm ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' cp ../win/X11/pilemark.xbm pilemark.xbm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; make rip.xpm ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' cp ../win/X11/rip.xpm rip.xpm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd util ; make dgn_comp ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' bison -y -d dgn_comp.y sed -e 's#"y.tab.c"#"dgn_yacc.c"#' -e 's#y.tab.c:#dgn_yacc.c:#' y.tab.c > dgn_yacc.c \ && rm y.tab.c sed -e 's#"y.tab.h"#"dgn_comp.h"#' y.tab.h > ../include/dgn_comp.h \ && rm y.tab.h make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o dgn_yacc.o dgn_yacc.c In file included from dgn_comp.y:25: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition dgn_comp.y: In function 'getchain': dgn_comp.y:488:1: warning: old-style function definition [-Wold-style-definition] 488 | getchain(s) | ^~~~~~~~ flex dgn_comp.l sed -e 's#"lex.yy.c"#"dgn_lex.c"#' -e 's# *$##' \ -e 's#static void yyunput#void yyunput#' lex.yy.c > dgn_lex.c \ && rm lex.yy.c gcc -c -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -DWEIRD_LEX=`egrep -c _cplusplus dgn_lex.c` dgn_lex.c egrep: warning: egrep is obsolescent; using grep -E In file included from dgn_comp.l:9: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition dgn_comp.l: In function 'init_yyin': dgn_comp.l:125:1: warning: old-style function definition [-Wold-style-definition] 125 | init_yyin( input_f ) | ^~~~~~~~~ dgn_comp.l: In function 'init_yyout': dgn_comp.l:138:1: warning: old-style function definition [-Wold-style-definition] 138 | init_yyout( output_f ) | ^~~~~~~~~~ gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o dgn_main.o dgn_main.c In file included from dgn_main.c:11: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition dgn_main.c: In function 'main': dgn_main.c:56:1: warning: old-style function definition [-Wold-style-definition] 56 | main(argc, argv) | ^~~~ dgn_main.c: In function 'yyerror': dgn_main.c:161:1: warning: old-style function definition [-Wold-style-definition] 161 | yyerror(s) | ^~~~~~~ dgn_main.c: In function 'yywarning': dgn_main.c:176:1: warning: old-style function definition [-Wold-style-definition] 176 | yywarning(s) | ^~~~~~~~~ gcc -L/usr/X11R6/lib64 -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' ( cd dat ; make dungeon ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd util ; make lev_comp ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' bison -y -d lev_comp.y sed -e 's#"y.tab.c"#"lev_yacc.c"#' -e 's#y.tab.c:#lev_yacc.c:#' y.tab.c > lev_yacc.c \ && rm y.tab.c sed -e 's#"y.tab.h"#"lev_comp.h"#' y.tab.h > ../include/lev_comp.h \ && rm y.tab.h gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o lev_yacc.o lev_yacc.c In file included from ../include/hack.h:10, from lev_comp.y:25: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition flex lev_comp.l sed -e 's#"lex.yy.c"#"lev_lex.c"#' -e 's# *$##' \ -e 's#static void yyunput#void yyunput#' lex.yy.c > lev_lex.c \ && rm lex.yy.c gcc -c -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -DWEIRD_LEX=`egrep -c _cplusplus lev_lex.c` lev_lex.c egrep: warning: egrep is obsolescent; using grep -E In file included from ../include/hack.h:10, from lev_comp.l:8: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition lev_comp.l: In function 'init_yyin': lev_comp.l:360:1: warning: old-style function definition [-Wold-style-definition] 360 | init_yyin( input_f ) | ^~~~~~~~~ lev_comp.l: In function 'init_yyout': lev_comp.l:375:1: warning: old-style function definition [-Wold-style-definition] 375 | init_yyout( output_f ) | ^~~~~~~~~~ lev_comp.l: In function 'savetoken': lev_comp.l:423:1: warning: old-style function definition [-Wold-style-definition] 423 | savetoken(s) | ^~~~~~~~~ lev_comp.l: In function 'advancepos': lev_comp.l:431:1: warning: old-style function definition [-Wold-style-definition] 431 | advancepos(s) | ^~~~~~~~~~ make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c -o lev_main.o lev_main.c In file included from ../include/hack.h:10, from lev_main.c:12: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition lev_main.c: In function 'main': lev_main.c:236:1: warning: old-style function definition [-Wold-style-definition] 236 | main(argc, argv) | ^~~~ lev_main.c: In function 'yyerror': lev_main.c:313:1: warning: old-style function definition [-Wold-style-definition] 313 | yyerror(s) | ^~~~~~~ lev_main.c: In function 'yywarning': lev_main.c:334:1: warning: old-style function definition [-Wold-style-definition] 334 | yywarning(s) | ^~~~~~~~~ lev_main.c: In function 'decode_parm_chr': lev_main.c:450:1: warning: old-style function definition [-Wold-style-definition] 450 | decode_parm_chr(chr) | ^~~~~~~~~~~~~~~ lev_main.c: In function 'decode_parm_str': lev_main.c:488:1: warning: old-style function definition [-Wold-style-definition] 488 | decode_parm_str(str) | ^~~~~~~~~~~~~~~ lev_main.c: In function 'set_opvar_int': lev_main.c:505:1: warning: old-style function definition [-Wold-style-definition] 505 | set_opvar_int(ov, val) | ^~~~~~~~~~~~~ lev_main.c: In function 'set_opvar_coord': lev_main.c:517:1: warning: old-style function definition [-Wold-style-definition] 517 | set_opvar_coord(ov, val) | ^~~~~~~~~~~~~~~ lev_main.c: In function 'set_opvar_region': lev_main.c:529:1: warning: old-style function definition [-Wold-style-definition] 529 | set_opvar_region(ov, val) | ^~~~~~~~~~~~~~~~ lev_main.c: In function 'set_opvar_mapchar': lev_main.c:541:1: warning: old-style function definition [-Wold-style-definition] 541 | set_opvar_mapchar(ov, val) | ^~~~~~~~~~~~~~~~~ lev_main.c: In function 'set_opvar_monst': lev_main.c:553:1: warning: old-style function definition [-Wold-style-definition] 553 | set_opvar_monst(ov, val) | ^~~~~~~~~~~~~~~ lev_main.c: In function 'set_opvar_obj': lev_main.c:565:1: warning: old-style function definition [-Wold-style-definition] 565 | set_opvar_obj(ov, val) | ^~~~~~~~~~~~~ lev_main.c: In function 'set_opvar_str': lev_main.c:577:1: warning: old-style function definition [-Wold-style-definition] 577 | set_opvar_str(ov, val) | ^~~~~~~~~~~~~ lev_main.c: In function 'set_opvar_var': lev_main.c:589:1: warning: old-style function definition [-Wold-style-definition] 589 | set_opvar_var(ov, val) | ^~~~~~~~~~~~~ lev_main.c: In function 'break_stmt_end': lev_main.c:737:1: warning: old-style function definition [-Wold-style-definition] 737 | break_stmt_end(splev) | ^~~~~~~~~~~~~~ lev_main.c: In function 'break_stmt_new': lev_main.c:764:1: warning: old-style function definition [-Wold-style-definition] 764 | break_stmt_new(splev, i) | ^~~~~~~~~~~~~~ lev_main.c: In function 'funcdef_new': lev_main.c:780:1: warning: old-style function definition [-Wold-style-definition] 780 | funcdef_new(addr, name) | ^~~~~~~~~~~ lev_main.c: In function 'funcdef_free_all': lev_main.c:803:1: warning: old-style function definition [-Wold-style-definition] 803 | funcdef_free_all(fchain) | ^~~~~~~~~~~~~~~~ lev_main.c: In function 'funcdef_paramtypes': lev_main.c:825:1: warning: old-style function definition [-Wold-style-definition] 825 | funcdef_paramtypes(f) | ^~~~~~~~~~~~~~~~~~ lev_main.c: In function 'funcdef_defined': lev_main.c:843:1: warning: old-style function definition [-Wold-style-definition] 843 | funcdef_defined(f, name, casesense) | ^~~~~~~~~~~~~~~ lev_main.c: In function 'vardef_new': lev_main.c:862:1: warning: old-style function definition [-Wold-style-definition] 862 | vardef_new(typ, name) | ^~~~~~~~~~ lev_main.c: In function 'vardef_free_all': lev_main.c:881:1: warning: old-style function definition [-Wold-style-definition] 881 | vardef_free_all(fchain) | ^~~~~~~~~~~~~~~ lev_main.c: In function 'vardef_defined': lev_main.c:898:1: warning: old-style function definition [-Wold-style-definition] 898 | vardef_defined(f, name, casesense) | ^~~~~~~~~~~~~~ lev_main.c: In function 'spovar2str': lev_main.c:917:1: warning: old-style function definition [-Wold-style-definition] 917 | spovar2str(spovar) | ^~~~~~~~~~ lev_main.c: In function 'vardef_used': lev_main.c:963:1: warning: old-style function definition [-Wold-style-definition] 963 | vardef_used(vd, varname) | ^~~~~~~~~~~ lev_main.c: In function 'check_vardef_type': lev_main.c:974:1: warning: old-style function definition [-Wold-style-definition] 974 | check_vardef_type(vd, varname, vartype) | ^~~~~~~~~~~~~~~~~ lev_main.c: In function 'add_vardef_type': lev_main.c:992:1: warning: old-style function definition [-Wold-style-definition] 992 | add_vardef_type(vd, varname, vartype) | ^~~~~~~~~~~~~~~ lev_main.c: In function 'reverse_jmp_opcode': lev_main.c:1014:1: warning: old-style function definition [-Wold-style-definition] 1014 | reverse_jmp_opcode(opcode) | ^~~~~~~~~~~~~~~~~~ lev_main.c: In function 'opvar_clone': lev_main.c:1039:1: warning: old-style function definition [-Wold-style-definition] 1039 | opvar_clone(ov) | ^~~~~~~~~~~ lev_main.c: In function 'splev_add_from': lev_main.c:1084:1: warning: old-style function definition [-Wold-style-definition] 1084 | splev_add_from(splev, from_splev) | ^~~~~~~~~~~~~~ lev_main.c: In function 'start_level_def': lev_main.c:1097:1: warning: old-style function definition [-Wold-style-definition] 1097 | start_level_def(splev, ldfname) | ^~~~~~~~~~~~~~~ lev_main.c: In function 'get_floor_type': lev_main.c:1125:1: warning: old-style function definition [-Wold-style-definition] 1125 | get_floor_type(c) | ^~~~~~~~~~~~~~ lev_main.c: In function 'get_room_type': lev_main.c:1143:1: warning: old-style function definition [-Wold-style-definition] 1143 | get_room_type(s) | ^~~~~~~~~~~~~ lev_main.c: In function 'get_trap_type': lev_main.c:1159:1: warning: old-style function definition [-Wold-style-definition] 1159 | get_trap_type(s) | ^~~~~~~~~~~~~ lev_main.c: In function 'get_monster_id': lev_main.c:1175:1: warning: old-style function definition [-Wold-style-definition] 1175 | get_monster_id(s, c) | ^~~~~~~~~~~~~~ lev_main.c: In function 'get_object_id': lev_main.c:1206:1: warning: old-style function definition [-Wold-style-definition] 1206 | get_object_id(s, c) | ^~~~~~~~~~~~~ lev_main.c: In function 'check_monster_char': lev_main.c:1258:1: warning: old-style function definition [-Wold-style-definition] 1258 | check_monster_char(c) | ^~~~~~~~~~~~~~~~~~ lev_main.c: In function 'check_object_char': lev_main.c:1268:1: warning: old-style function definition [-Wold-style-definition] 1268 | check_object_char(c) | ^~~~~~~~~~~~~~~~~ lev_main.c: In function 'what_map_char': lev_main.c:1278:1: warning: old-style function definition [-Wold-style-definition] 1278 | what_map_char(c) | ^~~~~~~~~~~~~ lev_main.c: In function 'add_opcode': lev_main.c:1332:1: warning: old-style function definition [-Wold-style-definition] 1332 | add_opcode(sp, opc, dat) | ^~~~~~~~~~ lev_main.c: In function 'scan_map': lev_main.c:1370:1: warning: old-style function definition [-Wold-style-definition] 1370 | scan_map(map, sp) | ^~~~~~~~ lev_main.c: In function 'write_common_data': lev_main.c:1460:1: warning: old-style function definition [-Wold-style-definition] 1460 | write_common_data(fd) | ^~~~~~~~~~~~~~~~~ lev_main.c: In function 'write_maze': lev_main.c:1477:1: warning: old-style function definition [-Wold-style-definition] 1477 | write_maze(fd, maze) | ^~~~~~~~~~ lev_main.c: In function 'write_level_file': lev_main.c:1554:1: warning: old-style function definition [-Wold-style-definition] 1554 | write_level_file(filename, lvl) | ^~~~~~~~~~~~~~~~ lev_main.c: In function 'case_insensitive_comp': lev_main.c:1591:1: warning: old-style function definition [-Wold-style-definition] 1591 | case_insensitive_comp(s1, s2) | ^~~~~~~~~~~~~~~~~~~~~ gcc -L/usr/X11R6/lib64 -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' ( cd dat ; make spec_levs ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ../util/lev_comp bigroom.des ../util/lev_comp castle.des ../util/lev_comp endgame.des ../util/lev_comp gehennom.des ../util/lev_comp knox.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp oracle.des ../util/lev_comp sokoban.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; make quest_levs ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Healer.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des touch quest_levs make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' egrep: warning: egrep is obsolescent; using grep -E color, data file compression, data librarian, end-of-game dumplogs, make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7' ( cd util ; make dlb ) make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[3]: '../include/date.h' is up to date. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' gcc -g -O -I../include -DNOTPARMDECL -DDLB -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DSYSCF -DSYSCF_FILE=\"/usr/games/nethack/sysconf\" -DSECURE -DTIMED_DELAY -DHACKDIR=\"/usr/games/nethack\" -DDUMPLOG -DCONFIG_ERROR_SECURE=FALSE -DCURSES_GRAPHICS -c dlb_main.c In file included from dlb_main.c:8: ../include/config.h:48:9: warning: 'CURSES_GRAPHICS' redefined 48 | #define CURSES_GRAPHICS /* Curses interface - Karl Garrison*/ | ^~~~~~~~~~~~~~~ : note: this is the location of the previous definition ../include/config.h:314:9: warning: 'DLB' redefined 314 | #define DLB /* not supported on all platforms */ | ^~~ : note: this is the location of the previous definition In file included from ../include/global.h:136, from ../include/config.h:581: ../include/unixconf.h:136:9: warning: 'TIMED_DELAY' redefined 136 | #define TIMED_DELAY /* usleep() */ | ^~~~~~~~~~~ : note: this is the location of the previous definition dlb_main.c: In function 'Write': dlb_main.c:112:1: warning: old-style function definition [-Wold-style-definition] 112 | Write(out, buf, len) | ^~~~~ dlb_main.c: In function 'eos': dlb_main.c:136:1: warning: old-style function definition [-Wold-style-definition] 136 | eos(s) | ^~~ dlb_main.c: In function 'fopen_datafile': dlb_main.c:146:1: warning: old-style function definition [-Wold-style-definition] 146 | fopen_datafile(filename, mode) | ^~~~~~~~~~~~~~ dlb_main.c: In function 'main': dlb_main.c:156:1: warning: old-style function definition [-Wold-style-definition] 156 | main(argc, argv) | ^~~~ dlb_main.c: In function 'grow_ld': dlb_main.c:489:1: warning: old-style function definition [-Wold-style-definition] 489 | grow_ld(ld_p, ldlimit_p, alloc_incr) | ^~~~~~~ dlb_main.c: In function 'write_dlb_directory': dlb_main.c:509:1: warning: old-style function definition [-Wold-style-definition] 509 | write_dlb_directory(out, nfiles, ld, slen, dir_size, flen) | ^~~~~~~~~~~~~~~~~~~ dlb_main.c: In function 'xexit': dlb_main.c:542:1: warning: old-style function definition [-Wold-style-definition] 542 | xexit(retcd) | ^~~~~ gcc -L/usr/X11R6/lib64 -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' ( cd dat ; LC_ALL=C ; ../util/dlb cf nhdat help hh cmdhelp keyhelp history opthelp wizhelp dungeon tribute asmodeus.lev baalz.lev bigrm-*.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev bogusmon data engrave epitaph oracles options quest.dat rumors ) make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7' true; Done. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YswL5k + umask 022 + cd /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build + mkdir /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd NetHack-3.6.7 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT 'INSTALL=/usr/bin/install -p' PREFIX=/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT HACKDIR=/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack GAMEDIR=/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack VARDIR=/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack SHELLDIR=/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin CHOWN=/bin/true CHGRP=/bin/true ( cd src ; /usr/bin/make ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[1]: 'nethack' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' ( cd util ; /usr/bin/make recover ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' ( cd dat ; /usr/bin/make bogusmon ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'bogusmon' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make data ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'data' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make engrave ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'engrave' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make epitaph ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'epitaph' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make oracles ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'oracles' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make options ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make quest.dat ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'quest.dat' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make rumors ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'rumors' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd util ; /usr/bin/make tile2x11 ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' make[1]: 'tile2x11' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' ( cd dat ; /usr/bin/make x11tiles ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'x11tiles' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make NetHack.ad ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'NetHack.ad' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make pet_mark.xbm ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'pet_mark.xbm' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make pilemark.xbm ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'pilemark.xbm' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make rip.xpm ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'rip.xpm' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd util ; /usr/bin/make dgn_comp ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' ( cd dat ; /usr/bin/make dungeon ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'dungeon' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd util ; /usr/bin/make lev_comp ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' ( cd dat ; /usr/bin/make spec_levs ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'spec_levs' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make quest_levs ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[1]: 'quest_levs' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' true; if test -n '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin'; then \ mkdir -p /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin; fi rm -rf /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack mkdir -p /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/save if test -d ./-p; then rmdir ./-p; fi /bin/true /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/save /bin/true /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/save chmod 0755 /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack chmod 0755 /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/save ( /usr/bin/make dofiles ) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7' target=`sed -n \ -e '/librarian/{' \ -e 's/.*/dlb/p' \ -e 'q' \ -e '}' \ -e '$s/.*/nodlb/p' < dat/options` ; \ /usr/bin/make dofiles-${target-nodlb} make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7' ( cd src ; /usr/bin/make ) make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[3]: 'nethack' is up to date. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' ( cd dat ; /usr/bin/make options ) make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' make[3]: 'options' is up to date. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat' egrep: warning: egrep is obsolescent; using grep -E color, data file compression, data librarian, end-of-game dumplogs, make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7' ( cd util ; /usr/bin/make dlb ) make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' make[5]: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/src' make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/util' ( cd dat ; LC_ALL=C ; ../util/dlb cf nhdat help hh cmdhelp keyhelp history opthelp wizhelp dungeon tribute asmodeus.lev baalz.lev bigrm-*.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev bogusmon data engrave epitaph oracles options quest.dat rumors ) make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7' ( cd dat ; cp nhdat x11tiles NetHack.ad pet_mark.xbm pilemark.xbm rip.xpm license symbols /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack ) ( cd /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack ; /bin/true nhdat x11tiles NetHack.ad pet_mark.xbm pilemark.xbm rip.xpm license symbols ; \ /bin/true nhdat x11tiles NetHack.ad pet_mark.xbm pilemark.xbm rip.xpm license symbols ; \ chmod 0644 nhdat x11tiles NetHack.ad pet_mark.xbm pilemark.xbm rip.xpm license symbols ) make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7' cp src/nethack /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack cp util/recover /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack if test -n '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin'; then rm -f /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin/nethack; fi if test -n '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin'; then \ sed -e 's;/usr/games/lib/nethackdir;/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack;' \ -e 's;HACKDIR/nethack;HACKDIR/nethack;' \ < sys/unix/nethack.sh \ > /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin/nethack ; fi ( cd /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack ; /bin/true nethack recover ; \ /bin/true nethack recover ) chmod 02755 /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/nethack chmod 0755 /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/recover if test -n '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin'; then \ /bin/true /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin/nethack; fi if test -n '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin'; then \ /bin/true /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin/nethack; \ chmod 0755 /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin/nethack; fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7' touch /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/perm /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/record /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/logfile /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/xlogfile ( cd /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack ; /bin/true perm record logfile xlogfile ; \ /bin/true perm record logfile xlogfile ; \ chmod 0600 perm record logfile xlogfile ) true; cp -n sys/unix/sysconf /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/sysconf; /bin/true /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/sysconf; /bin/true /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/sysconf; chmod 0600 /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/sysconf; You may also want to reinstall the man pages via the doc Makefile. + install -d -m 0755 /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6 + make -C doc MANDIR=/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6 manpages make: Entering directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/doc' cat nethack.6 | ../util/makedefs --grep --input - --output - > /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6/nethack.6 cat lev_comp.6 | ../util/makedefs --grep --input - --output - > /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6/lev_comp.6 cat dgn_comp.6 | ../util/makedefs --grep --input - --output - > /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6/dgn_comp.6 cat recover.6 | ../util/makedefs --grep --input - --output - > /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6/recover.6 cat dlb.6 | ../util/makedefs --grep --input - --output - > /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6/dlb.6 cat makedefs.6 | ../util/makedefs --grep --input - --output - > /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6/makedefs.6 make: Leaving directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/doc' + install -D -p -m 0644 win/X11/nh_icon.xpm /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/pixmaps/nethack.xpm + desktop-file-install --dir /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/applications /home/pterjan/rpmbuild/SOURCES/nethack.desktop /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/applications/nethack.desktop: error: (will be fatal in the future): value "nethack.xpm" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + cd win/X11 + bdftopcf -o nh10.pcf nh10.bdf + bdftopcf -o ibm.pcf ibm.bdf + set +x Installing nethack-bitmap-fonts install: creating directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/fonts' install: creating directory '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/fonts/nethack-bitmap-fonts' 'ibm.pcf' -> '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/fonts/nethack-bitmap-fonts/ibm.pcf' 'nh10.pcf' -> '/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/fonts/nethack-bitmap-fonts/nh10.pcf' + sed -i -e 's:^!\(NetHack.tile_file.*\):\1:' /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/NetHack.ad + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 3.6.7-2.mga10 --unique-debug-suffix -3.6.7-2.mga10.x86_64 --unique-debug-src-base nethack-3.6.7-2.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/nethack-3.6.7-2.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/applications/nethack.desktop: error: (will be fatal in the future): value "nethack.xpm" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files Warning: unused libraries in /usr/games/nethack/nethack: libXext.so.6 libXpm.so.4 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/nethack from /bin/sh to #!/usr/bin/sh + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/SPECPARTS/rpm-debuginfo.specpart Processing files: nethack-3.6.7-2.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KlS77k + umask 022 + cd /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build + cd NetHack-3.6.7 + DOCDIR=/home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/doc/Guidebook.txt /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/doc/dgn_comp.txt /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/doc/dlb.txt /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/doc/lev_comp.txt /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/doc/makedefs.txt /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/doc/mn.txt /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/doc/mnh.txt /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/doc/nethack.txt /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/doc/recover.txt /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/README /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat/license /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat/history /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat/opthelp /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/NetHack-3.6.7/dat/wizhelp /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(nethack.desktop) config(nethack) = 3.6.7-2.mga10 nethack = 3.6.7-2.mga10 nethack(x86-64) = 3.6.7-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libXaw.so.7()(64bit) libXext.so.6()(64bit) libXmu.so.6()(64bit) libXpm.so.4()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) Recommends: group(games) Processing files: nethack-bitmap-fonts-3.6.7-2.mga10.noarch Provides: font(:lang=aa) font(:lang=agr) font(:lang=an) font(:lang=ay) font(:lang=ayc) font(:lang=bem) font(:lang=bi) font(:lang=br) font(:lang=ch) font(:lang=da) font(:lang=de) font(:lang=en) font(:lang=es) font(:lang=eu) font(:lang=fil) font(:lang=fj) font(:lang=fo) font(:lang=fur) font(:lang=fy) font(:lang=gd) font(:lang=gl) font(:lang=gv) font(:lang=ho) font(:lang=ht) font(:lang=ia) font(:lang=id) font(:lang=ie) font(:lang=io) font(:lang=is) font(:lang=it) font(:lang=jv) font(:lang=kj) font(:lang=kwm) font(:lang=lb) font(:lang=li) font(:lang=lij) font(:lang=mg) font(:lang=mjw) font(:lang=ms) font(:lang=nb) font(:lang=nds) font(:lang=ng) font(:lang=nl) font(:lang=nn) font(:lang=no) font(:lang=nr) font(:lang=oc) font(:lang=om) font(:lang=pap-an) font(:lang=pap-aw) font(:lang=pt) font(:lang=rm) font(:lang=rn) font(:lang=rw) font(:lang=sc) font(:lang=sg) font(:lang=sma) font(:lang=smj) font(:lang=sn) font(:lang=so) font(:lang=sq) font(:lang=ss) font(:lang=st) font(:lang=su) font(:lang=sv) font(:lang=sw) font(:lang=tl) font(:lang=tpi) font(:lang=ts) font(:lang=unm) font(:lang=uz) font(:lang=vo) font(:lang=wa) font(:lang=wae) font(:lang=xh) font(:lang=yap) font(:lang=yuw) font(:lang=za) font(:lang=zu) font(fixed) nethack-bitmap-fonts = 3.6.7-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nethack-bitmap-fonts-core-3.6.7-2.mga10.noarch Processing files: nethack-debugsource-3.6.7-2.mga10.x86_64 Provides: nethack-debugsource = 3.6.7-2.mga10 nethack-debugsource(x86-64) = 3.6.7-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nethack-debuginfo-3.6.7-2.mga10.x86_64 Provides: debuginfo(build-id) = 64b6fa458033ee18538698a85e906e2cce6b0b7c debuginfo(build-id) = d5624d03f2f5b2f43c4b76ee3d07d8c721ae40e8 nethack-debuginfo = 3.6.7-2.mga10 nethack-debuginfo(x86-64) = 3.6.7-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nethack-debugsource(x86-64) = 3.6.7-2.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/nethack-bitmap-fonts-core-3.6.7-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/nethack-bitmap-fonts-3.6.7-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/nethack-debuginfo-3.6.7-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/nethack-3.6.7-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/nethack-debugsource-3.6.7-2.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dwfdxY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build + test -d /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build + rm -rf /home/pterjan/rpmbuild/BUILD/nethack-3.6.7-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!