>>> Building on exopi-1 under games/nethack/3.6 DIST = [games/hackdata:nethack-366-src.tgz] FULLPKGNAME = nethack-3.6.6p1 RDEPENDS = [games/hackdata] distfiles size=5577633 >>> Running build in games/nethack/3.6 at 1764614390.15 ===> games/nethack/3.6 ===> Building from scratch nethack-3.6.6p1 ===> Verifying specs: c curses X11 Xaw Xext Xmu Xt ===> found c.102.2 curses.16.0 X11.19.0 Xaw.16.0 Xext.13.0 Xmu.11.0 Xt.11.1 ===> Checking files for nethack-3.6.6p1 `/exopi-cvs/ports/distfiles/nethack-366-src.tgz' is up to date. >> (SHA256) all files: OK ===> Extracting for nethack-3.6.6p1 ===> Patching for nethack-3.6.6p1 ===> Applying OpenBSD patch patch-include_system_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: include/system.h |--- include/system.h.orig |+++ include/system.h -------------------------- Patching file include/system.h using Plan A... Hunk #1 succeeded at 540. done ===> Applying OpenBSD patch patch-include_tcap_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: include/tcap.h |--- include/tcap.h.orig |+++ include/tcap.h -------------------------- Patching file include/tcap.h using Plan A... Hunk #1 succeeded at 45. done ===> Applying OpenBSD patch patch-include_unixconf_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: include/unixconf.h |--- include/unixconf.h.orig |+++ include/unixconf.h -------------------------- Patching file include/unixconf.h using Plan A... Hunk #1 succeeded at 7. Hunk #2 succeeded at 331. Hunk #3 succeeded at 343. done ===> Applying OpenBSD patch patch-src_files_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/files.c |--- src/files.c.orig |+++ src/files.c -------------------------- Patching file src/files.c using Plan A... Hunk #1 succeeded at 1397. done ===> Applying OpenBSD patch patch-src_hacklib_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/hacklib.c |--- src/hacklib.c.orig |+++ src/hacklib.c -------------------------- Patching file src/hacklib.c using Plan A... Hunk #1 succeeded at 1016. done ===> Applying OpenBSD patch patch-sys_share_unixtty_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: sys/share/unixtty.c |--- sys/share/unixtty.c.orig |+++ sys/share/unixtty.c -------------------------- Patching file sys/share/unixtty.c using Plan A... Hunk #1 succeeded at 139. done ===> Applying OpenBSD patch patch-sys_unix_Makefile_src Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |* unhardcode g++ |* ensure linking qt flavor with C++ |* zap bogus shit that prevents parallelism |* handle moc location | |Index: sys/unix/Makefile.src |--- sys/unix/Makefile.src.orig |+++ sys/unix/Makefile.src -------------------------- Patching file sys/unix/Makefile.src using Plan A... Hunk #1 succeeded at 177. Hunk #2 succeeded at 528. Hunk #3 succeeded at 589. Hunk #4 succeeded at 664. done ===> Applying OpenBSD patch patch-sys_unix_Makefile_top Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: sys/unix/Makefile.top |--- sys/unix/Makefile.top.orig |+++ sys/unix/Makefile.top -------------------------- Patching file sys/unix/Makefile.top using Plan A... Hunk #1 succeeded at 186. Hunk #2 succeeded at 207. done ===> Applying OpenBSD patch patch-win_Qt_qt_win_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: win/Qt/qt_win.cpp |--- win/Qt/qt_win.cpp.orig |+++ win/Qt/qt_win.cpp -------------------------- Patching file win/Qt/qt_win.cpp using Plan A... Hunk #1 succeeded at 102. done ===> Applying OpenBSD patch patch-win_tty_termcap_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: win/tty/termcap.c |--- win/tty/termcap.c.orig |+++ win/tty/termcap.c -------------------------- Patching file win/tty/termcap.c using Plan A... Hunk #1 succeeded at 838. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for nethack-3.6.6p1 ===> Configuring for nethack-3.6.6p1 ln -s /exopi-cvs/ports/games/nethack/3.6/files/openbsd /exopi-obj/pobj/nethack-3.6.6/NetHack-NetHack-3.6.6_Released/sys/unix/hints/openbsd ===> Building for nethack-3.6.6p1 ( cd src ; /usr/bin/make ) touch ../src/config.h-t cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c monst.c In file included from monst.c:6: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c objects.c In file included from objects.c:35: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c makedefs.c In file included from makedefs.c:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ makedefs.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | main(argc, argv) | ^ makedefs.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | do_makedefs(options) | ^ makedefs.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | name_file(template, tag) | ^ makedefs.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | delete_file(template, tag) | ^ makedefs.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | getfp(template, tag, mode) | ^ makedefs.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | grepsearch(name) | ^ makedefs.c:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | grep_check_id(id) | ^ makedefs.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | grep_show_wstack(tag) | ^ makedefs.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | do_grep_control(buf) | ^ makedefs.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | grep0(inputfp0, outputfp0) | ^ makedefs.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | xcrypt(str) | ^ makedefs.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | read_rumors_file(file_ext, rumor_count, rumor_size, old_rumor_offset) | ^ makedefs.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | do_rnd_access_file(fname, deflt_content) | ^ makedefs.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | version_string(outbuf, delim) | ^ makedefs.c:1218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | version_id_string(outbuf, build_date) | ^ makedefs.c:1252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | bannerc_string(outbuf, build_date) | ^ makedefs.c:1447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | get_gitinfo(githash, gitbranch) | ^ makedefs.c:1506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | case_insensitive_comp(s1, s2) | ^ makedefs.c:1822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1822 | opt_out_words(str, length_p) | ^ makedefs.c:1926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1926 | d_filter(line) | ^ makedefs.c:2072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2072 | h_filter(line) | ^ makedefs.c:2435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2435 | qt_comment(s) | ^ makedefs.c:2444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2444 | qt_control(s) | ^ makedefs.c:2451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2451 | get_hdr(code) | ^ makedefs.c:2464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2464 | new_id(code) | ^ makedefs.c:2479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2479 | known_msg(num, id) | ^ makedefs.c:2492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | new_msg(s, num, id) | ^ makedefs.c:2513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2513 | valid_qt_summary(s, parsing) | ^ makedefs.c:2563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2563 | do_qt_control(s) | ^ makedefs.c:2611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | do_qt_text(s) | ^ makedefs.c:2769:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2769 | static char *limit(name, pref) /* limit a name to 30 characters length */ | ^ makedefs.c:2916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2916 | fgetline(fd) | ^ makedefs.c:2940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2940 | tmpdup(str) | ^ makedefs.c:2952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2952 | eos(str) | ^ makedefs.c:3275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3275 | clear_path(you_row, you_col, y2, x2) | ^ 36 warnings generated. cc -L/usr/X11R6/lib -o makedefs makedefs.o ../src/monst.o ../src/objects.o ld: warning: makedefs.c(makedefs.o:(do_ext_makedefs)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: makedefs.c(makedefs.o:(do_objs)): warning: sprintf() is often misused, please use snprintf() ld: warning: makedefs.c(makedefs.o:(read_rumors_file)): warning: strcat() is almost always misused, please use strlcat() ./makedefs -o ./makedefs -p touch ../src/hack.h-t cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c allmain.c In file included from allmain.c:8: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ allmain.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | moveloop(resuming) | ^ allmain.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | regen_hp(wtcap) | ^ allmain.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | welcome(new_game) | ^ allmain.c:744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | interrupt_multi(msg) | ^ allmain.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | argcheck(argc, argv, e_arg) | ^ allmain.c:880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | debug_fields(opts) | ^ 7 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c alloc.c In file included from alloc.c:11: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ alloc.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | alloc(lth) | ^ alloc.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | fmt_ptr(ptr) | ^ alloc.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | dupstr(string) | ^ 4 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c apply.c In file included from apply.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ apply.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | use_camera(obj) | ^ apply.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | use_towel(obj) | ^ apply.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | its_dead(rx, ry, resp) | ^ apply.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | use_stethoscope(obj) | ^ apply.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | use_whistle(obj) | ^ apply.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | use_magic_whistle(obj) | ^ apply.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | um_dist(x, y, n) | ^ apply.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | o_unleash(otmp) | ^ apply.c:562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | m_unleash(mtmp, feedback) | ^ apply.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | leashable(mtmp) | ^ apply.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | use_leash(obj) | ^ apply.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | get_mleash(mtmp) | ^ apply.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | check_leash(x, y) | ^ apply.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | use_mirror(obj) | ^ apply.c:1009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | use_bell(optr) | ^ apply.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | use_candelabrum(obj) | ^ apply.c:1194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | use_candle(optr) | ^ apply.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | snuff_candle(otmp) | ^ apply.c:1292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1292 | snuff_lit(obj) | ^ apply.c:1315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | catch_lit(obj) | ^ apply.c:1351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | use_lamp(obj) | ^ apply.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | light_cocktail(optr) | ^ apply.c:1527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | check_jump(arg, x, y) | ^ apply.c:1560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | is_valid_jump_pos(x, y, magic, showmsg) | ^ apply.c:1630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | get_valid_jump_position(x,y) | ^ apply.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | display_jump_positions(state) | ^ apply.c:1660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | jump(magic) | ^ apply.c:1825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1825 | tinnable(corpse) | ^ apply.c:1836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1836 | use_tinning_kit(obj) | ^ apply.c:1908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1908 | use_unicorn_horn(obj) | ^ apply.c:2098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2098 | fig_transform(arg, timeout) | ^ apply.c:2212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2212 | figurine_location_checks(obj, cc, quietly) | ^ apply.c:2248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2248 | use_figurine(optr) | ^ apply.c:2290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2290 | use_grease(obj) | ^ apply.c:2344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2344 | use_stone(tstone) | ^ apply.c:2495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2495 | use_trap(otmp) | ^ apply.c:2636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2636 | use_whip(obj) | ^ apply.c:2909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2909 | find_poleable_mon(pos, min_range, max_range) | ^ apply.c:2956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2956 | get_valid_polearm_position(x, y) | ^ apply.c:2965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2965 | display_polearm_positions(state) | ^ apply.c:2988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2988 | use_pole(obj) | ^ apply.c:3105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3105 | use_cream_pie(obj) | ^ apply.c:3143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3143 | use_grapple(obj) | ^ apply.c:3293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3293 | do_break_wand(obj) | ^ apply.c:3518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3518 | add_class(cl, class) | ^ apply.c:3533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3533 | setapplyclasses(class_list) | ^ apply.c:3769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3769 | unfixable_trouble_count(is_horn) | ^ 48 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c artifact.c In file included from artifact.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ artifact.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | save_artifacts(fd) | ^ artifact.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | restore_artifacts(fd) | ^ artifact.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | artiname(artinum) | ^ artifact.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | mk_artifact(otmp, alignment) | ^ artifact.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | artifact_name(name, otyp) | ^ artifact.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | exist_artifact(otyp, name) | ^ artifact.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | artifact_exists(otmp, name, mod) | ^ artifact.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | spec_ability(otmp, abil) | ^ artifact.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | confers_luck(obj) | ^ artifact.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | arti_reflects(obj) | ^ artifact.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | shade_glare(obj) | ^ artifact.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | restrict_name(otmp, name) | ^ artifact.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | attacks(adtyp, otmp) | ^ artifact.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | defends(adtyp, otmp) | ^ artifact.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | defends_when_carried(adtyp, otmp) | ^ artifact.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | protects(otmp, being_worn) | ^ artifact.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | set_artifact_intrinsic(otmp, on, wp_mask) | ^ artifact.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | touch_artifact(obj, mon) | ^ artifact.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | arti_immune(obj, dtyp) | ^ artifact.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | bane_applies(oart, mon) | ^ artifact.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | spec_applies(weap, mtmp) | ^ artifact.c:814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | spec_m2(otmp) | ^ artifact.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | spec_abon(otmp, mon) | ^ artifact.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | spec_dbon(otmp, mon, tmp) | ^ artifact.c:866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | discover_artifact(m) | ^ artifact.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | undiscovered_artifact(m) | ^ artifact.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | disp_artifact_discoveries(tmpwin) | ^ artifact.c:963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | Mb_hit(magr, mdef, mb, dmgptr, dieroll, vis, hittee) | ^ artifact.c:1152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | artifact_hit(magr, mdef, otmp, dmgptr, dieroll) | ^ artifact.c:1417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1417 | arti_invoke(obj) | ^ artifact.c:1664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1664 | finesse_ahriman(obj) | ^ artifact.c:1692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | artifact_light(obj) | ^ artifact.c:1700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | arti_speak(obj) | ^ artifact.c:1720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1720 | artifact_has_invprop(otmp, inv_prop) | ^ artifact.c:1731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1731 | arti_cost(otmp) | ^ artifact.c:1743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1743 | abil_to_adtyp(abil) | ^ artifact.c:1768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1768 | abil_to_spfx(abil) | ^ artifact.c:1801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | what_gives(abil) | ^ artifact.c:1849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1849 | glow_color(arti_indx) | ^ artifact.c:1865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1865 | glow_strength(count) | ^ artifact.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1875 | glow_verb(count, ingsfx) | ^ artifact.c:1891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1891 | Sting_effects(orc_count) | ^ artifact.c:1928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1928 | retouch_object(objp, loseit) | ^ artifact.c:1998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1998 | untouchable(obj, drop_untouchable) | ^ artifact.c:2037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | retouch_equipment(dropflag) | ^ artifact.c:2107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2107 | count_surround_traps(x, y) | ^ artifact.c:2175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2175 | is_magic_key(mon, obj) | ^ artifact.c:2189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2189 | has_magic_key(mon) | ^ 49 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c attrib.c In file included from attrib.c:7: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ attrib.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | adjattrib(ndx, incr, msgflg) | ^ attrib.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | gainstr(otmp, incr, givemsg) | ^ attrib.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | losestr(num) | ^ attrib.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | poisontell(typ, exclaim) | ^ attrib.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | poisoned(reason, typ, pkiller, fatal, thrown_weapon) | ^ attrib.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | change_luck(n) | ^ attrib.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | stone_luck(parameter) | ^ attrib.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | exercise(i, inc_or_dec) | ^ attrib.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | init_attr(np) | ^ attrib.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | postadjabil(ability) | ^ attrib.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | role_abil(r) | ^ attrib.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | check_innate_abil(ability, frommask) | ^ attrib.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | innately(ability) | ^ attrib.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | is_innate(propidx) | ^ attrib.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | from_what(propidx) | ^ attrib.c:909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | adjabil(oldlevel, newlevel) | ^ attrib.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | acurr(x) | ^ attrib.c:1091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | extremeattr(attrindx) /* does attrindx's value match its max or min? */ | ^ attrib.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | adjalign(n) | ^ attrib.c:1138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | uchangealign(newalign, reason) | ^ 21 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c ball.c In file included from ball.c:9: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ball.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | ballrelease(showmsg) | ^ ball.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | check_restriction(restriction) | ^ ball.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | lift_covet_and_placebc(pin) | ^ ball.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | set_bc(already_blind) | ^ ball.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | move_bc(before, control, ballx, bally, chainx, chainy) | ^ ball.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | drag_ball(x, y, bc_control, ballx, bally, chainx, chainy, cause_delay, | ^ ball.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | drop_ball(x, y) | ^ 8 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c bones.c In file included from bones.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ bones.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | no_bones_level(lev) | ^ bones.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | goodfruit(id) | ^ bones.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | resetobjs(ochain, restore) | ^ bones.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | sanitize_name(namebuf) | ^ bones.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | drop_upon_death(mtmp, cont, x, y) | ^ bones.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | fixuporacle(oracle) | ^ bones.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | savebones(how, when, corpse) | ^ 8 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c botl.c In file included from botl.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ botl.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | xlev_to_rank(xlev) | ^ botl.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | rank_of(lev, monnum, female) | ^ botl.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | title_to_mon(str, rank_indx, title_length) | ^ botl.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | describe_level(buf) | ^ botl.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | eval_notify_windowport_field(fld, valsetlist, idx) | ^ botl.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | evaluate_and_notify_windowport(valsetlist, idx) | ^ botl.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | status_initialize(reassessment) | ^ botl.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | compare_blstats(bl1, bl2) | ^ botl.c:1130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1130 | anything_to_s(buf, a, anytype) | ^ botl.c:1177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | s_to_anything(a, buf, anytype) | ^ botl.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | percentage(bl, maxbl) | ^ botl.c:1392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | bl_idx_to_fldname(idx) | ^ botl.c:1443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | fldname_to_bl_indx(name) | ^ botl.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | hilite_reset_needed(bl_p, augmented_time) | ^ botl.c:1560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | noneoftheabove(hl_text) | ^ botl.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | get_hilite(idx, fldidx, vp, chg, pc, colorptr) | ^ botl.c:1781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1781 | split_clridx(idx, coloridx, attrib) | ^ botl.c:1800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1800 | parse_status_hl1(op, from_configfile) | ^ botl.c:1857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1857 | is_ltgt_percentnumber(str) | ^ botl.c:1879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1879 | has_ltgt_percentnumber(str) | ^ botl.c:1897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1897 | splitsubfields(str, sfarr, maxsf) | ^ botl.c:1941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1941 | is_fld_arrayvalues(str, arr, arrmin, arrmax, retidx) | ^ botl.c:1958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1958 | query_arrayvalue(querystr, arr, arrmin, arrmax) | ^ botl.c:1992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1992 | status_hilite_add_threshold(fld, hilite) | ^ botl.c:2017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2017 | parse_status_hl2(s, from_configfile) | ^ botl.c:2367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2367 | conditionbitmask2str(ul) | ^ botl.c:2398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2398 | match_str2conditionbitmask(str) | ^ botl.c:2437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2437 | str2conditionbitmask(str) | ^ botl.c:2462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2462 | parse_condition(s, sidx) | ^ botl.c:2603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2603 | hlattr2attrname(attrib, buf, bufsz) | ^ botl.c:2650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2650 | status_hilite_linestr_add(fld, hl, mask, str) | ^ botl.c:2695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2695 | status_hilite_linestr_countfield(fld) | ^ botl.c:2822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2822 | status_hilite2str(hl) | ^ botl.c:2935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2935 | status_hilite_menu_choose_behavior(fld) | ^ botl.c:3027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3027 | status_hilite_menu_choose_updownboth(fld, str, ltok, gtok) | ^ botl.c:3105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3105 | status_hilite_menu_add(origfld) | ^ botl.c:3510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3510 | status_hilite_remove(id) | ^ botl.c:3560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3560 | status_hilite_menu_fld(fld) | ^ 39 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c cmd.c In file included from cmd.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ cmd.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | set_occupation(fn, txt, xtime) | ^ cmd.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | pushch(ch) | ^ cmd.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | savech(ch) | ^ cmd.c:1635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1635 | enlght_out(buf) | ^ cmd.c:1648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1648 | enlght_line(start, middle, end, ps) | ^ cmd.c:1659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1659 | enlght_combatinc(inctyp, incamt, final, outbuf) | ^ cmd.c:1699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | enlght_halfdmg(category, final) | ^ cmd.c:1736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1736 | cause_known(propindx) | ^ cmd.c:1756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1756 | attrval(attrindx, attrvalue, resultbuf) | ^ cmd.c:1770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1770 | enlightenment(mode, final) | ^ cmd.c:1831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1831 | background_enlightenment(unused_mode, final) | ^ cmd.c:2076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2076 | basics_enlightenment(mode, final) | ^ cmd.c:2157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2157 | characteristics_enlightenment(mode, final) | ^ cmd.c:2178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2178 | one_characteristic(mode, final, attrindx) | ^ cmd.c:2273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2273 | status_enlightenment(mode, final) | ^ cmd.c:2611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | attributes_enlightenment(unused_mode, final) | ^ cmd.c:3178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3178 | youhiding(via_enlghtmt, msgflag) | ^ cmd.c:3247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3247 | show_conduct(final) | ^ cmd.c:3570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3570 | key2extcmddesc(key) | ^ cmd.c:3619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3619 | bind_key(key, command) | ^ cmd.c:3683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3683 | dokeylist_putcmds(datawin, docount, cmdflags, exflags, keys_used) | ^ cmd.c:3842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3842 | cmd_from_func(fn) | ^ cmd.c:3862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3862 | size_obj(otmp) | ^ cmd.c:3884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3884 | count_obj(chain, total_count, total_size, top, recurse) | ^ cmd.c:3907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3907 | obj_chain(win, src, chain, force, total_count, total_size) | ^ cmd.c:3929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3929 | mon_invent_chain(win, src, chain, total_count, total_size) | ^ cmd.c:3952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3952 | contained_stats(win, src, total_count, total_size) | ^ cmd.c:3982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3982 | size_monst(mtmp, incl_wsegs) | ^ cmd.c:4011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4011 | mon_chain(win, src, chain, force, total_count, total_size) | ^ cmd.c:4039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4039 | misc_stats(win, total_count, total_size) | ^ cmd.c:4335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4335 | bind_specialkey(key, command) | ^ cmd.c:4352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4352 | txt2key(txt) | ^ cmd.c:4411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4411 | key2txt(c, txt) | ^ cmd.c:4432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4432 | parseautocomplete(autocomplete, condition) | ^ cmd.c:4480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4480 | reset_commands(initial) | ^ cmd.c:4594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4594 | accept_menu_prefix(cmd_func) | ^ cmd.c:4669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4669 | random_response(buf, sz) | ^ cmd.c:4697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4697 | ch2spkeys(c, start, end) | ^ cmd.c:4710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4710 | rhack(cmd) | ^ cmd.c:4940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4940 | xytod(x, y) | ^ cmd.c:4953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4953 | dtoxy(cc, dd) | ^ cmd.c:4964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4964 | movecmd(sym) | ^ cmd.c:4995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4995 | redraw_cmd(c) | ^ cmd.c:5003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5003 | prefix_cmd(c) | ^ cmd.c:5026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5026 | get_adjacent_loc(prompt, emsg, x, y, cc) | ^ cmd.c:5050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5050 | getdir(s) | ^ cmd.c:5101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5101 | show_direction_keys(win, centerchar, nodiag) | ^ cmd.c:5140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5140 | help_dir(sym, spkey, msg) | ^ cmd.c:5299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5299 | directionname(dir) | ^ cmd.c:5313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5313 | isok(x, y) | ^ cmd.c:5347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5347 | add_herecmd_menuitem(win, func, text) | ^ cmd.c:5363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5363 | there_cmd_menu(doit, x, y) | ^ cmd.c:5466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5466 | here_cmd_menu(doit) | ^ cmd.c:5571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5571 | click_to_cmd(x, y, mod) | ^ cmd.c:5702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5702 | get_count(allowchars, inkey, maxcount, count, historical) | ^ cmd.c:5855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5855 | hangup(sig_unused) /* called as signal() handler, so sent at least one arg */ | ^ cmd.c:6007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6007 | yn_function(query, resp, def) | ^ cmd.c:6045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6045 | paranoid_query(be_paranoid, prompt) | ^ 59 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c dbridge.c In file included from dbridge.c:20: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ dbridge.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | is_pool(x, y) | ^ dbridge.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | is_lava(x, y) | ^ dbridge.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | is_pool_or_lava(x, y) | ^ dbridge.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | is_ice(x, y) | ^ dbridge.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | is_moat(x, y) | ^ dbridge.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | db_under_typ(mask) | ^ dbridge.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | is_drawbridge_wall(x, y) | ^ dbridge.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | is_db_wall(x, y) | ^ dbridge.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | find_drawbridge(x, y) | ^ dbridge.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | get_wall_for_db(x, y) | ^ dbridge.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | create_drawbridge(x, y, dir, flag) | ^ dbridge.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | e_at(x, y) | ^ dbridge.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | m_to_e(mtmp, x, y, etmp) | ^ dbridge.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | u_to_e(etmp) | ^ dbridge.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | set_entity(x, y, etmp) | ^ dbridge.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | e_nam(etmp) | ^ dbridge.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | E_phrase(etmp, verb) | ^ dbridge.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | e_survives_at(etmp, x, y) | ^ dbridge.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | e_died(etmp, xkill_flags, how) | ^ dbridge.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | automiss(etmp) | ^ dbridge.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | e_missed(etmp, chunks) | ^ dbridge.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | e_jumps(etmp) | ^ dbridge.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | do_entity(etmp) | ^ dbridge.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | close_drawbridge(x, y) | ^ dbridge.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | open_drawbridge(x, y) | ^ dbridge.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | destroy_drawbridge(x, y) | ^ 27 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c decl.c In file included from decl.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c detect.c In file included from detect.c:11: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ detect.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | browse_map(ter_typ, ter_explain) | ^ detect.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | map_monst(mtmp, showtail) | ^ detect.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | trapped_chest_at(ttyp, x, y) | ^ detect.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | trapped_door_at(ttyp, x, y) | ^ detect.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | o_in(obj, oclass) | ^ detect.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | o_material(obj, material) | ^ detect.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | do_dknown_of(obj) | ^ detect.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | check_map_spot(x, y, oclass, material) | ^ detect.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | clear_stale_map(oclass, material) | ^ detect.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | gold_detect(sobj) | ^ detect.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | food_detect(sobj) | ^ detect.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | object_detect(detector, class) | ^ detect.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | monster_detect(otmp, mclass) | ^ detect.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | sense_trap(trap, x, y, src_cursed) | ^ detect.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | detect_obj_traps(objlist, show_them, how) | ^ detect.c:932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | trap_detect(sobj) | ^ detect.c:1042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | level_distance(where) | ^ detect.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | use_crystal_ball(optr) | ^ detect.c:1238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | show_map_spot(x, y) | ^ detect.c:1306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | do_vicinity_map(sobj) | ^ detect.c:1435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1435 | cvt_sdoor_to_door(lev) | ^ detect.c:1455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | findone(zx, zy, num) | ^ detect.c:1511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | openone(zx, zy, num) | ^ detect.c:1607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | detecting(func) | ^ detect.c:1614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | find_trap(trap) | ^ detect.c:1646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | mfind0(mtmp, via_warning) | ^ detect.c:1696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1696 | dosearch0(aflag) | ^ detect.c:1834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1834 | reveal_terrain_getglyph(x, y, full, swallowed, default_glyph, which_subset) | ^ detect.c:1971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1971 | reveal_terrain(full, which_subset) | ^ 30 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c dig.c In file included from dig.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ dig.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | mkcavepos(x, y, dist, waslit, rockit) | ^ dig.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | mkcavearea(rockit) | ^ dig.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | dig_typ(otmp, x, y) | ^ dig.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | dig_check(madeby, verbose, x, y) | ^ dig.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | fillholetyp(x, y, fill_if_any) | ^ dig.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | digactualhole(x, y, madeby, ttyp) | ^ dig.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | liquid_flow(x, y, typ, ttmp, fillmsg) | ^ dig.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | dighole(pit_only, by_magic, cc) | ^ dig.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | dig_up_grave(cc) | ^ dig.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | use_pick_axe(obj) | ^ dig.c:1025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | use_pick_axe2(obj) | ^ dig.c:1214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | watch_dig(mtmp, x, y, zap) | ^ dig.c:1260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | mdig_tunnel(mtmp) | ^ dig.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | draft_message(unexpected) | ^ dig.c:1599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1599 | adj_pit_checks(cc, msg) | ^ dig.c:1690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | pit_flow(trap, filltyp) | ^ dig.c:1727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1727 | buried_ball(cc) | ^ dig.c:1823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1823 | bury_an_obj(otmp, dealloced) | ^ dig.c:1892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1892 | bury_objs(x, y) | ^ dig.c:1927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1927 | unearth_objs(x, y) | ^ dig.c:1967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1967 | rot_organic(arg, timeout) | ^ dig.c:1990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1990 | rot_corpse(arg, timeout) | ^ 23 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c display.c In file included from display.c:124: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ display.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | magic_map_background(x, y, show) | ^ display.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | map_background(x, y, show) | ^ display.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | map_trap(trap, show) | ^ display.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | map_object(obj, show) | ^ display.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | map_invisible(x, y) | ^ display.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | unmap_invisible(x, y) | ^ display.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | unmap_object(x, y) | ^ display.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | map_location(x, y, show) | ^ display.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | show_mon_or_warn(x, y, monglyph) | ^ display.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | display_monster(x, y, mon, sightflags, worm_tail) | ^ display.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | display_warning(mon) | ^ display.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | warning_of(mon) | ^ display.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | feel_newsym(x, y) | ^ display.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | feel_location(x, y) | ^ display.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | newsym(x, y) | ^ display.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | shieldeff(x, y) | ^ display.c:919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | tether_glyph(x, y) | ^ display.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | tmp_at(x, y) | ^ display.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | flash_glyph_at(x, y, tg, rpt) | ^ display.c:1124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | swallowed(first) | ^ display.c:1188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | under_water(mode) | ^ display.c:1239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | under_ground(mode) | ^ display.c:1479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1479 | newsym_force(x, y) | ^ display.c:1494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1494 | show_glyph(x, y, glyph) | ^ display.c:1610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1610 | row_refresh(start, stop, y) | ^ display.c:1640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1640 | flush_screen(cursor_on_u) | ^ display.c:1701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | back_to_glyph(x, y) | ^ display.c:1833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1833 | swallow_to_glyph(mnum, loc) | ^ display.c:1858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1858 | zapdir_to_glyph(dx, dy, beam_type) | ^ display.c:1877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | glyph_at(x, y) | ^ display.c:1899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1899 | get_bk_glyph(x, y) | ^ display.c:2000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | check_pos(x, y, which) | ^ display.c:2033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2033 | set_twall(x0, y0, x1, y1, x2, y2, x3, y3) | ^ display.c:2058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2058 | set_wall(x, y, horiz) | ^ display.c:2080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2080 | set_corn(x1, y1, x2, y2, x3, y3, x4, y4) | ^ display.c:2109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2109 | set_crosswall(x, y) | ^ display.c:2232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2232 | set_seenv(lev, x0, y0, x, y) | ^ display.c:2244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2244 | unset_seenv(lev, x0, y0, x1, y1) | ^ display.c:2311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2311 | t_warn(lev) | ^ display.c:2344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2344 | wall_angle(lev) | ^ 41 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c dlb.c In file included from dlb.c:5: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ dlb.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | readlibdir(lp) | ^ dlb.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | find_file(name, lib, startp, sizep) | ^ dlb.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | open_library(lib_name, lp) | ^ dlb.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | close_library(lp) | ^ dlb.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | lib_dlb_fopen(dp, name, mode) | ^ dlb.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | lib_dlb_fclose(dp) | ^ dlb.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | lib_dlb_fread(buf, size, quan, dp) | ^ dlb.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | lib_dlb_fseek(dp, pos, whence) | ^ dlb.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | lib_dlb_fgets(buf, len, dp) | ^ dlb.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | lib_dlb_fgetc(dp) | ^ dlb.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | lib_dlb_ftell(dp) | ^ dlb.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | dlb_fopen(name, mode) | ^ dlb.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | dlb_fclose(dp) | ^ dlb.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | dlb_fread(buf, size, quan, dp) | ^ dlb.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | dlb_fseek(dp, pos, whence) | ^ dlb.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | dlb_fgets(buf, len, dp) | ^ dlb.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | dlb_fgetc(dp) | ^ dlb.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | dlb_ftell(dp) | ^ 19 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c do.c In file included from do.c:8: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ do.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | boulder_hits_pool(otmp, rx, ry, pushing) | ^ do.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | flooreffects(obj, x, y, verb) | ^ do.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | doaltarobj(obj) | ^ do.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | trycall(obj) | ^ do.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | dosinkring(obj) | ^ do.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | canletgo(obj, word) | ^ do.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | drop(obj) | ^ do.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | dropx(obj) | ^ do.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | dropy(obj) | ^ do.c:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | dropz(obj, with_impact) | ^ do.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | obj_no_longer_held(obj) | ^ do.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | menu_drop(retry) | ^ do.c:1219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | u_collide_m(mtmp) | ^ do.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | goto_level(newlevel, at_stairs, falling, portal) | ^ do.c:1718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1718 | schedule_goto(tolev, at_stairs, falling, portal_flag, pre_msg, post_msg) | ^ do.c:1780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1780 | revive_corpse(corpse) | ^ do.c:1869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1869 | revive_mon(arg, timeout) | ^ do.c:1966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1966 | set_wounded_legs(side, timex) | ^ do.c:1988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | heal_legs(how) | ^ 20 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c do_name.c In file included from do_name.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ do_name.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | getpos_sethilite(gp_hilitef, gp_getvalidf) | ^ do_name.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | getpos_help_keyxhelp(tmpwin, k1, k2, gloc) | ^ do_name.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | getpos_help(force, goal) | ^ do_name.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | cmp_coord_distu(a, b) | ^ do_name.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | gloc_filter_classify_glyph(glyph) | ^ do_name.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | gloc_filter_floodfill_matcharea(x, y) | ^ do_name.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | gloc_filter_floodfill(x, y) | ^ do_name.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | gather_locs_interesting(x, y, gloc) | ^ do_name.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | gather_locs(arr_p, cnt_p, gloc) | ^ do_name.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | dxdy_to_dist_descr(dx, dy, fulldir) | ^ do_name.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | coord_desc(x, y, outbuf, cmode) | ^ do_name.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | auto_describe(cx, cy) | ^ do_name.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | getpos_menu(ccp, gloc) | ^ do_name.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | getpos(ccp, force, goal) | ^ do_name.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | new_mname(mon, lth) | ^ do_name.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | free_mname(mon) | ^ do_name.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | new_oname(obj, lth) | ^ do_name.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | free_oname(obj) | ^ do_name.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | safe_oname(obj) | ^ do_name.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | christen_monst(mtmp, name) | ^ do_name.c:1090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | alreadynamed(mtmp, monnambuf, usrbuf) | ^ do_name.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | do_oname(obj) | ^ do_name.c:1283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1283 | oname(obj, name) | ^ do_name.c:1335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | objtyp_is_callable(i) | ^ do_name.c:1436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1436 | docall_xname(obj) | ^ do_name.c:1468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | docall(obj) | ^ do_name.c:1636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1636 | x_monnam(mtmp, article, adjective, suppress, called) | ^ do_name.c:1820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1820 | l_monnam(mtmp) | ^ do_name.c:1828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1828 | mon_nam(mtmp) | ^ do_name.c:1840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1840 | noit_mon_nam(mtmp) | ^ do_name.c:1850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1850 | Monnam(mtmp) | ^ do_name.c:1860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1860 | noit_Monnam(mtmp) | ^ do_name.c:1871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1871 | noname_monnam(mtmp, article) | ^ do_name.c:1881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1881 | m_monnam(mtmp) | ^ do_name.c:1889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | y_monnam(mtmp) | ^ do_name.c:1905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1905 | Adjmonnam(mtmp, adj) | ^ do_name.c:1917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1917 | a_monnam(mtmp) | ^ do_name.c:1925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1925 | Amonnam(mtmp) | ^ do_name.c:1937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1937 | distant_monnam(mon, article, outbuf) | ^ do_name.c:1958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1958 | mon_nam_too(mon, other_mon) | ^ do_name.c:1985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1985 | minimal_monnam(mon, ckloc) | ^ do_name.c:2020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2020 | bogusmon(buf, code) | ^ do_name.c:2042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2042 | rndmonnam(code) | ^ do_name.c:2069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2069 | bogon_is_pname(code) | ^ do_name.c:2107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2107 | hcolor(colorpref) | ^ do_name.c:2137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2137 | hliquid(liquidpref) | ^ do_name.c:2158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2158 | coyotename(mtmp, buf) | ^ do_name.c:2172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2172 | rndorcname(s) | ^ do_name.c:2192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2192 | christen_orc(mtmp, gang, other) | ^ do_name.c:2240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2240 | noveltitle(novidx) | ^ do_name.c:2256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2256 | lookup_novel(lookname, idx) | ^ 52 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c do_wear.c In file included from do_wear.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ do_wear.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | fingers_or_gloves(check_gloves) | ^ do_wear.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | off_msg(otmp) | ^ do_wear.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | on_msg(otmp) | ^ do_wear.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | toggle_stealth(obj, oldprop, on) | ^ do_wear.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | toggle_displacement(obj, oldprop, on) | ^ do_wear.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | wielding_corpse(obj, voluntary) | ^ do_wear.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | learnring(ring, observed) | ^ do_wear.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | Ring_on(obj) | ^ do_wear.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | Ring_off_or_gone(obj, gone) | ^ do_wear.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | Ring_off(obj) | ^ do_wear.c:1120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | Ring_gone(obj) | ^ do_wear.c:1127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | Blindf_on(otmp) | ^ do_wear.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | Blindf_off(otmp) | ^ do_wear.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | set_wear(obj) | ^ do_wear.c:1239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | donning(otmp) | ^ do_wear.c:1269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | doffing(otmp) | ^ do_wear.c:1312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | cancel_doff(obj, slotmask) | ^ do_wear.c:1351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | stop_donning(stolenobj) | ^ do_wear.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | count_worn_stuff(which, accessorizing) | ^ do_wear.c:1442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | armor_or_accessory_off(obj) | ^ do_wear.c:1549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | cursed(otmp) | ^ do_wear.c:1577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | armoroff(otmp) | ^ do_wear.c:1662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1662 | already_wearing(cc) | ^ do_wear.c:1669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1669 | already_wearing2(cc1, cc2) | ^ do_wear.c:1683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1683 | canwearobj(otmp, mask, noisy) | ^ do_wear.c:1865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1865 | accessory_or_armor_on(obj) | ^ do_wear.c:2242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2242 | some_armor(victim) | ^ do_wear.c:2270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2270 | stuck_ring(ring, otyp) | ^ do_wear.c:2311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2311 | select_off(otmp) | ^ do_wear.c:2648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2648 | menu_remarm(retry) | ^ do_wear.c:2701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2701 | destroy_arm(atmp) | ^ do_wear.c:2764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2764 | adj_abon(otmp, delta) | ^ do_wear.c:2789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2789 | inaccessible_equipment(obj, verb, only_if_known_cursed) | ^ 34 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c dog.c In file included from dog.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ dog.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | newedog(mtmp) | ^ dog.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | free_edog(mtmp) | ^ dog.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | initedog(mtmp) | ^ dog.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | make_familiar(otmp, x, y, quietly) | ^ dog.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | mon_arrive(mtmp, with_you) | ^ dog.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | mon_catchup_elapsed_time(mtmp, nmv) | ^ dog.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | keepdogs(pets_only) | ^ dog.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | migrate_to_level(mtmp, tolev, xyloc, cc) | ^ dog.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | dogfood(mon, obj) | ^ dog.c:866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | tamedog(mtmp, obj) | ^ dog.c:962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | wary_dog(mtmp, was_dead) | ^ dog.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | abuse_dog(mtmp) | ^ 13 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c dogmove.c In file included from dogmove.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ dogmove.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | droppables(mon) | ^ dogmove.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | cursed_object_at(x, y) | ^ dogmove.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | dog_nutrition(mtmp, obj) | ^ dogmove.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | dog_eat(mtmp, obj, x, y, devour) | ^ dogmove.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | dog_hunger(mtmp, edog) | ^ dogmove.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | dog_invent(mtmp, edog, udist) | ^ dogmove.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | dog_goal(mtmp, edog, after, udist, whappr) | ^ dogmove.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | find_targ(mtmp, dx, dy, maxdist) | ^ dogmove.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | find_friends(mtmp, mtarg, maxdist) | ^ dogmove.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | score_targ(mtmp, mtarg) | ^ dogmove.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | best_target(mtmp) | ^ dogmove.c:862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | dog_move(mtmp, after) | ^ dogmove.c:1270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | could_reach_item(mon, nx, ny) | ^ dogmove.c:1289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | can_reach_location(mon, mx, my, fx, fy) | ^ dogmove.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | wantdoor(x, y, distance) | ^ dogmove.c:1358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1358 | finish_meating(mtmp) | ^ dogmove.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | quickmimic(mtmp) | ^ 18 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c dokick.c In file included from dokick.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ dokick.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | kickdmg(mon, clumsy) | ^ dokick.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | maybe_kick_monster(mon, x, y) | ^ dokick.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | kick_monster(mon, x, y) | ^ dokick.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | ghitm(mtmp, gold) | ^ dokick.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | container_impact_dmg(obj, x, y) | ^ dokick.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | kick_object(x, y, kickobjnam) | ^ dokick.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | really_kick_object(x, y) | ^ dokick.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | kickstr(buf, kickobjnam) | ^ dokick.c:1338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1338 | drop_to(cc, loc) | ^ dokick.c:1373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1373 | impact_drop(missile, x, y, dlev) | ^ dokick.c:1501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1501 | ship_object(otmp, x, y, shop_floor_obj) | ^ dokick.c:1623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1623 | obj_delivery(near_hero) | ^ dokick.c:1698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1698 | deliver_obj_to_mon(mtmp, cnt, deliverflags) | ^ dokick.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | otransit_msg(otmp, nodrop, num) | ^ dokick.c:1781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1781 | down_gate(x, y) | ^ 16 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c dothrow.c In file included from dothrow.c:8: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ dothrow.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | throw_obj(obj, shotlimit) | ^ dothrow.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | ok_to_throw(shotlimit_p) | ^ dothrow.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | endmultishot(verbose) | ^ dothrow.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | hitfloor(obj, verbosely) | ^ dothrow.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | walk_path(src_cc, dest_cc, check_proc, arg) | ^ dothrow.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | hurtle_jump(arg, x, y) | ^ dothrow.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | hurtle_step(arg, x, y) | ^ dothrow.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | mhurtle_step(arg, x, y) | ^ dothrow.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | hurtle(dx, dy, range, verbose) | ^ dothrow.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | mhurtle(mon, dx, dy, range) | ^ dothrow.c:894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | check_shop_obj(obj, x, y, broken) | ^ dothrow.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | toss_up(obj, hitsroof) | ^ dothrow.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | throwing_weapon(obj) | ^ dothrow.c:1075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | sho_obj_return_to_u(obj) | ^ dothrow.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | throwit(obj, wep_mask, twoweap) | ^ dothrow.c:1448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1448 | omon_adj(mon, obj, mon_notices) | ^ dothrow.c:1491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1491 | tmiss(obj, mon, maybe_wakeup) | ^ dothrow.c:1523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1523 | thitmonst(mon, obj) | ^ dothrow.c:1802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1802 | gem_accept(mon, obj) | ^ dothrow.c:1909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1909 | hero_breaks(obj, x, y, from_invent) | ^ dothrow.c:1929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1929 | breaks(obj, x, y) | ^ dothrow.c:1943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1943 | release_camera_demon(obj, x, y) | ^ dothrow.c:1965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1965 | breakobj(obj, x, y, hero_caused, from_invent) | ^ dothrow.c:2054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2054 | breaktest(obj) | ^ dothrow.c:2077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2077 | breakmsg(obj, in_view) | ^ dothrow.c:2119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2119 | throw_gold(obj) | ^ 27 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c drawing.c In file included from drawing.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ drawing.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | def_char_to_objclass(ch) | ^ drawing.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | def_char_to_monclass(ch) | ^ drawing.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | get_othersym(idx, which_set) | ^ drawing.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | assign_graphics(whichset) | ^ drawing.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | switch_symbols(nondefault) | ^ drawing.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | update_ov_primary_symset(symp, val) | ^ drawing.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | update_ov_rogue_symset(symp, val) | ^ drawing.c:566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | update_primary_symset(symp, val) | ^ drawing.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | update_rogue_symset(symp, val) | ^ drawing.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | clear_symsetentry(which_set, name_too) | ^ 11 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c dungeon.c In file included from dungeon.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ dungeon.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | save_dungeon(fd, perform_write, free_data) | ^ dungeon.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | restore_dungeon(fd) | ^ dungeon.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | Fread(ptr, size, nitems, stream) | ^ dungeon.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | dname_to_dnum(s) | ^ dungeon.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | find_level(s) | ^ dungeon.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | find_branch(s, pd) | ^ dungeon.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | parent_dnum(s, pd) | ^ dungeon.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | level_range(dgn, base, randc, chain, pd, adjusted_base) | ^ dungeon.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | parent_dlevel(s, pd) | ^ dungeon.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | correct_branch_type(tbr) | ^ dungeon.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | insert_branch(new_branch, extract_first) | ^ dungeon.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | add_branch(dgn, child_entry_level, pd) | ^ dungeon.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | add_level(new_lev) | ^ dungeon.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | init_level(dgn, proto_index, pd) | ^ dungeon.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | possible_places(idx, map, pd) | ^ dungeon.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | pick_level(map, nth) | ^ dungeon.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | place_level(proto_index, pd) | ^ dungeon.c:982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | dunlev(lev) | ^ dungeon.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | dunlevs_in_dungeon(lev) | ^ dungeon.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | deepest_lev_reached(noquest) | ^ dungeon.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | ledger_no(lev) | ^ dungeon.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | ledger_to_dnum(ledgerno) | ^ dungeon.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | ledger_to_dlev(ledgerno) | ^ dungeon.c:1089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | depth(lev) | ^ dungeon.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | on_level(lev1, lev2) | ^ dungeon.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | Is_special(lev) | ^ dungeon.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | Is_branchlev(lev) | ^ dungeon.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | builds_up(lev) | ^ dungeon.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | next_level(at_stairs) | ^ dungeon.c:1169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | prev_level(at_stairs) | ^ dungeon.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | u_on_newpos(x, y) | ^ dungeon.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | u_on_rndspot(upflag) | ^ dungeon.c:1249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | u_on_sstairs(upflag) | ^ dungeon.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | On_stairs(x, y) | ^ dungeon.c:1290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | Is_botlevel(lev) | ^ dungeon.c:1297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1297 | Can_dig_down(lev) | ^ dungeon.c:1311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | Can_fall_thru(lev) | ^ dungeon.c:1324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | Can_rise_up(x, y, lev) | ^ dungeon.c:1340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | has_ceiling(lev) | ^ dungeon.c:1359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1359 | get_level(newlevel, levnum) | ^ dungeon.c:1408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1408 | In_quest(lev) | ^ dungeon.c:1416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | In_mines(lev) | ^ dungeon.c:1431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | dungeon_branch(s) | ^ dungeon.c:1459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1459 | at_dgn_entrance(s) | ^ dungeon.c:1470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | In_V_tower(lev) | ^ dungeon.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | On_W_tower_level(lev) | ^ dungeon.c:1488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | In_W_tower(x, y, lev) | ^ dungeon.c:1509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1509 | In_hell(lev) | ^ dungeon.c:1517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | find_hell(lev) | ^ dungeon.c:1526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | goto_hell(at_stairs, falling) | ^ dungeon.c:1537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1537 | assign_level(dest, src) | ^ dungeon.c:1546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | assign_rnd_level(dest, src, range) | ^ dungeon.c:1560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | induced_align(pct) | ^ dungeon.c:1579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1579 | Invocation_lev(lev) | ^ dungeon.c:1650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | lev_by_name(nam) | ^ dungeon.c:1727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1727 | unplaced_floater(dptr) | ^ dungeon.c:1743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1743 | unreachable_level(lvl_p, unplaced) | ^ dungeon.c:1759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1759 | tport_menu(win, entry, lchoices, lvl_p, unreachable) | ^ dungeon.c:1794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | br_string(type) | ^ dungeon.c:1811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1811 | chr_u_on_lvl(dlev) | ^ dungeon.c:1819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1819 | print_branch(win, dnum, lower_bound, upper_bound, bymenu, lchoices_p) | ^ dungeon.c:1849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1849 | print_dungeon(bymenu, rlev, rdgn) | ^ dungeon.c:2009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2009 | recbranch_mapseen(source, dest) | ^ dungeon.c:2043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2043 | get_annotation(lev) | ^ dungeon.c:2104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2104 | find_mapseen(lev) | ^ dungeon.c:2117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2117 | find_mapseen_by_str(s) | ^ dungeon.c:2131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2131 | forget_mapseen(ledger_num) | ^ dungeon.c:2160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2160 | rm_mapseen(ledger_num) | ^ dungeon.c:2194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2194 | save_mapseen(fd, mptr) | ^ dungeon.c:2217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2217 | load_mapseen(fd) | ^ dungeon.c:2251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2251 | overview_stats(win, statsfmt, total_count, total_size) | ^ dungeon.c:2299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2299 | remdun_mapseen(dnum) | ^ dungeon.c:2324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2324 | init_mapseen(lev) | ^ dungeon.c:2368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2368 | interest_mapseen(mptr) | ^ dungeon.c:2667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2667 | mapseen_temple(priest) | ^ dungeon.c:2680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2680 | room_discovered(roomno) | ^ dungeon.c:2698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2698 | show_overview(why, reason) | ^ dungeon.c:2723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2723 | traverse_mapseenchn(viewendgame, win, why, reason, lastdun_p) | ^ dungeon.c:2745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2745 | seen_string(x, obj) | ^ dungeon.c:2767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2767 | br_string2(br) | ^ dungeon.c:2790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2790 | endgamelevelname(outbuf, indx) | ^ dungeon.c:2822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2822 | shop_string(rtype) | ^ dungeon.c:2874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2874 | tunesuffix(mptr, outbuf) | ^ dungeon.c:2915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2915 | print_mapseen(win, mptr, final, how, printdun) | ^ 85 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c eat.c In file included from eat.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ eat.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | is_edible(obj) | ^ eat.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | food_xname(food, the_pfx) | ^ eat.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | choke(food) | ^ eat.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | obj_nutrition(otmp) | ^ eat.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | touchfood(otmp) | ^ eat.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | food_disappears(obj) | ^ eat.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | food_substitution(old_obj, new_obj) | ^ eat.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | done_eating(message) | ^ eat.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | eating_conducts(pd) | ^ eat.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | eat_brains(magr, mdef, visflag, dmg_p) | ^ eat.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | maybe_cannibal(pm, allowmsg) | ^ eat.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | cprefx(pm) | ^ eat.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | intrinsic_possible(type, ptr) | ^ eat.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | givit(type, ptr) | ^ eat.c:945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | cpostfx(pm) | ^ eat.c:1172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | costly_tin(alter_type) | ^ eat.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | tin_variety_txt(s, tinvariety) | ^ eat.c:1214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | tin_details(obj, mnum, buf) | ^ eat.c:1248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1248 | set_tin_variety(obj, forcetype) | ^ eat.c:1278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | tin_variety(obj, disp) | ^ eat.c:1303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | consume_tin(mesg) | ^ eat.c:1457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1457 | start_tin(otmp) | ^ eat.c:1547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1547 | rottenfood(obj) | ^ eat.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | eatcorpse(otmp) | ^ eat.c:1728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1728 | start_eating(otmp, already_partly_eaten) | ^ eat.c:1790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1790 | fprefx(otmp) | ^ eat.c:1898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | bounded_increase(old, inc, typ) | ^ eat.c:1936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1936 | accessory_has_effect(otmp) | ^ eat.c:1944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1944 | eataccessory(otmp) | ^ eat.c:2174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2174 | foodword(otmp) | ^ eat.c:2187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2187 | fpostfx(otmp) | ^ eat.c:2296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2296 | edibility_prompts(otmp) | ^ eat.c:2727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2727 | use_tin_opener(obj) | ^ eat.c:2847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2847 | morehungry(num) | ^ eat.c:2856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2856 | lesshungry(num) | ^ eat.c:2928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2928 | newuhs(incr) | ^ eat.c:3088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3088 | floorfood(verb, corpsecheck) | ^ eat.c:3220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3220 | eaten_stat(base, obj) | ^ eat.c:3242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3242 | consume_oeaten(obj, amt) | ^ eat.c:3294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3294 | maybe_finished_meal(stopping) | ^ eat.c:3315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3315 | Popeye(threat) | ^ 42 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c end.c In file included from end.c:8: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ end.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | done1(sig_unused) /* called as signal() handler, so sent at least one arg */ | ^ end.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | done_intr(sig_unused) /* called as signal() handler, so sent at least 1 arg */ | ^ end.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | done_hangup(sig) | ^ end.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | done_in_by(mtmp, how) | ^ end.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | fixup_death(how) | ^ end.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | should_query_disclose_option(category, defquery) | ^ end.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | dump_everything(how, when) | ^ end.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | disclose(how, taken) | ^ end.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | savelife(how) | ^ end.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | get_valuables(list) | ^ end.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | sort_valuables(list, size) | ^ end.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | artifact_score(list, counting, endwin) | ^ end.c:1099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | done(how) | ^ end.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | really_done(how) | ^ end.c:1630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | container_contents(list, identified, all_containers, reportempty) | ^ end.c:1708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1708 | nh_terminate(status) | ^ end.c:1763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | vanqsort_cmp(vptr1, vptr2) | ^ end.c:1889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | list_vanquished(defquery, ask) | ^ end.c:2051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2051 | list_genocided(defquery, ask) | ^ end.c:2128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2128 | delayed_killer(id, format, killername) | ^ end.c:2150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2150 | find_delayed_killer(id) | ^ end.c:2163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2163 | dealloc_killer(kptr) | ^ end.c:2186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2186 | save_killers(fd, mode) | ^ end.c:2207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2207 | restore_killers(fd) | ^ end.c:2221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2221 | wordcount(p) | ^ end.c:2238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2238 | bel_copy1(inp, out) | ^ end.c:2253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2253 | build_english_list(in) | ^ 28 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c engrave.c In file included from engrave.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ engrave.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | random_engraving(outbuf) | ^ engrave.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | wipeout_text(engr, cnt, seed) | ^ engrave.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | can_reach_floor(check_pit) | ^ engrave.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | cant_reach_floor(x, y, up, check_pit) | ^ engrave.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | surface(x, y) | ^ engrave.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | ceiling(x, y) | ^ engrave.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | engr_at(x, y) | ^ engrave.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | sengr_at(s, x, y, strict) | ^ engrave.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | u_wipe_engr(cnt) | ^ engrave.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | wipe_engr_at(x, y, cnt, magical) | ^ engrave.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | read_engr_at(x, y) | ^ engrave.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | make_engr_at(x, y, s, e_time, e_type) | ^ engrave.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | del_engr_at(x, y) | ^ engrave.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | save_engravings(fd, mode) | ^ engrave.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | rest_engravings(fd) | ^ engrave.c:1230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | engr_stats(hdrfmt, hdrbuf, count, size) | ^ engrave.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | del_engr(ep) | ^ engrave.c:1269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | rloc_engr(ep) | ^ engrave.c:1289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | make_grave(x, y, str) | ^ 20 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c exper.c In file included from exper.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ exper.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | newuexp(lev) | ^ exper.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | enermod(en) | ^ exper.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | experience(mtmp, nk) | ^ exper.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | more_experienced(exper, rexp) | ^ exper.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | losexp(drainer) | ^ exper.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | pluslvl(incr) | ^ exper.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | rndexp(gaining) | ^ 8 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c explode.c In file included from explode.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ explode.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | explode(x, y, type, dam, olet, expltype) | ^ explode.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | scatter(sx, sy, blastforce, scflags, obj) | ^ explode.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | splatter_burning_oil(x, y, diluted_oil) | ^ explode.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | explode_oil(obj, x, y) | ^ 5 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c extralev.c In file included from extralev.c:9: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ extralev.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | roguejoin(x1, y1, x2, y2, horiz) | ^ extralev.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | roguecorr(x, y, dir) | ^ extralev.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | miniwalk(x, y) | ^ extralev.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | corr(x, y) | ^ 5 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c files.c In file included from files.c:8: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ files.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | fname_encode(legal, quotechar, s, callerbuf, bufsz) | ^ files.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | fname_decode(quotechar, s, callerbuf, bufsz) | ^ files.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | fqname(basenam, whichprefix, buffnum) | ^ files.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | validate_prefix_locations(reasonbuf) | ^ files.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | fopen_datafile(filename, mode, prefix) | ^ files.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | set_levelfile_name(file, lev) | ^ files.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | create_levelfile(lev, errbuf) | ^ files.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | open_levelfile(lev, errbuf) | ^ files.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | delete_levelfile(lev) | ^ files.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | nhclose(fd) | ^ files.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | set_bonesfile_name(file, lev) | ^ files.c:799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | create_bonesfile(lev, bonesid, errbuf) | ^ files.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | commit_bonesfile(lev) | ^ files.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | open_bonesfile(lev, bonesid) | ^ files.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | delete_bonesfile(lev) | ^ files.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | set_savefile_name(regularize_it) | ^ files.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | save_savefile_name(fd) | ^ files.c:1273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | free_saved_games(saved) | ^ files.c:1292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1292 | redirect(filename, mode, stream, uncomp) | ^ files.c:1312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | docompress_file(filename, uncomp) | ^ files.c:1471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1471 | nh_compress(filename) | ^ files.c:1485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1485 | nh_uncompress(filename) | ^ files.c:1710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1710 | lock_file(filename, whichprefix, retryct) | ^ files.c:1876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1876 | unlock_file(filename) | ^ files.c:1955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | set_configfile_name(fname) | ^ files.c:1967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1967 | fopen_config_file(filename, src) | ^ files.c:2110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2110 | get_uchars(bufp, list, modlist, size, name) | ^ files.c:2196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | choose_random_part(str,sep) | ^ files.c:2249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2249 | is_config_section(str) | ^ files.c:2258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2258 | handle_config_section(buf) | ^ files.c:2286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2286 | find_optparam(buf) | ^ files.c:2300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2300 | parse_config_line(origbuf) | ^ files.c:2819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2819 | config_error_init(from_file, sourcename, secure) | ^ files.c:2844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2844 | config_error_nextline(line) | ^ files.c:2868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2868 | config_erradd(buf) | ^ files.c:2920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2920 | read_config_file(filename, src) | ^ files.c:3017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3017 | wizkit_addinv(obj) | ^ files.c:3044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3044 | proc_wizkit_line(buf) | ^ files.c:3092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3092 | parse_conf_file(fp, proc) | ^ files.c:3256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3256 | read_sym_file(which_set) | ^ files.c:3303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3303 | proc_symset_line(buf) | ^ files.c:3311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3311 | parse_sym_line(buf, which_set) | ^ files.c:3499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3499 | set_symhandling(handling, which_set) | ^ files.c:3528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3528 | check_recordfile(dir) | ^ files.c:3642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3642 | paniclog(type, reason) | ^ files.c:3676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3676 | testinglog(filenm, type, reason) | ^ files.c:3956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3956 | debugcore(filename, wildcards) | ^ files.c:4248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4248 | choose_passage(passagecnt, oid) | ^ files.c:4290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4290 | read_tribute(tribsection, tribtitle, tribpassage, nowin_buf, bufsz, oid) | ^ files.c:4462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4462 | Death_quote(buf, bufsz) | ^ 51 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c fountain.c In file included from fountain.c:7: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ fountain.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | floating_above(what) | ^ fountain.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | dogushforth(drinking) | ^ fountain.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | gush(x, y, poolcnt) | ^ fountain.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | dryup(x, y, isyou) | ^ fountain.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | dipfountain(obj) | ^ fountain.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | breaksink(x, y) | ^ 7 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c hack.c In file included from hack.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ hack.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | uint_to_any(ui) | ^ hack.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | long_to_any(lng) | ^ hack.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | monst_to_any(mtmp) | ^ hack.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | obj_to_any(obj) | ^ hack.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | revive_nasty(x, y, msg) | ^ hack.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | still_chewing(x, y) | ^ hack.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | movobj(obj, ox, oy) | ^ hack.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | may_dig(x, y) | ^ hack.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | may_passwall(x, y) | ^ hack.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | bad_rock(mdat, x, y) | ^ hack.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | cant_squeeze_thru(mon) | ^ hack.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | invocation_pos(x, y) | ^ hack.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | test_move(ux, uy, dx, dy, mode) | ^ hack.c:932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | findtravelpath(mode) | ^ hack.c:1172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | is_valid_travelpt(x,y) | ^ hack.c:1197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | trapmove(x, y, desttrap) | ^ hack.c:1962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1962 | maybe_smudge_engr(x1,y1,x2,y2) | ^ hack.c:2067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2067 | pooleffects(newspot) | ^ hack.c:2146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2146 | spoteffects(pick) | ^ hack.c:2294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2294 | monstinroom(mdat, roomno) | ^ hack.c:2311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2311 | in_rooms(x, y, typewanted) | ^ hack.c:2379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2379 | in_town(x, y) | ^ hack.c:2405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2405 | move_update(newlev) | ^ hack.c:2446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2446 | check_special_room(newlev) | ^ hack.c:2839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2839 | doorless_door(x, y) | ^ hack.c:2855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2855 | crawl_destination(x, y) | ^ hack.c:2905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2905 | nomul(nval) | ^ hack.c:2920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2920 | unmul(msg_override) | ^ hack.c:2988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2988 | losehp(n, knam, k_format) | ^ hack.c:3103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3103 | calc_capacity(xtra_wt) | ^ hack.c:3131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3131 | check_capacity(str) | ^ hack.c:3145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3145 | inv_cnt(incl_gold) | ^ hack.c:3164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3164 | money_cnt(otmp) | ^ 34 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c hacklib.c In file included from hacklib.c:7: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ hacklib.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | digit(c) | ^ hacklib.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | letter(c) | ^ hacklib.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | highc(c) | ^ hacklib.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | lowc(c) | ^ hacklib.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | lcase(s) | ^ hacklib.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | ucase(s) | ^ hacklib.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | upstart(s) | ^ hacklib.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | mungspaces(bp) | ^ hacklib.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | trimspaces(txt) | ^ hacklib.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | strip_newline(str) | ^ hacklib.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | eos(s) | ^ hacklib.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | str_end_is(str, chkstr) | ^ hacklib.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | strkitten(s, c) | ^ hacklib.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | copynchars(dst, src, n) | ^ hacklib.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | chrcasecpy(oc, nc) | ^ hacklib.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | strcasecpy(dst, src) | ^ hacklib.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | s_suffix(s) | ^ hacklib.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | ing_suffix(s) | ^ hacklib.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | xcrypt(str, buf) | ^ hacklib.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | onlyspace(s) | ^ hacklib.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | tabexpand(sbuf) | ^ hacklib.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | visctrl(c) | ^ hacklib.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | stripchars(bp, stuff_to_strip, orig) | ^ hacklib.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | strsubst(bp, orig, replacement) | ^ hacklib.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | strNsubst(inoutbuf, orig, replacement, n) | ^ hacklib.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | ordin(n) | ^ hacklib.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | sitoa(n) | ^ hacklib.c:562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | sgn(n) | ^ hacklib.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | rounddiv(x, y) | ^ hacklib.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | distmin(x0, y0, x1, y1) | ^ hacklib.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | dist2(x0, y0, x1, y1) | ^ hacklib.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | isqrt(val) | ^ hacklib.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | online2(x0, y0, x1, y1) | ^ hacklib.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | pmatch_internal(patrn, strng, ci, sk) | ^ hacklib.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | pmatch(patrn, strng) | ^ hacklib.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | pmatchi(patrn, strng) | ^ hacklib.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | pmatchz(patrn, strng) | ^ hacklib.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | strncmpi(s1, s2, n) /*{ aka strncasecmp }*/ | ^ hacklib.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | strstri(str, sub) | ^ hacklib.c:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | fuzzymatch(s1, s2, ignore_chars, caseblind) | ^ hacklib.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | set_random(seed, fn) | ^ hacklib.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | init_random(fn) | ^ hacklib.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | reseed_random(fn) | ^ hacklib.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | yyyymmdd(date) | ^ hacklib.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | hhmmss(date) | ^ hacklib.c:1009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | yyyymmddhhmmss(date) | ^ hacklib.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | time_from_yyyymmddhhmmss(buf) | ^ hacklib.c:1140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1140 | strbuf_init(strbuf) | ^ hacklib.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | strbuf_append(strbuf, str) | ^ hacklib.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | strbuf_reserve(strbuf, len) | ^ hacklib.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | strbuf_empty(strbuf) | ^ hacklib.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | strbuf_nl_to_crlf(strbuf) | ^ 53 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c invent.c In file included from invent.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ invent.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | loot_classify(sort_item, obj) | ^ invent.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | loot_xname(obj) | ^ invent.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | sortloot_cmp(vptr1, vptr2) | ^ invent.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | sortloot(olist, mode, by_nexthere, filterfunc) | ^ invent.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | unsortloot(loot_array_p) | ^ invent.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | assigninvlet(otmp) | ^ invent.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | merge_choice(objlist, obj) | ^ invent.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | merged(potmp, pobj) | ^ invent.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | addinv_core1(obj) | ^ invent.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | addinv_core2(obj) | ^ invent.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | addinv(obj) | ^ invent.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | carry_obj_effects(obj) | ^ invent.c:978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | hold_another_object(obj, drop_fmt, drop_arg, hold_msg) | ^ invent.c:1063:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | useupall(obj) | ^ invent.c:1072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | useup(obj) | ^ invent.c:1089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | consume_obj_charge(obj, maybe_unpaid) | ^ invent.c:1108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | freeinv_core(obj) | ^ invent.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | freeinv(obj) | ^ invent.c:1160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | delallobj(x, y) | ^ invent.c:1178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | delobj(obj) | ^ invent.c:1203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | sobj_at(otyp, x, y) | ^ invent.c:1218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | nxtobj(obj, type, by_nexthere) | ^ invent.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | carrying(type) | ^ invent.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | currency(amount) | ^ invent.c:1310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | o_on(id, objchn) | ^ invent.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | obj_here(obj, x, y) | ^ invent.c:1340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | g_at(x, y) | ^ invent.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | compactify(buf) | ^ invent.c:1393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | splittable(obj) | ^ invent.c:1402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | taking_off(action) | ^ invent.c:1410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | putting_on(action) | ^ invent.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | getobj(let, word) | ^ invent.c:1832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1832 | silly_thing(word, otmp) | ^ invent.c:1867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1867 | ckvalidcat(otmp) | ^ invent.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1875 | ckunpaid(otmp) | ^ invent.c:1889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | is_worn(otmp) | ^ invent.c:1905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1905 | safeq_xprname(obj) | ^ invent.c:1914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | safeq_shortxprname(obj) | ^ invent.c:1929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1929 | ggetobj(word, fn, mx, combo, resultflags) | ^ invent.c:2110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2110 | askchain(objchn, olets, allflag, fn, ckfn, mx, word) | ^ invent.c:2267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2267 | fully_identify_obj(otmp) | ^ invent.c:2282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2282 | identify(otmp) | ^ invent.c:2292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2292 | menu_identify(id_limit) | ^ invent.c:2330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2330 | count_unidentified(objchn) | ^ invent.c:2344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2344 | identify_pack(id_limit, learning_id) | ^ invent.c:2425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2425 | obj_to_let(obj) | ^ invent.c:2440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2440 | prinv(prefix, obj, quan) | ^ invent.c:2452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2452 | xprname(obj, txt, let, dot, cost, quan) | ^ invent.c:2515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2515 | find_unpaid(list, last_found) | ^ invent.c:2558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2558 | display_pickinv(lets, xtra_choice, query, want_reply, out_cnt) | ^ invent.c:2797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2797 | display_inventory(lets, want_reply) | ^ invent.c:2810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2810 | display_used_invlets(avoidlet) | ^ invent.c:2868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2868 | count_unpaid(list) | ^ invent.c:2891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2891 | count_buc(list, type, filterfunc) | ^ invent.c:2926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2926 | tally_BUCX(list, by_nexthere, bcp, ucp, ccp, xcp, ocp) | ^ invent.c:2964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2964 | count_contents(container, nested, quantity, everything, newdrop) | ^ invent.c:3101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3101 | this_type_only(obj) | ^ invent.c:3302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3302 | dfeature_at(x, y, buf) | ^ invent.c:3381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3381 | look_here(obj_cnt, picked_some) | ^ invent.c:3570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3570 | will_feel_cockatrice(otmp, force_touch) | ^ invent.c:3581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3581 | feel_cockatrice(otmp, force_touch) | ^ invent.c:3604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3604 | stackobj(obj) | ^ invent.c:3617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3617 | mergable(otmp, obj) | ^ invent.c:3741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3741 | noarmor(report_uskin) | ^ invent.c:3830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3830 | tool_in_use(obj) | ^ invent.c:3884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3884 | useupf(obj, numused) | ^ invent.c:3924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3924 | let_to_name(let, unpaid, showsym) | ^ invent.c:4282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4282 | invdisp_nothing(hdr, txt) | ^ invent.c:4305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4305 | worn_wield_only(obj) | ^ invent.c:4338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4338 | display_minventory(mon, dflags, title) | ^ invent.c:4389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4389 | display_cinventory(obj) | ^ invent.c:4420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4420 | only_here(obj) | ^ invent.c:4433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4433 | display_binventory(x, y, as_if_seen) | ^ 74 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c isaac64.c In file included from isaac64.c:12: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c light.c In file included from light.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ light.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | new_light_source(x, y, range, type, id) | ^ light.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | del_light_source(type, id) | ^ light.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | do_light_sources(cs_rows) | ^ light.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | show_transient_light(obj, x, y) | ^ light.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | find_mid(nid, fmflags) | ^ light.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | save_light_sources(fd, mode, range) | ^ light.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | restore_light_sources(fd) | ^ light.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | light_stats(hdrfmt, hdrbuf, count, size) | ^ light.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | relink_light_sources(ghostly) | ^ light.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | maybe_write_ls(fd, range, write_it) | ^ light.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | write_ls(fd, ls) | ^ light.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | obj_move_light_source(src, dest) | ^ light.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | snuff_light_source(x, y) | ^ light.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | obj_sheds_light(obj) | ^ light.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | obj_is_burning(obj) | ^ light.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | obj_split_light_source(src, dest) | ^ light.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | obj_merge_light_sources(src, dest) | ^ light.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | obj_adjust_light_radius(obj, new_radius) | ^ light.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | candle_light_range(obj) | ^ light.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | arti_light_radius(obj) | ^ light.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | arti_light_description(obj) | ^ 22 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c lock.c In file included from lock.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ lock.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | picking_lock(x, y) | ^ lock.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | picking_at(x, y) | ^ lock.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | breakchestlock(box, destroyit) | ^ lock.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | maybe_reset_pick(container) | ^ lock.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | pick_lock(pick) | ^ lock.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | stumble_on_door_mimic(x, y) | ^ lock.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | doopen_indir(x, y) | ^ lock.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | obstructed(x, y, quietly) | ^ lock.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | boxlock(obj, otmp) | ^ lock.c:921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | doorlock(otmp, x, y) | ^ lock.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | chest_shatter_msg(otmp) | ^ 12 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mail.c In file included from mail.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c makemon.c In file included from makemon.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ makemon.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | is_home_elemental(ptr) | ^ makemon.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | wrong_elem_type(ptr) | ^ makemon.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | m_initgrp(mtmp, x, y, n, mmflags) | ^ makemon.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | m_initthrow(mtmp, otyp, oquan) | ^ makemon.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | m_initweap(mtmp) | ^ makemon.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | mkmonmoney(mtmp, amount) | ^ makemon.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | m_initinv(mtmp) | ^ makemon.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | clone_mon(mon, x, y) | ^ makemon.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | propagate(mndx, tally, ghostly) | ^ makemon.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | monhp_per_lvl(mon) | ^ makemon.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | newmonhp(mon, mndx) | ^ makemon.c:1034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | makemon_rnd_goodpos(mon, gpflags, cc) | ^ makemon.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | makemon(ptr, x, y, mmflags) | ^ makemon.c:1418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1418 | mbirth_limit(mndx) | ^ makemon.c:1433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | create_critters(cnt, mptr, neverask) | ^ makemon.c:1466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | uncommon(mndx) | ^ makemon.c:1485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1485 | align_shift(ptr) | ^ makemon.c:1606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | reset_rndmonst(mndx) | ^ makemon.c:1620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | mk_gen_ok(mndx, mvflagsmask, genomask) | ^ makemon.c:1644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1644 | mkclass(class, spc) | ^ makemon.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | mkclass_aligned(class, spc, atyp) | ^ makemon.c:1730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | mkclass_poly(class) | ^ makemon.c:1757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1757 | adj_lev(ptr) | ^ makemon.c:1793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1793 | grow_up(mtmp, victim) | ^ makemon.c:1914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | mongets(mtmp, otyp) | ^ makemon.c:1967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1967 | golemhp(type) | ^ makemon.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2003 | peace_minded(ptr) | ^ makemon.c:2055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2055 | set_malign(mtmp) | ^ makemon.c:2105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2105 | newmcorpsenm(mtmp) | ^ makemon.c:2115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2115 | freemcorpsenm(mtmp) | ^ makemon.c:2130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2130 | set_mimic_sym(mtmp) | ^ makemon.c:2275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2275 | bagotricks(bag, tipping, seencount) | ^ 33 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mapglyph.c In file included from mapglyph.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ mapglyph.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | mapglyph(glyph, ochar, ocolor, ospecial, x, y, mgflags) | ^ mapglyph.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | encglyph(glyph) | ^ mapglyph.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | decode_mixed(buf, str) | ^ mapglyph.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | genl_putmixed(window, attr, str) | ^ 5 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mcastu.c In file included from mcastu.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ mcastu.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | cursetxt(mtmp, undirected) | ^ mcastu.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | choose_magic_spell(spellval) | ^ mcastu.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | choose_clerical_spell(spellnum) | ^ mcastu.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | castmu(mtmp, mattk, thinks_it_foundyou, foundyou) | ^ mcastu.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | m_cure_self(mtmp, dmg) | ^ mcastu.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | cast_wizard_spell(mtmp, dmg, spellnum) | ^ mcastu.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | cast_cleric_spell(mtmp, dmg, spellnum) | ^ mcastu.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | is_undirected_spell(adtyp, spellnum) | ^ mcastu.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | spell_would_be_useless(mtmp, adtyp, spellnum) | ^ mcastu.c:841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | buzzmu(mtmp, mattk) | ^ 11 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mhitm.c In file included from mhitm.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ mhitm.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | noises(magr, mattk) | ^ mhitm.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | missmm(magr, mdef, mattk) | ^ mhitm.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | fightm(mtmp) | ^ mhitm.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | mdisplacem(magr, mdef, quietly) | ^ mhitm.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | mattackm(magr, mdef) | ^ mhitm.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | hitmm(magr, mdef, mattk) | ^ mhitm.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | gazemm(magr, mdef, mattk) | ^ mhitm.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | engulf_target(magr, mdef) | ^ mhitm.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | gulpmm(magr, mdef, mattk) | ^ mhitm.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | explmm(magr, mdef, mattk) | ^ mhitm.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | mdamagem(magr, mdef, mattk) | ^ mhitm.c:1492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | paralyze_monst(mon, amt) | ^ mhitm.c:1507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1507 | sleep_monst(mon, amt, how) | ^ mhitm.c:1530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1530 | slept_monst(mon) | ^ mhitm.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | rustm(mdef, obj) | ^ mhitm.c:1566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1566 | mswingsm(magr, mdef, otemp) | ^ mhitm.c:1583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | passivemm(magr, mdef, mhit, mdead) | ^ mhitm.c:1738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1738 | xdrainenergym(mon, givemsg) | ^ mhitm.c:1754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | attk_protection(aatyp) | ^ 20 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mhitu.c In file included from mhitu.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ mhitu.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | hitmsg(mtmp, mattk) | ^ mhitu.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | missmu(mtmp, nearmiss, mattk) | ^ mhitu.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | mswings(mtmp, otemp) | ^ mhitu.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | mpoisons_subj(mtmp, mattk) | ^ mhitu.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | wildmiss(mtmp, mattk) | ^ mhitu.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | expels(mtmp, mdat, message) | ^ mhitu.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | getmattk(magr, mdef, indx, prev_result, alt_attk_buf) | ^ mhitu.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | mattacku(mtmp) | ^ mhitu.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | diseasemu(mdat) | ^ mhitu.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | u_slip_free(mtmp, mattk) | ^ mhitu.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | magic_negation(mon) | ^ mhitu.c:921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | hitmu(mtmp, mattk) | ^ mhitu.c:1780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1780 | gulpmu(mtmp, mattk) | ^ mhitu.c:2038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2038 | explmu(mtmp, mattk, ufound) | ^ mhitu.c:2143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2143 | gazemu(mtmp, mattk) | ^ mhitu.c:2359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2359 | mdamageu(mtmp, n) | ^ mhitu.c:2380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2380 | could_seduce(magr, mdef, mattk) | ^ mhitu.c:2432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2432 | doseduce(mon) | ^ mhitu.c:2728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2728 | mayberem(mon, seducer, obj, str) | ^ mhitu.c:2781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2781 | passiveum(olduasmon, mtmp, mattk) | ^ 21 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c minion.c In file included from minion.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ minion.c:9:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | newemin(mtmp) | ^ minion.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | free_emin(mtmp) | ^ minion.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | monster_census(spotted) | ^ minion.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | msummon(mon) | ^ minion.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | summon_minion(alignment, talk) | ^ minion.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | demon_talk(mtmp) | ^ minion.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | bribe(mtmp) | ^ minion.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | dprince(atyp) | ^ minion.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | dlord(atyp) | ^ minion.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | ndemon(atyp) | ^ minion.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | lose_guardian_angel(mon) | ^ 12 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mklev.c In file included from mklev.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ mklev.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | do_comp(vx, vy) | ^ mklev.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | finddpos(cc, xl, yl, xh, yh) | ^ mklev.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | do_room_or_subroom(croom, lowx, lowy, hix, hiy, lit, rtype, special, is_room) | ^ mklev.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | add_room(lowx, lowy, hix, hiy, lit, rtype, special) | ^ mklev.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | add_subroom(proom, lowx, lowy, hix, hiy, lit, rtype, special) | ^ mklev.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | join(a, b, nxcor) | ^ mklev.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | add_door(x, y, aroom) | ^ mklev.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | dosdoor(x, y, aroom, type) | ^ mklev.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | place_niche(aroom, dy, xx, yy) | ^ mklev.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | makeniche(trap_type) | ^ mklev.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | mineralize(kelp_pool, kelp_moat, goldprob, gemprob, skip_lvl_checks) | ^ mklev.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | topologize(croom) | ^ mklev.c:1102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | find_branch_room(mp) | ^ mklev.c:1133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | pos_to_room(x, y) | ^ mklev.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1148 | place_branch(br, x, y) | ^ mklev.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | bydoor(x, y) | ^ mklev.c:1237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | okdoor(x, y) | ^ mklev.c:1247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | dodoor(x, y, aroom) | ^ mklev.c:1260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | occupied(x, y) | ^ mklev.c:1271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | mktrap(num, mazeflag, croom, tm) | ^ mklev.c:1534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1534 | mkstairs(x, y, up, croom) | ^ mklev.c:1568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1568 | mkfount(mazeflag, croom) | ^ mklev.c:1594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1594 | mksink(croom) | ^ mklev.c:1614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | mkaltar(croom) | ^ mklev.c:1640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1640 | mkgrave(croom) | ^ mklev.c:1765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1765 | mkinvpos(x, y, dist) | ^ mklev.c:1862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | mk_knox_portal(x, y) | ^ 28 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mkmap.c In file included from mkmap.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ mkmap.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | init_map(bg_typ) | ^ mkmap.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | init_fill(bg_typ, fg_typ) | ^ mkmap.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | get_map(col, row, bg_typ) | ^ mkmap.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | pass_one(bg_typ, fg_typ) | ^ mkmap.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | pass_two(bg_typ, fg_typ) | ^ mkmap.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | pass_three(bg_typ, fg_typ) | ^ mkmap.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | flood_fill_rm(sx, sy, rmno, lit, anyroom) | ^ mkmap.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | join_map(bg_typ, fg_typ) | ^ mkmap.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | finish_map(fg_typ, bg_typ, lit, walled, icedpools) | ^ mkmap.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | remove_rooms(lx, ly, hx, hy) | ^ mkmap.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | remove_room(roomno) | ^ mkmap.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | mkmap(init_lev) | ^ 13 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mkmaze.c In file included from mkmaze.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ mkmaze.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | iswall(x, y) | ^ mkmaze.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | iswall_or_stone(x, y) | ^ mkmaze.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | is_solid(x, y) | ^ mkmaze.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | extend_spine(locale, wall_there, dx, dy) | ^ mkmaze.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | wall_cleanup(x1, y1, x2, y2) | ^ mkmaze.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | fix_wall_spines(x1, y1, x2, y2) | ^ mkmaze.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | wallification(x1, y1, x2, y2) | ^ mkmaze.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | okay(x, y, dir) | ^ mkmaze.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | maze0xy(cc) | ^ mkmaze.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | bad_location(x, y, lx, ly, hx, hy) | ^ mkmaze.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | place_lregion(lx, ly, hx, hy, nlx, nly, nhx, nhy, rtype, lev) | ^ mkmaze.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | put_lregion_here(x, y, nlx, nly, nhx, nhy, rtype, oneshot, lev) | ^ mkmaze.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | check_ransacked(s) | ^ mkmaze.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | migrate_orc(mtmp, mflags) | ^ mkmaze.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | shiny_orc_stuff(mtmp) | ^ mkmaze.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | migr_booty_item(otyp, gang) | ^ mkmaze.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | maze_inbounds(x, y) | ^ mkmaze.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | maze_remove_deadends(typ) | ^ mkmaze.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | create_maze(corrwid, wallthick) | ^ mkmaze.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | makemaz(s) | ^ mkmaze.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | walkfrom(x, y, typ) | ^ mkmaze.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | mazexy(cc) | ^ mkmaze.c:1330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | mkportal(x, y, todnum, todlevel) | ^ mkmaze.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | save_waterlevel(fd, mode) | ^ mkmaze.c:1596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1596 | restore_waterlevel(fd) | ^ mkmaze.c:1637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | waterbody_name(x, y) | ^ mkmaze.c:1737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1737 | mk_bubble(x, y, n) | ^ mkmaze.c:1801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | mv_bubble(b, dx, dy, ini) | ^ 29 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mkobj.c In file included from mkobj.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ mkobj.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | dealloc_oextra(o) | ^ mkobj.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | newomonst(otmp) | ^ mkobj.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | free_omonst(otmp) | ^ mkobj.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | newomid(otmp) | ^ mkobj.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | free_omid(otmp) | ^ mkobj.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | newolong(otmp) | ^ mkobj.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | free_olong(otmp) | ^ mkobj.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | new_omailcmd(otmp, response_cmd) | ^ mkobj.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | free_omailcmd(otmp) | ^ mkobj.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | mkobj_at(let, x, y, artif) | ^ mkobj.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | mksobj_at(otyp, x, y, init, artif) | ^ mkobj.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | mksobj_migr_to_species(otyp, mflags2, init, artif) | ^ mkobj.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | mkobj(oclass, artif) | ^ mkobj.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | mkbox_cnts(box) | ^ mkobj.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | copy_oextra(obj2, obj1) | ^ mkobj.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | splitobj(obj, num) | ^ mkobj.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | nextoid(oldobj, newobj) | ^ mkobj.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | unsplitobj(obj) | ^ mkobj.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | replace_object(obj, otmp) | ^ mkobj.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | unknwn_contnr_contents(obj) | ^ mkobj.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | bill_dummy_object(otmp) | ^ mkobj.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | costly_alteration(obj, alter_type) | ^ mkobj.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | mksobj(otyp, init, artif) | ^ mkobj.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | set_corpsenm(obj, id) | ^ mkobj.c:1176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | start_corpse_timeout(body) | ^ mkobj.c:1227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1227 | maybe_adjust_light(obj, old_range) | ^ mkobj.c:1270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | bless(otmp) | ^ mkobj.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | unbless(otmp) | ^ mkobj.c:1310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | curse(otmp) | ^ mkobj.c:1350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1350 | uncurse(otmp) | ^ mkobj.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | blessorcurse(otmp, chance) | ^ mkobj.c:1388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | bcsign(otmp) | ^ mkobj.c:1396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | set_bknown(obj, onoff) | ^ mkobj.c:1416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | weight(obj) | ^ mkobj.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | rnd_treefruit_at(x, y) | ^ mkobj.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | mkgold(amount, x, y) | ^ mkobj.c:1524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1524 | mkcorpstat(objtype, mtmp, ptr, x, y, corpstatflags) | ^ mkobj.c:1578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1578 | corpse_revive_type(obj) | ^ mkobj.c:1597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | obj_attach_mid(obj, mid) | ^ mkobj.c:1609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1609 | save_mtraits(obj, mtmp) | ^ mkobj.c:1640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1640 | get_mtraits(obj, copyof) | ^ mkobj.c:1667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1667 | mk_tt_object(objtype, x, y) | ^ mkobj.c:1688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1688 | mk_named_object(objtype, ptr, x, y, nm) | ^ mkobj.c:1705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | is_flammable(otmp) | ^ mkobj.c:1725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1725 | is_rottable(otmp) | ^ mkobj.c:1741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1741 | place_object(otmp, x, y) | ^ mkobj.c:1801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | obj_ice_effects(x, y, do_buried) | ^ mkobj.c:1829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1829 | peek_at_iced_corpse_age(otmp) | ^ mkobj.c:1847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | obj_timer_checks(otmp, x, y, force) | ^ mkobj.c:1915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1915 | remove_object(otmp) | ^ mkobj.c:1934:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1934 | discard_minvent(mtmp) | ^ mkobj.c:1972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1972 | obj_extract_self(obj) | ^ mkobj.c:2010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2010 | extract_nobj(obj, head_ptr) | ^ mkobj.c:2038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2038 | extract_nexthere(obj, head_ptr) | ^ mkobj.c:2064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2064 | add_to_minv(mon, obj) | ^ mkobj.c:2090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2090 | add_to_container(container, obj) | ^ mkobj.c:2113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2113 | add_to_migration(obj) | ^ mkobj.c:2129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2129 | add_to_buried(obj) | ^ mkobj.c:2142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2142 | container_weight(container) | ^ mkobj.c:2159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2159 | dealloc_obj(obj) | ^ mkobj.c:2196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | hornoplenty(horn, tipping) | ^ mkobj.c:2342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2342 | objlist_sanity(objlist, wheretype, mesg) | ^ mkobj.c:2394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2394 | mon_obj_sanity(monlist, mesg) | ^ mkobj.c:2430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2430 | where_name(obj) | ^ mkobj.c:2447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2447 | insane_object(obj, fmt, mesg, mon) | ^ mkobj.c:2479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2479 | init_dummyobj(obj, otyp, oquan) | ^ mkobj.c:2505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2505 | check_contained(container, mesg) | ^ mkobj.c:2553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2553 | check_glob(obj, mesg) | ^ mkobj.c:2576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2576 | sanity_check_worn(obj) | ^ mkobj.c:2773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2773 | obj_nexto(otmp) | ^ mkobj.c:2792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2792 | obj_nexto_xy(obj, x, y, recurs) | ^ mkobj.c:2837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2837 | obj_absorb(obj1, obj2) | ^ mkobj.c:2890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2890 | obj_meld(obj1, obj2) | ^ mkobj.c:2935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2935 | pudding_merge_message(otmp, otmp2) | ^ 75 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mkroom.c In file included from mkroom.c:18: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ mkroom.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | isbig(sroom) | ^ mkroom.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | mkroom(roomtype) | ^ mkroom.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | pick_room(strict) | ^ mkroom.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | mkzoo(type) | ^ mkroom.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | mk_zoo_thronemon(x,y) | ^ mkroom.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | fill_zoo(sroom) | ^ mkroom.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | mkundead(mm, revive_corpses, mm_flags) | ^ mkroom.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | shrine_pos(roomno) | ^ mkroom.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | nexttodoor(sx, sy) | ^ mkroom.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | has_dnstairs(sroom) | ^ mkroom.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | has_upstairs(sroom) | ^ mkroom.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | somex(croom) | ^ mkroom.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | somey(croom) | ^ mkroom.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | inside_room(croom, x, y) | ^ mkroom.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | somexy(croom, c) | ^ mkroom.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | search_special(type) | ^ mkroom.c:799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | save_room(fd, r) | ^ mkroom.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | save_rooms(fd) | ^ mkroom.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | rest_room(fd, r) | ^ mkroom.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | rest_rooms(fd) | ^ mkroom.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | cmap_to_type(sym) | ^ 22 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mon.c In file included from mon.c:11: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ mon.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | sanity_check_single_mon(mtmp, chk_geno, msg) | ^ mon.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | undead_to_corpse(mndx) | ^ mon.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | genus(mndx, mode) | ^ mon.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | pm_to_cham(mndx) | ^ mon.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | make_corpse(mtmp, corpseflags) | ^ mon.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | minliquid(mtmp) | ^ mon.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | mcalcmove(mon) | ^ mon.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | meatmetal(mtmp) | ^ mon.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | meatobj(mtmp) /* for gelatinous cubes */ | ^ mon.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | mpickgold(mtmp) | ^ mon.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | mpickstuff(mtmp, str) | ^ mon.c:1171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | curr_mon_load(mtmp) | ^ mon.c:1186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | max_mon_load(mtmp) | ^ mon.c:1230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | can_carry(mtmp, otmp) | ^ mon.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | mfndpos(mon, poss, info, flag) | ^ mon.c:1556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1556 | mm_aggression(magr, mdef) | ^ mon.c:1573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1573 | mm_displacement(magr, mdef) | ^ mon.c:1597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | monnear(mon, x, y) | ^ mon.c:1638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1638 | replmon(mtmp, mtmp2) | ^ mon.c:1682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1682 | relmon(mon, monst_list) | ^ mon.c:1737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1737 | copy_mextra(mtmp2, mtmp1) | ^ mon.c:1779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1779 | dealloc_mextra(m) | ^ mon.c:1805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1805 | dealloc_monst(mon) | ^ mon.c:1822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1822 | m_detach(mtmp, mptr) | ^ mon.c:1865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1865 | mlifesaver(mon) | ^ mon.c:1878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1878 | lifesaved_monster(mtmp) | ^ mon.c:1928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1928 | mondead(mtmp) | ^ mon.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | corpse_chance(mon, magr, was_swallowed) | ^ mon.c:2143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2143 | mondied(mdef) | ^ mon.c:2157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2157 | mongone(mdef) | ^ mon.c:2181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2181 | monstone(mdef) | ^ mon.c:2271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2271 | monkilled(mdef, fltxt, how) | ^ mon.c:2298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2298 | unstuck(mtmp) | ^ mon.c:2321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2321 | killed(mtmp) | ^ mon.c:2329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2329 | xkilled(mtmp, xkill_flags) | ^ mon.c:2522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2522 | mon_to_stone(mtmp) | ^ mon.c:2541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2541 | vamp_stone(mtmp) | ^ mon.c:2613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2613 | m_into_limbo(mtmp) | ^ mon.c:2623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2623 | migrate_mon(mtmp, target_lev, xyloc) | ^ mon.c:2634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2634 | ok_to_obliterate(mtmp) | ^ mon.c:2649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2649 | elemental_clog(mon) | ^ mon.c:2727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2727 | mnexto(mtmp) | ^ mon.c:2755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2755 | deal_with_overcrowding(mtmp) | ^ mon.c:2769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2769 | maybe_mnexto(mtmp) | ^ mon.c:2801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2801 | mnearto(mtmp, x, y, move_other) | ^ mon.c:2858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2858 | m_respond(mtmp) | ^ mon.c:2891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2891 | setmangry(mtmp, via_attack) | ^ mon.c:3027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3027 | wakeup(mtmp, via_attack) | ^ mon.c:3053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3053 | wake_nearto(x, y, distance) | ^ mon.c:3082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3082 | seemimic(mtmp) | ^ mon.c:3152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3152 | restore_cham(mon) | ^ mon.c:3172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3172 | restrap(mtmp) | ^ mon.c:3198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3198 | hideunder(mtmp) | ^ mon.c:3232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3232 | hide_monst(mon) | ^ mon.c:3259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3259 | mon_animal_list(construct) | ^ mon.c:3302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3302 | decide_to_shapeshift(mon, shiftflags) | ^ mon.c:3364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3364 | pickvampshape(mon) | ^ mon.c:3394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3394 | isspecmon(mon) | ^ mon.c:3405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3405 | validspecmon(mon, mndx) | ^ mon.c:3429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3429 | validvamp(mon, mndx_p, monclass) | ^ mon.c:3480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3480 | select_newcham_form(mon) | ^ mon.c:3614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3614 | accept_newcham_form(mon, mndx) | ^ mon.c:3642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3642 | mgender_from_permonst(mtmp, mdat) | ^ mon.c:3662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3662 | newcham(mtmp, mdat, polyspot, msg) | ^ mon.c:3897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3897 | can_be_hatched(mnum) | ^ mon.c:3921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3921 | egg_type_from_parent(mnum, force_ordinary) | ^ mon.c:3937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3937 | dead_species(m_idx, egg) | ^ mon.c:3960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3960 | kill_eggs(obj_list) | ^ mon.c:4032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4032 | golemeffects(mon, damtype, dam) | ^ mon.c:4067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4067 | angry_guards(silent) | ^ mon.c:4125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4125 | mimic_hit_msg(mtmp, otyp) | ^ mon.c:4147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4147 | usmellmon(mdat) | ^ 73 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mondata.c In file included from mondata.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ mondata.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | set_mon_data(mon, ptr) | ^ mondata.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | attacktype_fordmg(ptr, atyp, dtyp) | ^ mondata.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | attacktype(ptr, atyp) | ^ mondata.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | noattacks(ptr) | ^ mondata.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | poly_when_stoned(ptr) | ^ mondata.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | resists_drli(mon) | ^ mondata.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | resists_magm(mon) | ^ mondata.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | resists_blnd(mon) | ^ mondata.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | can_blnd(magr, mdef, aatyp, obj) | ^ mondata.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | ranged_attk(ptr) | ^ mondata.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | mon_hates_silver(mon) | ^ mondata.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | hates_silver(ptr) | ^ mondata.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | mon_hates_light(mon) | ^ mondata.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | passes_bars(mptr) | ^ mondata.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | can_blow(mtmp) | ^ mondata.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | can_chant(mtmp) | ^ mondata.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | can_be_strangled(mon) | ^ mondata.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | can_track(ptr) | ^ mondata.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | sliparm(ptr) | ^ mondata.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | breakarm(ptr) | ^ mondata.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | sticks(ptr) | ^ mondata.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | cantvomit(ptr) | ^ mondata.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | num_horns(ptr) | ^ mondata.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | dmgtype_fromattack(ptr, dtyp, atyp) | ^ mondata.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | dmgtype(ptr, dtyp) | ^ mondata.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | max_passive_dmg(mdef, magr) | ^ mondata.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | same_race(pm1, pm2) | ^ mondata.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | monsndx(ptr) | ^ mondata.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | name_to_mon(in_str) | ^ mondata.c:813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | name_to_monclass(in_str, mndx_p) | ^ mondata.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | gender(mtmp) | ^ mondata.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | pronoun_gender(mtmp, override_vis) | ^ mondata.c:930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | levl_follower(mtmp) | ^ mondata.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | little_to_big(montype) | ^ mondata.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | big_to_little(montype) | ^ mondata.c:1052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | big_little_match(montyp1, montyp2) | ^ mondata.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | raceptr(mtmp) | ^ mondata.c:1099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | locomotion(ptr, def) | ^ mondata.c:1116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1116 | stagger(ptr, def) | ^ mondata.c:1134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | on_fire(mptr, mattk) | ^ mondata.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | olfaction(mdat) | ^ 42 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c monmove.c In file included from monmove.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ monmove.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | mb_trapped(mtmp) | ^ monmove.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | monhaskey(mon, for_unlocking) | ^ monmove.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | mon_yells(mon, shout) | ^ monmove.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | watch_on_duty(mtmp) | ^ monmove.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | dochugw(mtmp) | ^ monmove.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | onscary(x, y, mtmp) | ^ monmove.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | mon_regen(mon, digest_meal) | ^ monmove.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | disturb(mtmp) | ^ monmove.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | release_hero(mon) | ^ monmove.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | monflee(mtmp, fleetime, first, fleemsg) | ^ monmove.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | distfleeck(mtmp, inrange, nearby, scared) | ^ monmove.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | m_arrival(mon) | ^ monmove.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | dochug(mtmp) | ^ monmove.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | itsstuck(mtmp) | ^ monmove.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | should_displace(mtmp, poss, info, cnt, gx, gy) | ^ monmove.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | m_digweapon_check(mtmp, nix, niy) | ^ monmove.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | m_move(mtmp, after) | ^ monmove.c:1502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1502 | dissolve_bars(x, y) | ^ monmove.c:1511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | closed_door(x, y) | ^ monmove.c:1519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | accessible(x, y) | ^ monmove.c:1533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | set_apparxy(mtmp) | ^ monmove.c:1607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | undesirable_disp(mtmp, x, y) | ^ monmove.c:1648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1648 | stuff_prevents_passage(mtmp) | ^ monmove.c:1686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1686 | can_ooze(mtmp) | ^ monmove.c:1696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1696 | can_fog(mtmp) | ^ monmove.c:1706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | vamp_shift(mon, ptr, domsg) | ^ 27 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mplayer.c In file included from mplayer.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ mplayer.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | get_mplname(mtmp, nam) | ^ mplayer.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | mk_mplayer_armor(mon, typ) | ^ mplayer.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | mk_mplayer(ptr, x, y, special) | ^ mplayer.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | create_mplayers(num, special) | ^ mplayer.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | mplayer_talk(mtmp) | ^ 6 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c mthrowu.c In file included from mthrowu.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ mthrowu.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | thitu(tlev, dam, objp, name) | ^ mthrowu.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | drop_throw(obj, ohit, x, y) | ^ mthrowu.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | monmulti(mtmp, otmp, mwep) | ^ mthrowu.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | monshoot(mtmp, otmp, mwep) | ^ mthrowu.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | ohitmon(mtmp, otmp, range, verbose) | ^ mthrowu.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | m_throw(mon, x, y, dx, dy, range, obj) | ^ mthrowu.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | thrwmm(mtmp, mtarg) | ^ mthrowu.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | spitmm(mtmp, mattk, mtarg) | ^ mthrowu.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | breamm(mtmp, mattk, mtarg) | ^ mthrowu.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | m_useupall(mon, obj) | ^ mthrowu.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | m_useup(mon, obj) | ^ mthrowu.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | thrwmu(mtmp) | ^ mthrowu.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | spitmu(mtmp, mattk) | ^ mthrowu.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | breamu(mtmp, mattk) | ^ mthrowu.c:1039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | linedup(ax, ay, bx, by, boulderhandling) | ^ mthrowu.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | m_lined_up(mtarg, mtmp) | ^ mthrowu.c:1090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | lined_up(mtmp) | ^ mthrowu.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | m_carrying(mtmp, type) | ^ mthrowu.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | hit_bars(objp, objx, objy, barsx, barsy, your_fault, from_invent) | ^ mthrowu.c:1157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | hits_bars(obj_p, x, y, barsx, barsy, always_hit, whodidit) | ^ 21 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c muse.c In file included from muse.c:9: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ muse.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | precheck(mon, obj) | ^ muse.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | mzapwand(mtmp, otmp, self) | ^ muse.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | mplayhorn(mtmp, otmp, self) | ^ muse.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | mreadmsg(mtmp, otmp) | ^ muse.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | mquaffmsg(mtmp, otmp) | ^ muse.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | m_use_healing(mtmp) | ^ muse.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | find_defensive(mtmp) | ^ muse.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | use_defensive(mtmp) | ^ muse.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | rnd_defensive_item(mtmp) | ^ muse.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | find_offensive(mtmp) | ^ muse.c:1233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | mbhitm(mtmp, otmp) | ^ muse.c:1314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | mbhit(mon, range, fhitm, fhito, obj) | ^ muse.c:1406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | use_offensive(mtmp) | ^ muse.c:1573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1573 | rnd_offensive_item(mtmp) | ^ muse.c:1631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | find_misc(mtmp) | ^ muse.c:1761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1761 | muse_newcham_mon(mon) | ^ muse.c:1776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | use_misc(mtmp) | ^ muse.c:1987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1987 | you_aggravate(mtmp) | ^ muse.c:2011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2011 | rnd_misc_item(mtmp) | ^ muse.c:2047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2047 | searches_for_item(mon, obj) | ^ muse.c:2124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2124 | mon_reflects(mon, str) | ^ muse.c:2165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2165 | ureflects(fmt, str) | ^ muse.c:2200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | mcureblindness(mon, verbos) | ^ muse.c:2214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2214 | munstone(mon, by_you) | ^ muse.c:2238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2238 | mon_consume_unstone(mon, obj, by_you, stoning) | ^ muse.c:2318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2318 | cures_stoning(mon, obj, tinok) | ^ muse.c:2337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2337 | mcould_eat_tin(mon) | ^ muse.c:2368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2368 | munslime(mon, by_you) | ^ muse.c:2443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2443 | muse_unslime(mon, obj, trap, by_you) | ^ muse.c:2555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2555 | cures_sliming(mon, obj) | ^ muse.c:2572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2572 | green_mon(mon) | ^ 32 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c music.c In file included from music.c:29: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ music.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | awaken_monsters(distance) | ^ music.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | put_monsters_to_sleep(distance) | ^ music.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | charm_snakes(distance) | ^ music.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | calm_nymphs(distance) | ^ music.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | awaken_soldiers(bugler) | ^ music.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | charm_monsters(distance) | ^ music.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | do_earthquake(force) | ^ music.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | do_improvisation(instr) | ^ music.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | do_play_instrument(instr) | ^ 10 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c o_init.c In file included from o_init.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ o_init.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | setgemprobs(dlev) | ^ o_init.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | shuffle(o_low, o_high, domaterial) | ^ o_init.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | obj_shuffle_range(otyp, lo_p, hi_p) | ^ o_init.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | savenames(fd, mode) | ^ o_init.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | restnames(fd) | ^ o_init.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | discover_object(oindx, mark_as_known, credit_hero) | ^ o_init.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | undiscover_object(oindx) | ^ o_init.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | interesting_to_discover(i) | ^ o_init.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | oclass_to_name(oclass, buf) | ^ 10 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c objnam.c In file included from objnam.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ objnam.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | strprepend(s, pref) | ^ objnam.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | releaseobuf(bufp) | ^ objnam.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | obj_typename(otyp) | ^ objnam.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | simple_typename(otyp) | ^ objnam.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | safe_typename(otyp) | ^ objnam.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | obj_is_pname(obj) | ^ objnam.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | distant_name(obj, func) | ^ objnam.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | fruitname(juice) | ^ objnam.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | fruit_from_indx(indx) | ^ objnam.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | fruit_from_name(fname, exact, highest_fid) | ^ objnam.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | reorder_fruit(forward) | ^ objnam.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | xname(obj) | ^ objnam.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | xname_flags(obj, cxn_flags) | ^ objnam.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | minimal_xname(obj) | ^ objnam.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | mshot_xname(obj) | ^ objnam.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | the_unique_obj(obj) | ^ objnam.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | the_unique_pm(ptr) | ^ objnam.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | add_erosion_words(obj, prefix) | ^ objnam.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | erosion_matters(obj) | ^ objnam.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | doname_base(obj, doname_flags) | ^ objnam.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | doname(obj) | ^ objnam.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | doname_with_price(obj) | ^ objnam.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | doname_vague_quan(obj) | ^ objnam.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | not_fully_identified(otmp) | ^ objnam.c:1366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | corpse_xname(otmp, adjective, cxn_flags) | ^ objnam.c:1461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | cxname(obj) | ^ objnam.c:1471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1471 | cxname_singular(obj) | ^ objnam.c:1481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | killer_xname(obj) | ^ objnam.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | short_oname(obj, func, altfunc, lenlimit) | ^ objnam.c:1630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | singular(otmp, func) | ^ objnam.c:1650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | just_an(outbuf, str) | ^ objnam.c:1677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1677 | an(str) | ^ objnam.c:1691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | An(str) | ^ objnam.c:1705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | the(str) | ^ objnam.c:1761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1761 | The(str) | ^ objnam.c:1772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1772 | aobjnam(otmp, verb) | ^ objnam.c:1792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1792 | yobjnam(obj, verb) | ^ objnam.c:1812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1812 | Yobjnam2(obj, verb) | ^ objnam.c:1824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1824 | Tobjnam(otmp, verb) | ^ objnam.c:1839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1839 | Doname2(obj) | ^ objnam.c:1874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1874 | yname(obj) | ^ objnam.c:1894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1894 | Yname2(obj) | ^ objnam.c:1908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1908 | ysimple_name(obj) | ^ objnam.c:1920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | Ysimple_name2(obj) | ^ objnam.c:1931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1931 | simpleonames(obj) | ^ objnam.c:1943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1943 | ansimpleoname(obj) | ^ objnam.c:1966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1966 | thesimpleoname(obj) | ^ objnam.c:1976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1976 | bare_artifactname(obj) | ^ objnam.c:2006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2006 | otense(otmp, verb) | ^ objnam.c:2040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2040 | vtense(subj, verb) | ^ objnam.c:2185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2185 | singplur_lookup(basestr, endstring, to_plural, alt_as_is) | ^ objnam.c:2260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | singplur_compound(str) | ^ objnam.c:2313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2313 | makeplural(oldstr) | ^ objnam.c:2492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | makesingular(oldstr) | ^ objnam.c:2607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2607 | badman(basestr, to_plural) | ^ objnam.c:2656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2656 | wishymatch(u_str, o_str, retry_inverted) | ^ objnam.c:2828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2828 | rnd_otyp_by_wpnskill(skill) | ^ objnam.c:2852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2852 | rnd_otyp_by_namedesc(name, oclass, xtra_prob) | ^ objnam.c:2902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2902 | shiny_obj(oclass) | ^ objnam.c:2916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2916 | readobjnam(bp, no_wish) | ^ objnam.c:4120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4120 | rnd_class(first, last) | ^ objnam.c:4139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4139 | Japanese_item_name(i) | ^ objnam.c:4153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4153 | suit_simple_name(suit) | ^ objnam.c:4175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4175 | cloak_simple_name(cloak) | ^ objnam.c:4197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4197 | helm_simple_name(helmet) | ^ objnam.c:4217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4217 | gloves_simple_name(gloves) | ^ objnam.c:4236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4236 | mimic_obj_name(mtmp) | ^ objnam.c:4255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4255 | safe_qbuf(qbuf, qprefix, qsuffix, obj, func, altfunc, lastR) | ^ objnam.c:4329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4329 | globwt(otmp, buf, weightformatted_p) | ^ 70 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c options.c In file included from options.c:17: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ options.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | match_optname(user_string, opt_name, min_length, val_allowed) | ^ options.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | nh_getenv(ev) | ^ options.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | nmcpy(dest, src, maxlen) | ^ options.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | escapes(cp, tp) | ^ options.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | rejectoption(optname) | ^ options.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | string_for_opt(opts, val_optional) | ^ options.c:1078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | string_for_env_opt(optname, opts, val_optional) | ^ options.c:1091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | bad_negation(optname, with_parameter) | ^ options.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | change_inv_order(op) | ^ options.c:1157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | warning_opts(opts, optype) | ^ options.c:1179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | assign_warnings(graph_chars) | ^ options.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | feature_alert_opts(op, optn) | ^ options.c:1222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | set_duplicate_opt_detection(on_or_off) | ^ options.c:1254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1254 | duplicate_opt_detection(opts, iscompound) | ^ options.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | complain_about_duplicate(opts, iscompound) | ^ options.c:1399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | clr2colorname(clr) | ^ options.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | match_str2clr(str) | ^ options.c:1437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | attr2attrname(attr) | ^ options.c:1449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1449 | match_str2attr(str, complain) | ^ options.c:1469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | query_color(prompt) | ^ options.c:1511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | query_attr(prompt) | ^ options.c:1603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | msgtype2name(typ) | ^ options.c:1643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1643 | msgtype_add(typ, pattern) | ^ options.c:1680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1680 | free_one_msgtype(idx) | ^ options.c:1706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | msgtype_type(msg, norepeat) | ^ options.c:1725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1725 | hide_unhide_msgtypes(hide, hide_mask) | ^ options.c:1756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1756 | msgtype_parse_add(str) | ^ options.c:1782:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1782 | test_regex_pattern(str, errmsg) | ^ options.c:1809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1809 | add_menu_coloring_parsed(str, c, a) | ^ options.c:1837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | add_menu_coloring(tmpstr) | ^ options.c:1884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1884 | get_menu_coloring(str, color, attr) | ^ options.c:1914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | free_one_menu_coloring(idx) | ^ options.c:1951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1951 | parse_role_opts(negated, fullname, opts, opp) | ^ options.c:1989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1989 | illegal_menu_cmd_key(c) | ^ options.c:2009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2009 | parseoptions(opts, tinitial, tfrom_file) | ^ options.c:4186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4186 | parsebindings(bindings) | ^ options.c:4255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4255 | oc_to_str(src, dest) | ^ options.c:4274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4274 | add_menu_cmd_alias(from_ch, to_ch) | ^ options.c:4289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4289 | get_menu_cmd_key(ch) | ^ options.c:4307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4307 | map_menu_cmd(ch) | ^ options.c:4321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4321 | show_menu_controls(win, dolist) | ^ options.c:4403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4403 | doset_add_menu(win, option, indexoffset) | ^ options.c:4443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4443 | opts_add_others(win, name, id, bufx, nset) | ^ options.c:4716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4716 | handle_add_list_remove(optname, numtotal) | ^ options.c:4766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4766 | special_handling(optname, setinitial, setfromfile) | ^ options.c:5597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5597 | get_compopt_value(optname, buf) | ^ options.c:5996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5996 | add_autopickup_exception(mapping) | ^ options.c:6044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6044 | remove_autopickup_exception(whichape) | ^ options.c:6082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6082 | load_symset(s, which_set) | ^ options.c:6114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6114 | parsesymbols(opts, which_set) | ^ options.c:6156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6156 | match_sym(buf) | ^ options.c:6181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6181 | sym_val(strval) | ^ options.c:6297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6297 | next_opt(datawin, str) | ^ options.c:6338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6338 | fruitadd(str, replace_fruit) | ^ options.c:6483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6483 | choose_classes_menu(prompt, category, way, class_list, class_select) | ^ options.c:6644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6644 | set_option_mod_status(optnam, status) | ^ options.c:6678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6678 | set_wc_option_mod_status(optmask, status) | ^ options.c:6698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6698 | is_wc_option(optnam) | ^ options.c:6712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6712 | wc_supported(optnam) | ^ options.c:6736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6736 | set_wc2_option_mod_status(optmask, status) | ^ options.c:6756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6756 | is_wc2_option(optnam) | ^ options.c:6770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6770 | wc2_supported(optnam) | ^ options.c:6784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6784 | wc_set_font_name(opttype, fontname) | ^ options.c:6820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6820 | wc_set_window_colors(op) | ^ 65 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c pager.c In file included from pager.c:9: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ pager.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | is_swallow_sym(c) | ^ pager.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | append_str(buf, new_str) | ^ pager.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | self_lookat(outbuf) | ^ pager.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | mhidden_description(mon, altmon, outbuf) | ^ pager.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | object_from_map(glyph, x, y, obj_p) | ^ pager.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | look_at_object(buf, x, y, glyph) | ^ pager.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | look_at_monster(buf, monbuf, mtmp, x, y) | ^ pager.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | lookat(x, y, buf, monbuf) | ^ pager.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | checkfile(inp, pm, user_typed_name, without_asking, supplemental_name) | ^ pager.c:811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | do_screen_description(cc, looked, sym, out_str, firstmatch, for_supplement) | ^ pager.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | do_look(mode, click_cc) | ^ pager.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | look_all(nearby, do_mons) | ^ pager.c:1465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | do_supplemental_info(name, pm, without_asking) | ^ pager.c:1786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1786 | dowhatdoes_core(q, cbuf) | ^ 15 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c pickup.c In file included from pickup.c:10: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ pickup.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | simple_look(otmp, here) | ^ pickup.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | collect_obj_classes(ilets, otmp, here, filter, itemcount) | ^ pickup.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | query_classes(oclasses, one_at_a_time, everything, action, objs, here, | ^ pickup.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | fatal_corpse_mistake(obj, remotely) | ^ pickup.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | rider_corpse_revival(obj, remotely) | ^ pickup.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | check_here(picked_some) | ^ pickup.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | n_or_more(obj) | ^ pickup.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | menu_class_present(c) | ^ pickup.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | add_valid_menu_class(c) | ^ pickup.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | all_but_uchain(obj) | ^ pickup.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | allow_all(obj) | ^ pickup.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | allow_category(obj) | ^ pickup.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | is_worn_by_type(otmp) | ^ pickup.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | pickup(what) | ^ pickup.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | check_autopickup_exceptions(obj) | ^ pickup.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | autopick_testobj(otmp, calc_costly) | ^ pickup.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | autopick(olist, follow, pick_list) | ^ pickup.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | query_objlist(qstr, olist_p, qflags, pick_list, how, allow) | ^ pickup.c:1009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | query_category(qstr, olist, qflags, pick_list, how) | ^ pickup.c:1194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | count_categories(olist, qflags) | ^ pickup.c:1229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | delta_cwt(container, obj) | ^ pickup.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | carry_count(obj, container, count, telekinesis, wt_before, wt_after) | ^ pickup.c:1392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | lift_object(obj, container, cnt_p, telekinesis) | ^ pickup.c:1487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | pickup_object(obj, count, telekinesis) | ^ pickup.c:1561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1561 | pick_obj(otmp) | ^ pickup.c:1656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1656 | container_at(x, y, countem) | ^ pickup.c:1675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | able_to_loot(x, y, looting) | ^ pickup.c:1705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | mon_beside(x, y) | ^ pickup.c:1721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | do_loot_cont(cobjp, cindex, ccount) | ^ pickup.c:2017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2017 | loot_mon(mtmp, passed_info, prev_loot) | ^ pickup.c:2081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2081 | mbag_explodes(obj, depthin) | ^ pickup.c:2105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2105 | boh_loss(container, held) | ^ pickup.c:2128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2128 | in_container(obj) | ^ pickup.c:2286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2286 | ck_bag(obj) | ^ pickup.c:2294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2294 | out_container(obj) | ^ pickup.c:2354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2354 | removed_from_icebox(obj) | ^ pickup.c:2366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2366 | mbag_item_gone(held, item) | ^ pickup.c:2389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2389 | observe_quantum_cat(box, makecat, givemsg) | ^ pickup.c:2454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2454 | container_gone(fn) | ^ pickup.c:2463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2463 | explain_container_prompt(more_containers) | ^ pickup.c:2511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2511 | use_container(objp, held, more_containers) | ^ pickup.c:2756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2756 | traditional_loot(put_in) | ^ pickup.c:2791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2791 | menu_loot(retry, put_in) | ^ pickup.c:2883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2883 | in_or_out_menu(prompt, obj, outokay, inokay, alreadyused, more_containers) | ^ pickup.c:3114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3114 | tipcontainer(box) | ^ 46 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c pline.c In file included from pline.c:7: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ pline.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | putmesg(line) | ^ pline.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | You_buf(siz) | ^ 3 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c polyself.c In file included from polyself.c:22: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ polyself.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | check_strangling(on) | ^ polyself.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | polyman(fmt, arg) | ^ polyself.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | polyself(psflags) | ^ polyself.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | polymon(mntmp) | ^ polyself.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | dropp(obj) | ^ polyself.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | drop_weapon(alone) | ^ polyself.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | skinback(silently) | ^ polyself.c:1603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | mbodypart(mon, part) | ^ polyself.c:1761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1761 | body_part(part) | ^ polyself.c:1779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1779 | ugolemeffects(damtype, dam) | ^ polyself.c:1811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1811 | armor_to_dragon(atyp) | ^ 12 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c potion.c In file included from potion.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ potion.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | itimeout(val) | ^ potion.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | itimeout_incr(old, incr) | ^ potion.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | set_itimeout(which, val) | ^ potion.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | incr_itimeout(which, incr) | ^ potion.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | make_confused(xtime, talk) | ^ potion.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | make_stunned(xtime, talk) | ^ potion.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | make_sick(xtime, cause, talk, type) | ^ potion.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | make_slimed(xtime, msg) | ^ potion.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | make_stoned(xtime, msg, killedby, killername) | ^ potion.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | make_vomiting(xtime, talk) | ^ potion.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | make_blinded(xtime, talk) | ^ potion.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | make_hallucinated(xtime, talk, mask) | ^ potion.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | make_deaf(xtime, talk) | ^ potion.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | make_glib(xtime) | ^ potion.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | dopotion(otmp) | ^ potion.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | peffects(otmp) | ^ potion.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | healup(nhp, nxtra, curesick, cureblind) | ^ potion.c:1194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | strange_feeling(obj, txt) | ^ potion.c:1225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1225 | H2Opotion_dip(potion, targobj, useeit, objphrase) | ^ potion.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | potionhit(mon, obj, how) | ^ potion.c:1613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1613 | potionbreathe(obj) | ^ potion.c:1789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | mixtype(o1, o2) | ^ potion.c:2301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2301 | mongrantswish(monp) | ^ potion.c:2321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2321 | djinni_from_bottle(obj) | ^ potion.c:2379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2379 | split_mon(mon, mtmp) | ^ 26 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c pray.c In file included from pray.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ pray.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | critically_low_hp(only_if_injured) | ^ pray.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | fix_worst_trouble(trouble) | ^ pray.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | god_zaps_you(resp_god) | ^ pray.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | fry_by_god(resp_god, via_disintegration) | ^ pray.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | angrygods(resp_god) | ^ pray.c:747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | at_your_feet(str) | ^ pray.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | pleased(g_align) | ^ pray.c:1234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | water_prayer(bless_water) | ^ pray.c:1263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | godvoice(g_align, words) | ^ pray.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | gods_angry(g_align) | ^ pray.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | gods_upset(g_align) | ^ pray.c:1298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | consume_offering(otmp) | ^ pray.c:1794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | can_pray(praying) | ^ pray.c:2091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2091 | a_gname_at(x, y) | ^ pray.c:2108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2108 | align_gname(alignment) | ^ pray.c:2156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2156 | halu_gname(alignment) | ^ pray.c:2208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2208 | align_gtitle(alignment) | ^ pray.c:2233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2233 | altar_wrath(x, y) | ^ pray.c:2258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2258 | blocked_boulder(dx, dy) | ^ 20 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c priest.c In file included from priest.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ priest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | newepri(mtmp) | ^ priest.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | free_epri(mtmp) | ^ priest.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | move_special(mtmp, in_his_shop, appr, uondoor, avoid, omx, omy, gx, gy) | ^ priest.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | temple_occupied(array) | ^ priest.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | histemple_at(priest, x, y) | ^ priest.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | inhistemple(priest) | ^ priest.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | pri_move(priest) | ^ priest.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | priestini(lvl, sroom, sx, sy, sanctum) | ^ priest.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | mon_aligntyp(mon) | ^ priest.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | priestname(mon, pname) | ^ priest.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | p_coaligned(priest) | ^ priest.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | has_shrine(pri) | ^ priest.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | findpriest(roomno) | ^ priest.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | intemple(roomno) | ^ priest.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | forget_temple_entry(priest) | ^ priest.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | priest_talk(priest) | ^ priest.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | mk_roamer(ptr, alignment, x, y, peaceful) | ^ priest.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | reset_hostility(roamer) | ^ priest.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | in_your_sanctuary(mon, x, y) | ^ priest.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | ghod_hitsu(priest) | ^ priest.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | restpriest(mtmp, ghostly) | ^ priest.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | align_str(alignment) | ^ priest.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | piousness(showneg, suffix) | ^ priest.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | mstatusline(mtmp) | ^ 25 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c quest.c In file included from quest.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ quest.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | artitouch(obj) | ^ quest.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | is_pure(talk) | ^ quest.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | expulsion(seal) | ^ quest.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | finish_quest(obj) | ^ quest.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | leader_speaks(mtmp) | ^ quest.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | prisoner_speaks(mtmp) | ^ quest.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | quest_chat(mtmp) | ^ quest.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | quest_talk(mtmp) | ^ quest.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | quest_stat_check(mtmp) | ^ 10 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c questpgr.c In file included from questpgr.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ questpgr.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | Fread(ptr, size, nitems, stream) | ^ questpgr.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | construct_qtlist(hdr_offset) | ^ questpgr.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | quest_info(typ) | ^ questpgr.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | is_quest_artifact(otmp) | ^ questpgr.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | find_qarti(ochain) | ^ questpgr.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | find_quest_artifact(whichchains) | ^ questpgr.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | qtext_pronoun(who, which) | ^ questpgr.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | msg_in(qtm_list, msgnum) | ^ questpgr.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | convert_arg(c) | ^ questpgr.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | convert_line(in_line, out_line) | ^ questpgr.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | deliver_by_pline(qt_msg) | ^ questpgr.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | deliver_by_window(qt_msg, how) | ^ questpgr.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | skip_pager(common) | ^ questpgr.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | com_pager(msgnum) | ^ questpgr.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | qt_pager(msgnum) | ^ 16 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c read.c In file included from read.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ read.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | learnscrolltyp(scrolltyp) | ^ read.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | learnscroll(sobj) | ^ read.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | erode_obj_text(otmp, buf) | ^ read.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | tshirt_text(tshirt, buf) | ^ read.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | apron_text(apron, buf) | ^ read.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | stripspe(obj) | ^ read.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | p_glow1(otmp) | ^ read.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | p_glow2(otmp, color) | ^ read.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | is_chargeable(obj) | ^ read.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | recharge(obj, curse_bless) | ^ read.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | forget_single_object(obj_id) | ^ read.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | randomize(indices, count) | ^ read.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | forget_objects(percent) | ^ read.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | forget_map(howmuch) | ^ read.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | forget_levels(percent) | ^ read.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | forget(howmuch) | ^ read.c:930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | maybe_tame(mtmp, sobj) | ^ read.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | get_valid_stinking_cloud_pos(x,y) | ^ read.c:962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | is_valid_stinking_cloud_pos(x, y, showmsg) | ^ read.c:975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | display_stinking_cloud_positions(state) | ^ read.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | seffects(sobj) | ^ read.c:1730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | drop_boulder_on_player(confused, helmet_protects, byu, skip_uswallow) | ^ read.c:1774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1774 | drop_boulder_on_monster(x, y, confused, byu) | ^ read.c:1849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1849 | wand_explode(obj, chg) | ^ read.c:1908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1908 | set_lit(x, y, val) | ^ read.c:1930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1930 | litroom(on, obj) | ^ read.c:2183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2183 | do_genocide(how) | ^ read.c:2345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2345 | punish(sobj) | ^ read.c:2409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2409 | cant_revive(mtype, revival, from_obj) | ^ read.c:2443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2443 | create_particular_parse(str, d) | ^ read.c:2523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2523 | create_particular_creation(d) | ^ 32 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c rect.c In file included from rect.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ rect.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | get_rect_ind(r) | ^ rect.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | get_rect(r) | ^ rect.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | intersect(r1, r2, r3) | ^ rect.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | remove_rect(r) | ^ rect.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | add_rect(r) | ^ rect.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | split_rects(r1, r2) | ^ 7 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c region.c In file included from region.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ region.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | inside_rect(r, x, y) | ^ region.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | inside_region(reg, x, y) | ^ region.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | create_region(rects, nrect) | ^ region.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | add_rect_to_reg(reg, rect) | ^ region.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | add_mon_to_reg(reg, mon) | ^ region.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | remove_mon_from_reg(reg, mon) | ^ region.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | mon_in_region(reg, mon) | ^ region.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | free_region(reg) | ^ region.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | add_region(reg) | ^ region.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | remove_region(reg) | ^ region.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | in_out_region(x, y) | ^ region.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | m_in_out_region(mon, x, y) | ^ region.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | update_monster_region(mon) | ^ region.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | visible_region_at(x, y) | ^ region.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | show_region(reg, x, y) | ^ region.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | save_regions(fd, mode) | ^ region.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | rest_regions(fd, ghostly) | ^ region.c:782:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | region_stats(hdrfmt, hdrbuf, count, size) | ^ region.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | reset_region_mids(reg) | ^ region.c:934:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | expire_gas_cloud(p1, p2) | ^ region.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | inside_gas_cloud(p1, p2) | ^ region.c:1032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | create_gas_cloud(x, y, radius, damage) | ^ 23 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c restore.c In file included from restore.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ restore.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | inven_inuse(quietly) | ^ restore.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | restlevchn(fd) | ^ restore.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | restdamage(fd, ghostly) | ^ restore.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | restobj(fd, otmp) | ^ restore.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | restobjchn(fd, ghostly, frozen) | ^ restore.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | restmon(fd, mtmp) | ^ restore.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | restmonchn(fd, ghostly) | ^ restore.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | loadfruitchn(fd) | ^ restore.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | freefruitchn(flist) | ^ restore.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | ghostfruit(otmp) | ^ restore.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | restgamestate(fd, stuckid, steedid) | ^ restore.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | restlevelstate(stuckid, steedid) | ^ restore.c:744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | restlevelfile(fd, ltmp) | ^ restore.c:801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | dorecover(fd) | ^ restore.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | restcemetery(fd, cemeteryaddr) | ^ restore.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | rest_levl(fd, rlecomp) | ^ restore.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | trickery(reason) | ^ restore.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | getlev(fd, pid, lev, ghostly) | ^ restore.c:1209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | get_plname_from_file(fd, plbuf) | ^ restore.c:1220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | restore_msghistory(fd) | ^ restore.c:1257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | add_id_mapping(gid, nid) | ^ restore.c:1282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | lookup_id_mapping(gid, nidp) | ^ restore.c:1309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | reset_oattached_mids(ghostly) | ^ restore.c:1412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1412 | mread(fd, buf, len) | ^ restore.c:1429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | validate(fd, name) | ^ restore.c:1520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1520 | set_restpref(suitename) | ^ restore.c:1623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1623 | def_mread(fd, buf, len) | ^ 28 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c rip.c In file included from rip.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ rip.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | center(line, text) | ^ rip.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | genl_outrip(tmpwin, how, when) | ^ 3 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c rnd.c In file included from rnd.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ rnd.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | whichrng(fn) | ^ rnd.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | init_isaac64(seed, fn) | ^ rnd.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | rn2_on_display_rng(x) | ^ rnd.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | rn2(x) | ^ rnd.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | rnl(x) | ^ rnd.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | rnd(x) | ^ rnd.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | d(n, x) | ^ rnd.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | rne(x) | ^ rnd.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | rnz(i) | ^ 10 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c role.c In file included from role.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ role.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | validrole(rolenum) | ^ role.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | randrole(for_display) | ^ role.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | str2role(str) | ^ role.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | validrace(rolenum, racenum) | ^ role.c:861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | randrace(rolenum) | ^ role.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | str2race(str) | ^ role.c:917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | validgend(rolenum, racenum, gendnum) | ^ role.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | randgend(rolenum, racenum) | ^ role.c:955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | str2gend(str) | ^ role.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | validalign(rolenum, racenum, alignnum) | ^ role.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | randalign(rolenum, racenum) | ^ role.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | str2align(str) | ^ role.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | ok_role(rolenum, racenum, gendnum, alignnum) | ^ role.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | pick_role(racenum, gendnum, alignnum, pickhow) | ^ role.c:1118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | ok_race(rolenum, racenum, gendnum, alignnum) | ^ role.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | pick_race(rolenum, gendnum, alignnum, pickhow) | ^ role.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | ok_gend(rolenum, racenum, gendnum, alignnum) | ^ role.c:1231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | pick_gend(rolenum, racenum, alignnum, pickhow) | ^ role.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | ok_align(rolenum, racenum, gendnum, alignnum) | ^ role.c:1300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | pick_align(rolenum, racenum, gendnum, pickhow) | ^ role.c:1374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | setrolefilter(bufp) | ^ role.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | promptsep(buf, num_post_attribs) | ^ role.c:1442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | role_gendercount(rolenum) | ^ role.c:1459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1459 | race_alignmentcount(racenum) | ^ role.c:1476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1476 | root_plselection_prompt(suppliedbuf, buflen, rolenum, racenum, gendnum, | ^ role.c:1627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | build_plselection_prompt(buf, buflen, rolenum, racenum, gendnum, alignnum) | ^ role.c:1762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1762 | role_selection_prolog(which, where) | ^ role.c:1850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1850 | role_menu_extra(which, where, preselect) | ^ role.c:2140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2140 | Hello(mtmp) | ^ 30 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c rumors.c In file included from rumors.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ rumors.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | init_rumors(fp) | ^ rumors.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | getrumor(truth, rumor_buf, exclude_cookie) | ^ rumors.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | get_rnd_text(fname, buf, rng) | ^ rumors.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | outrumor(truth, mechanism) | ^ rumors.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | init_oracles(fp) | ^ rumors.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | save_oracles(fd, mode) | ^ rumors.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | restore_oracles(fd) | ^ rumors.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | outoracle(special, delphi) | ^ rumors.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | doconsult(oracl) | ^ rumors.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | couldnt_open_file(filename) | ^ 11 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c save.c In file included from save.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ save.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | savegamestate(fd, mode) | ^ save.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | tricked_fileremoved(fd, whynot) | ^ save.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | savelev(fd, lev, mode) | ^ save.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | savelevl(fd, rlecomp) | ^ save.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | bufon(fd) | ^ save.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | bufoff(fd) | ^ save.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | bflush(fd) | ^ save.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | bwrite(fd, loc, num) | ^ save.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | bclose(fd) | ^ save.c:685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | def_bufon(fd) | ^ save.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | def_bufoff(fd) | ^ save.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | def_bflush(fd) | ^ save.c:722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | def_bwrite(fd, loc, num) | ^ save.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | def_bclose(fd) | ^ save.c:920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | savelevchn(fd, mode) | ^ save.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | savecemetery(fd, mode, cemeteryaddr) | ^ save.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | savedamage(fd, mode) | ^ save.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | saveobj(fd, otmp) | ^ save.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | saveobjchn(fd, otmp, mode) | ^ save.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | savemon(fd, mtmp) | ^ save.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | savemonchn(fd, mtmp, mode) | ^ save.c:1156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | savetrapchn(fd, trap, mode) | ^ save.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | savefruitchn(fd, mode) | ^ save.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | store_plname_in_file(fd) | ^ save.c:1218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | save_msghistory(fd, mode) | ^ save.c:1248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1248 | store_savefileinfo(fd) | ^ save.c:1270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | set_savepref(suitename) | ^ 28 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c shk.c In file included from shk.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ shk.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | money2mon(mon, amount) | ^ shk.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | money2u(mon, amount) | ^ shk.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | next_shkp(shkp, withbill) | ^ shk.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | shkgone(mtmp) | ^ shk.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | set_residency(shkp, zero_out) | ^ shk.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | replshk(mtmp, mtmp2) | ^ shk.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | restshk(shkp, ghostly) | ^ shk.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | clear_unpaid_obj(shkp, otmp) | ^ shk.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | clear_unpaid(shkp, list) | ^ shk.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | setpaid(shkp) | ^ shk.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | addupbill(shkp) | ^ shk.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | call_kops(shkp, nearshop) | ^ shk.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | inside_shop(x, y) | ^ shk.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | u_left_shop(leavestring, newlev) | ^ shk.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | remote_burglary(x, y) | ^ shk.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | rob_shop(shkp) | ^ shk.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | deserted_shop(enterstring) | ^ shk.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | u_entered_shop(enterstring) | ^ shk.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | pick_pick(obj) | ^ shk.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | same_price(obj1, obj2) | ^ shk.c:753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | shop_debt(eshkp) | ^ shk.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | inhishop(mtmp) | ^ shk.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | shop_keeper(rmno) | ^ shk.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | tended_shop(sroom) | ^ shk.c:855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | onbill(obj, shkp, silent) | ^ shk.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | is_unpaid(obj) | ^ shk.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | delete_contents(obj) | ^ shk.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | obfree(obj, merge) | ^ shk.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | check_credit(tmp, shkp) | ^ shk.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | pay(tmp, shkp) | ^ shk.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | home_shk(shkp, killkops) | ^ shk.c:1065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | pacify_shk(shkp) | ^ shk.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | rile_shk(shkp) | ^ shk.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | rouse_shk(shkp, verbosely) | ^ shk.c:1119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | make_happy_shk(shkp, silentkops) | ^ shk.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | make_happy_shoppers(silentkops) | ^ shk.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | hot_pursuit(shkp) | ^ shk.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | make_angry_shk(shkp, ox, oy) | ^ shk.c:1217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | cheapest_item(shkp) | ^ shk.c:1580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1580 | dopayobj(shkp, bp, obj_p, which, itemize) | ^ shk.c:1695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1695 | paybill(croaked, silently) | ^ shk.c:1783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1783 | inherits(shkp, numsk, croaked, silently) | ^ shk.c:1889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | set_repo_loc(shkp) | ^ shk.c:1943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1943 | bp_to_obj(bp) | ^ shk.c:1962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1962 | find_oid(id) | ^ shk.c:1995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1995 | get_cost_of_shop_item(obj, nochrg) | ^ shk.c:2031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2031 | get_pricing_units(obj) | ^ shk.c:2050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2050 | oid_price_adjustment(obj, oid) | ^ shk.c:2065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | get_cost(obj, shkp) | ^ shk.c:2176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2176 | contained_cost(obj, shkp, price, usell, unpaid_only) | ^ shk.c:2227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2227 | contained_gold(obj) | ^ shk.c:2244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2244 | dropped_container(obj, shkp, sale) | ^ shk.c:2265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2265 | picked_container(obj) | ^ shk.c:2284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2284 | special_stock(obj, shkp, quietly) | ^ shk.c:2324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2324 | set_cost(obj, shkp) | ^ shk.c:2375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2375 | gem_learned(oindx) | ^ shk.c:2415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2415 | alter_cost(obj, amt) | ^ shk.c:2438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2438 | unpaid_cost(unp_obj, include_contents) | ^ shk.c:2472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2472 | add_one_tobill(obj, dummy, shkp) | ^ shk.c:2514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2514 | add_to_billobjs(obj) | ^ shk.c:2529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2529 | bill_box_content(obj, ininv, dummy, shkp) | ^ shk.c:2552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2552 | shk_names_obj(shkp, obj, fmt, amt, arg) | ^ shk.c:2588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2588 | billable(shkpp, obj, roomno, reset_nocharge) | ^ shk.c:2626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2626 | addtobill(obj, ininv, dummy, silent) | ^ shk.c:2729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2729 | append_honorific(buf) | ^ shk.c:2750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2750 | splitbill(obj, otmp) | ^ shk.c:2789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2789 | sub_one_frombill(obj, shkp) | ^ shk.c:2831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2831 | subfrombill(obj, shkp) | ^ shk.c:2852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2852 | stolen_container(obj, shkp, price, ininv) | ^ shk.c:2892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2892 | stolen_value(obj, x, y, peaceful, silent) | ^ shk.c:3010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3010 | sellobj_state(deliberate) | ^ shk.c:3025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3025 | sellobj(obj, x, y) | ^ shk.c:3310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3310 | doinvbill(mode) | ^ shk.c:3390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3390 | getprice(obj, shk_buying) | ^ shk.c:3433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3433 | shkcatch(obj, x, y) | ^ shk.c:3466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3466 | add_damage(x, y, cost) | ^ shk.c:3514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3514 | remove_damage(shkp, croaked) | ^ shk.c:3652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3652 | repair_damage(shkp, tmp_dam, once, catchup) | ^ shk.c:3821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3821 | shk_move(shkp) | ^ shk.c:3935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3935 | after_shk_move(shkp) | ^ shk.c:3949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3949 | is_fshk(mtmp) | ^ shk.c:3957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3957 | shopdig(fall) | ^ shk.c:4052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4052 | makekops(mm) | ^ shk.c:4078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4078 | pay_for_damage(dmgstr, cant_mollify) | ^ shk.c:4260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4260 | costly_spot(x, y) | ^ shk.c:4279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4279 | shop_object(x, y) | ^ shk.c:4300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4300 | price_quote(first_obj) | ^ shk.c:4355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4355 | shk_embellish(itm, cost) | ^ shk.c:4408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4408 | shk_chat(shkp) | ^ shk.c:4484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4484 | kops_gone(silent) | ^ shk.c:4504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4504 | cost_per_charge(shkp, otmp, altusage) | ^ shk.c:4563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4563 | check_unpaid_usage(otmp, altusage) | ^ shk.c:4612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4612 | check_unpaid(otmp) | ^ shk.c:4619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4619 | costly_gold(x, y, amount) | ^ shk.c:4656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4656 | block_door(x, y) | ^ shk.c:4691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4691 | block_entry(x, y) | ^ shk.c:4727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4727 | shk_your(buf, obj) | ^ shk.c:4737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4737 | Shk_Your(buf, obj) | ^ shk.c:4747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4747 | shk_owns(buf, obj) | ^ shk.c:4764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4764 | mon_owns(buf, obj) | ^ shk.c:4774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4774 | cad(altusage) | ^ shk.c:4842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4842 | globby_bill_fixup(obj_absorber, obj_absorbed) | ^ 103 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c shknam.c In file included from shknam.c:8: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ shknam.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | veggy_item(obj, otyp) | ^ shknam.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | mkveggy_at(sx, sy) | ^ shknam.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | mkshobj_at(shp, sx, sy, mkspecl) | ^ shknam.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | nameshk(shk, nlp) | ^ shknam.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | neweshk(mtmp) | ^ shknam.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | free_eshk(mtmp) | ^ shknam.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | shkinit(shp, sroom) | ^ shknam.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | stock_room_goodpos(sroom, rmno, sh, sx, sy) | ^ shknam.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | stock_room(shp_indx, sroom) | ^ shknam.c:782:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | saleable(shkp, obj) | ^ shknam.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | get_shop_item(type) | ^ shknam.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | Shknam(mtmp) | ^ shknam.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | shkname(mtmp) | ^ shknam.c:881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | shkname_is_pname(mtmp) | ^ shknam.c:890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | is_izchak(shkp, override_hallucination) | ^ 16 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c sit.c In file included from sit.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c sounds.c In file included from sounds.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ sounds.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | mon_in_room(mon, rmtyp) | ^ sounds.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | growl_sound(mtmp) | ^ sounds.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | growl(mtmp) | ^ sounds.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | yelp(mtmp) | ^ sounds.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | whimper(mtmp) | ^ sounds.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | beg(mtmp) | ^ sounds.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | mon_is_gecko(mon) | ^ sounds.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | domonnoise(mtmp) | ^ 9 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c sp_lev.c In file included from sp_lev.c:12: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ sp_lev.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | splev_stack_init(st) | ^ sp_lev.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | splev_stack_done(st) | ^ sp_lev.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | splev_stack_push(st, v) | ^ sp_lev.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | splev_stack_pop(st) | ^ sp_lev.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | splev_stack_reverse(st) | ^ sp_lev.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | opvar_new_str(s) | ^ sp_lev.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | opvar_new_int(i) | ^ sp_lev.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | opvar_new_coord(x, y) | ^ sp_lev.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | opvar_free_x(ov) | ^ sp_lev.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | opvar_clone(ov) | ^ sp_lev.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | opvar_var_conversion(coder, ov) | ^ sp_lev.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | opvar_var_defined(coder, name) | ^ sp_lev.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | splev_stack_getdat(coder, typ) | ^ sp_lev.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | splev_stack_getdat_any(coder) | ^ sp_lev.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | variable_list_del(varlist) | ^ sp_lev.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | lvlfill_maze_grid(x1, y1, x2, y2, filling) | ^ sp_lev.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | lvlfill_solid(filling, lit) | ^ sp_lev.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | set_wall_property(x1, y1, x2, y2, prop) | ^ sp_lev.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | set_door_orientation(x, y) | ^ sp_lev.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | maybe_add_door(x, y, droom) | ^ sp_lev.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | get_location(x, y, humidity, croom) | ^ sp_lev.c:938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | is_ok_location(x, y, humidity) | ^ sp_lev.c:970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | get_unpacked_coord(loc, defhumidity) | ^ sp_lev.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | get_location_coord(x, y, humidity, croom, crd) | ^ sp_lev.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | get_room_loc(x, y, croom) | ^ sp_lev.c:1042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | get_free_room_loc(x, y, croom, pos) | ^ sp_lev.c:1064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | check_room(lowx, ddx, lowy, ddy, vault) | ^ sp_lev.c:1127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | create_room(x, y, w, h, xal, yal, rtype, rlit) | ^ sp_lev.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | create_subroom(proom, x, y, w, h, rtype, rlit) | ^ sp_lev.c:1346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | create_door(dd, broom) | ^ sp_lev.c:1452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1452 | create_secret_door(croom, walls) | ^ sp_lev.c:1500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | create_trap(t, croom) | ^ sp_lev.c:1529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1529 | noncoalignment(alignment) | ^ sp_lev.c:1542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | m_bad_boulder_spot(x, y) | ^ sp_lev.c:1563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | pm_to_humidity(pm) | ^ sp_lev.c:1581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1581 | create_monster(m, croom) | ^ sp_lev.c:1840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1840 | create_object(o, croom) | ^ sp_lev.c:2073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2073 | create_altar(a, croom) | ^ sp_lev.c:2131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2131 | replace_terrain(terr, croom) | ^ sp_lev.c:2159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2159 | search_door(croom, x, y, wall, cnt) | ^ sp_lev.c:2215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2215 | dig_corridor(org, dest, nxcor, ftyp, btyp) | ^ sp_lev.c:2374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2374 | create_corridor(c) | ^ sp_lev.c:2429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2429 | fill_room(croom, prefilled) | ^ sp_lev.c:2494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2494 | build_room(r, mkr) | ^ sp_lev.c:2528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2528 | light_region(tmpregion) | ^ sp_lev.c:2556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2556 | wallify_map(x1, y1, x2, y2) | ^ sp_lev.c:2592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2592 | maze1xy(m, humidity) | ^ sp_lev.c:2674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2674 | sp_level_loader(fd, lvl) | ^ sp_lev.c:2746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2746 | sp_level_free(lvl) | ^ sp_lev.c:2769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2769 | splev_initlev(linit) | ^ sp_lev.c:2801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2801 | frame_new(execptr) | ^ sp_lev.c:2816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2816 | frame_del(frame) | ^ sp_lev.c:2833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2833 | spo_frame_push(coder) | ^ sp_lev.c:2843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2843 | spo_frame_pop(coder) | ^ sp_lev.c:2856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2856 | sp_code_jmpaddr(curpos, jmpaddr) | ^ sp_lev.c:2863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2863 | spo_call(coder) | ^ sp_lev.c:2893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2893 | spo_return(coder) | ^ sp_lev.c:2924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2924 | spo_end_moninvent(coder) | ^ sp_lev.c:2934:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2934 | spo_pop_container(coder) | ^ sp_lev.c:2944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2944 | spo_message(coder) | ^ sp_lev.c:2975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2975 | spo_monster(coder) | ^ sp_lev.c:3119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3119 | spo_object(coder) | ^ sp_lev.c:3271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3271 | spo_level_flags(coder) | ^ sp_lev.c:3313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3313 | spo_initlevel(coder) | ^ sp_lev.c:3352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3352 | spo_engraving(coder) | ^ sp_lev.c:3371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3371 | spo_mineralize(coder) | ^ sp_lev.c:3391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3391 | spo_room(coder) | ^ sp_lev.c:3449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3449 | spo_endroom(coder) | ^ sp_lev.c:3473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3473 | spo_stair(coder) | ^ sp_lev.c:3495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3495 | spo_ladder(coder) | ^ sp_lev.c:3523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3523 | spo_grave(coder) | ^ sp_lev.c:3556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3556 | spo_altar(coder) | ^ sp_lev.c:3578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3578 | spo_trap(coder) | ^ sp_lev.c:3598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3598 | spo_gold(coder) | ^ sp_lev.c:3618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3618 | spo_corridor(coder) | ^ sp_lev.c:3647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3647 | selection_opvar(nbuf) | ^ sp_lev.c:3665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3665 | selection_getpoint(x, y, ov) | ^ sp_lev.c:3678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3678 | selection_setpoint(x, y, ov, c) | ^ sp_lev.c:3692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3692 | selection_not(s) | ^ sp_lev.c:3711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3711 | selection_logical_oper(s1, s2, oper) | ^ sp_lev.c:3743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3743 | selection_filter_mapchar(ov, mc) | ^ sp_lev.c:3778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3778 | selection_filter_percent(ov, percent) | ^ sp_lev.c:3793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3793 | selection_rndcoord(ov, x, y, removeit) | ^ sp_lev.c:3826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3826 | selection_do_grow(ov, dir) | ^ sp_lev.c:3872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3872 | set_selection_floodfillchk(f) | ^ sp_lev.c:3879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3879 | floodfillchk_match_under(x,y) | ^ sp_lev.c:3886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3886 | floodfillchk_match_accessible(x, y) | ^ sp_lev.c:3896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3896 | sel_flood_havepoint(x, y, xs, ys, n) | ^ sp_lev.c:3912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3912 | selection_floodfill(ov, x, y, diagonals) | ^ sp_lev.c:3974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3974 | selection_do_ellipse(ov, xc, yc, a, b, filled) | ^ sp_lev.c:4058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4058 | line_dist_coord(x1, y1, x2, y2, x3, y3) | ^ sp_lev.c:4086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4086 | selection_do_gradient(ov, x, y, x2, y2, gtyp, mind, maxd, limit) | ^ sp_lev.c:4137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4137 | selection_do_line(x1, y1, x2, y2, ov) | ^ sp_lev.c:4191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4191 | selection_do_randline(x1, y1, x2, y2, rough, rec, ov) | ^ sp_lev.c:4233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4233 | selection_iterate(ov, func, arg) | ^ sp_lev.c:4248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4248 | sel_set_ter(x, y, arg) | ^ sp_lev.c:4266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4266 | sel_set_feature(x, y, arg) | ^ sp_lev.c:4276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4276 | sel_set_door(dx, dy, arg) | ^ sp_lev.c:4296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4296 | spo_door(coder) | ^ sp_lev.c:4315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4315 | spo_feature(coder) | ^ sp_lev.c:4344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4344 | spo_terrain(coder) | ^ sp_lev.c:4363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4363 | spo_replace_terrain(coder) | ^ sp_lev.c:4393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4393 | generate_way_out_method(nx,ny, ov) | ^ sp_lev.c:4511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4511 | spo_levregion(coder) | ^ sp_lev.c:4594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4594 | spo_region(coder) | ^ sp_lev.c:4694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4694 | spo_drawbridge(coder) | ^ sp_lev.c:4718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4718 | spo_mazewalk(coder) | ^ sp_lev.c:4797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4797 | spo_wall_property(coder) | ^ sp_lev.c:4824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4824 | spo_room_door(coder) | ^ sp_lev.c:4850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4850 | sel_set_wallify(x, y, arg) | ^ sp_lev.c:4858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4858 | spo_wallify(coder) | ^ sp_lev.c:4892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4892 | spo_map(coder) | ^ sp_lev.c:5049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5049 | spo_jmp(coder, lvl) | ^ sp_lev.c:5066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5066 | spo_conditional_jump(coder, lvl) | ^ sp_lev.c:5114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5114 | spo_var_init(coder) | ^ sp_lev.c:5263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5263 | spo_shuffle_array(coder) | ^ sp_lev.c:5295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5295 | sp_level_coder(lvl) | ^ sp_lev.c:6026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6026 | load_special(name) | ^ 119 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c spell.c In file included from spell.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ spell.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | spell_let_to_idx(ilet) | ^ spell.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | cursed_book(bp) | ^ spell.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | confused_book(spellbook) | ^ spell.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | deadbook(book2) | ^ spell.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | book_cursed(book) | ^ spell.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | study_book(spellbook) | ^ spell.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | book_disappears(obj) | ^ spell.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | book_substitution(old_obj, new_obj) | ^ spell.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | getspell(spell_no) | ^ spell.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | spelltypemnemonic(skill) | ^ spell.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | spell_skilltype(booktype) | ^ spell.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | spell_backfire(spell) | ^ spell.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | spelleffects(spell, atme) | ^ spell.c:1217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | spell_aim_step(arg, x, y) | ^ spell.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | tport_spell(what) | ^ spell.c:1445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | spell_cmp(vptr1, vptr2) | ^ spell.c:1631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | dospellmenu(prompt, splaction, spell_no) | ^ spell.c:1713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | percent_success(spell) | ^ spell.c:1828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1828 | spellretention(idx, outbuf) | ^ spell.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1875 | initialspell(obj) | ^ 21 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c sys.c In file included from sys.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ sys.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | sysopt_seduce_set(val) | ^ 2 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c steal.c In file included from steal.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ steal.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | equipname(otmp) | ^ steal.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | somegold(lmoney) | ^ steal.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | findgold(chain) | ^ steal.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | stealgold(mtmp) | ^ steal.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | remove_worn_item(obj, unchain_ball) | ^ steal.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | steal(mtmp, objnambuf) | ^ steal.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | mpickobj(mtmp, otmp) | ^ steal.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | stealamulet(mtmp) | ^ steal.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | maybe_absorb_item(mon, obj, ochance, achance) | ^ steal.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | mdrop_obj(mon, obj, verbosely) | ^ steal.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | mdrop_special_objs(mon) | ^ steal.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | relobj(mtmp, show, is_pet) | ^ 13 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c steed.c In file included from steed.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ steed.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | can_saddle(mtmp) | ^ steed.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | use_saddle(otmp) | ^ steed.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | put_saddle_on_mon(saddle, mtmp) | ^ steed.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | can_ride(mtmp) | ^ steed.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | mount_steed(mtmp, force) | ^ steed.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | landing_spot(spot, reason, forceit) | ^ steed.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | dismount_steed(reason) | ^ steed.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | maybewakesteed(steed) | ^ steed.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | stucksteed(checkfeeding) | ^ steed.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | place_monster(mon, x, y) | ^ 11 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c teleport.c In file included from teleport.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ teleport.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | goodpos(x, y, mtmp, gpflags) | ^ teleport.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | enexto(cc, xx, yy, mdat) | ^ teleport.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | enexto_core(cc, xx, yy, mdat, entflags) | ^ teleport.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | tele_jump_ok(x1, y1, x2, y2) | ^ teleport.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | teleok(x, y, trapok) | ^ teleport.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | teleds(nux, nuy, allow_drag) | ^ teleport.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | safe_teleds(allow_drag) | ^ teleport.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | teleport_pet(mtmp, force_it) | ^ teleport.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | scrolltele(scroll) | ^ teleport.c:665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | dotele(break_the_rules) | ^ teleport.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | domagicportal(ttmp) | ^ teleport.c:1065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | tele_trap(trap) | ^ teleport.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | level_tele_trap(trap, trflags) | ^ teleport.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | rloc_pos_ok(x, y, mtmp) | ^ teleport.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | rloc_to(mtmp, x, y) | ^ teleport.c:1228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | rloc(mtmp, suppress_impossible) | ^ teleport.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | mvault_tele(mtmp) | ^ teleport.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | tele_restrict(mon) | ^ teleport.c:1306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | mtele_trap(mtmp, trap, in_sight) | ^ teleport.c:1340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | mlevel_tele_trap(mtmp, trap, force_it, in_sight) | ^ teleport.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | rloco(obj) | ^ teleport.c:1561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1561 | u_teleport_mon(mtmp, give_feedback) | ^ 23 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c timeout.c In file included from timeout.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ timeout.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | slimed_to_death(kptr) | ^ timeout.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | done_timeout(how, which) | ^ timeout.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | fall_asleep(how_long, wakeup_msg) | ^ timeout.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | attach_egg_hatch_timeout(egg, when) | ^ timeout.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | kill_egg(egg) | ^ timeout.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | hatch_egg(arg, timeout) | ^ timeout.c:967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | learn_egg_type(mnum) | ^ timeout.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | attach_fig_transform_timeout(figurine) | ^ timeout.c:1089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | see_lamp_flicker(obj, tailer) | ^ timeout.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | lantern_message(obj) | ^ timeout.c:1130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1130 | burn_object(arg, timeout) | ^ timeout.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | begin_burn(obj, already_lit) | ^ timeout.c:1534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1534 | end_burn(obj, timer_attached) | ^ timeout.c:1560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | cleanup_burn(arg, expire_time) | ^ timeout.c:1731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1731 | kind_name(kind) | ^ timeout.c:1748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1748 | print_queue(win, base) | ^ timeout.c:1887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1887 | start_timer(when, kind, func_index, arg) | ^ timeout.c:1939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1939 | stop_timer(func_index, arg) | ^ timeout.c:1964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1964 | peek_timer(type, arg) | ^ timeout.c:1981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1981 | obj_move_timers(src, dest) | ^ timeout.c:2002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2002 | obj_split_timers(src, dest) | ^ timeout.c:2021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2021 | obj_stop_timers(obj) | ^ timeout.c:2048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2048 | obj_has_timer(object, timer_type) | ^ timeout.c:2062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2062 | spot_stop_timers(x, y, func_index) | ^ timeout.c:2092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2092 | spot_time_expires(x, y, func_index) | ^ timeout.c:2108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2108 | spot_time_left(x, y, func_index) | ^ timeout.c:2118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2118 | insert_timer(gnu) | ^ timeout.c:2135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2135 | remove_timer(base, func_index, arg) | ^ timeout.c:2157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2157 | write_timer(fd, timer) | ^ timeout.c:2212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2212 | obj_is_local(obj) | ^ timeout.c:2236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2236 | mon_is_local(mon) | ^ timeout.c:2256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2256 | timer_is_local(timer) | ^ timeout.c:2278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2278 | maybe_write_timer(fd, range, write_it) | ^ timeout.c:2323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2323 | save_timers(fd, mode, range) | ^ timeout.c:2361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2361 | restore_timers(fd, range, ghostly, adjust) | ^ timeout.c:2385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2385 | timer_stats(hdrfmt, hdrbuf, count, size) | ^ timeout.c:2402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2402 | relink_timers(ghostly) | ^ 38 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c topten.c In file included from topten.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ topten.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | formatkiller(buf, siz, how, incl_helpless) | ^ topten.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | topten_print(x) | ^ topten.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | topten_print_bold(x) | ^ topten.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | observable_depth(lev) | ^ topten.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | discardexcess(rfile) | ^ topten.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | readentry(rfile, tt) | ^ topten.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | writeentry(rfile, tt) | ^ topten.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | writexlentry(rfile, tt, how) | ^ topten.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | free_ttlist(tt) | ^ topten.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | topten(how, when) | ^ topten.c:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | outentry(rank, t1, so) | ^ topten.c:961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | score_wanted(current_ver, rank, t1, playerct, players, uid) | ^ topten.c:1006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | prscore(argc, argv) | ^ topten.c:1154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | classmon(plch, fem) | ^ topten.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | tt_oname(otmp) | ^ 16 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c track.c In file included from track.c:7: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ track.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | gettrack(x, y) | ^ 2 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c trap.c In file included from trap.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ trap.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | burnarmor(victim) | ^ trap.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | erode_obj(otmp, ostr, type, ef_flags) | ^ trap.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | grease_protect(otmp, ostr, victim) | ^ trap.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | maketrap(x, y, typ) | ^ trap.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | fall_through(td, ftflags) | ^ trap.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | animate_statue(statue, x, y, cause, fail_reason) | ^ trap.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | activate_statue_trap(trap, x, y, shatter) | ^ trap.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | keep_saddle_with_steedcorpse(steed_mid, objchn, saddle) | ^ trap.c:811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | mu_maybe_destroy_web(mtmp, domsg, trap) | ^ trap.c:855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | t_missile(otyp, trap) | ^ trap.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | set_utrap(tim, typ) | ^ trap.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | reset_utrap(msg) | ^ trap.c:900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | dotrap(trap, trflags) | ^ trap.c:1566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1566 | trapnote(trap, noprefix) | ^ trap.c:1586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1586 | steedintrap(trap, otmp) | ^ trap.c:1670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1670 | blow_up_landmine(trap) | ^ trap.c:1715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1715 | launch_drop_spot(obj, x, y) | ^ trap.c:1755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1755 | launch_obj(otyp, x1, y1, x2, y2, style) | ^ trap.c:2020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2020 | seetrap(trap) | ^ trap.c:2031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2031 | feeltrap(trap) | ^ trap.c:2041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | mkroll_launch(ttmp, x, y, otyp, ocount) | ^ trap.c:2111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2111 | isclearpath(cc, distance, dx, dy) | ^ trap.c:2134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2134 | mintrap(mtmp) | ^ trap.c:2749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2749 | instapetrify(str) | ^ trap.c:2764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2764 | minstapetrify(mon, byplayer) | ^ trap.c:2791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2791 | selftouch(arg) | ^ trap.c:2819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2819 | mselftouch(mon, arg, byplayer) | ^ trap.c:2911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2911 | fill_pit(x, y) | ^ trap.c:2926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2926 | float_down(hmask, emask) | ^ trap.c:3125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3125 | dofiretrap(box) | ^ trap.c:3316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3316 | fire_damage(obj, force, x, y) | ^ trap.c:3406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3406 | fire_damage_chain(chain, force, here, x, y) | ^ trap.c:3427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3427 | lava_damage(obj, x, y) | ^ trap.c:3471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3471 | acid_damage(obj) | ^ trap.c:3522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3522 | water_damage(obj, ostr, force) | ^ trap.c:3669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3669 | water_damage_chain(obj, here) | ^ trap.c:3697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3697 | emergency_disrobe(lostsome) | ^ trap.c:3898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3898 | drain_en(n) | ^ trap.c:3946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3946 | untrap_prob(ttmp) | ^ trap.c:3977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3977 | cnv_trap_obj(otyp, cnt, ttmp, bury_it) | ^ trap.c:4008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4008 | move_into_trap(ttmp) | ^ trap.c:4050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4050 | try_disarm(ttmp, force_failure) | ^ trap.c:4135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4135 | reward_untrap(ttmp, mtmp) | ^ trap.c:4157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4157 | disarm_holdingtrap(ttmp) /* Helge Hafting */ | ^ trap.c:4190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4190 | disarm_landmine(ttmp) /* Helge Hafting */ | ^ trap.c:4208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4208 | disarm_squeaky_board(ttmp) | ^ trap.c:4243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4243 | disarm_shooting_trap(ttmp, otyp) | ^ trap.c:4259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4259 | try_lift(mtmp, ttmp, wt, stuff) | ^ trap.c:4284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4284 | help_monster_out(mtmp, ttmp) | ^ trap.c:4374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4374 | untrap(force) | ^ trap.c:4617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4617 | openholdingtrap(mon, noticed) | ^ trap.c:4709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4709 | closeholdingtrap(mon, noticed) | ^ trap.c:4754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4754 | openfallingtrap(mon, trapdoor_only, noticed) | ^ trap.c:4797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4797 | chest_trap(obj, bodypart, disarm) | ^ trap.c:4984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4984 | t_at(x, y) | ^ trap.c:4998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4998 | deltrap(trap) | ^ trap.c:5020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5020 | conjoined_pits(trap2, trap1, u_entering_trap2) | ^ trap.c:5049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5049 | clear_conjoined_pits(trap) | ^ trap.c:5073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5073 | adj_nonconjoined_pit(adjtrap) | ^ trap.c:5122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5122 | uteetering_at_seen_pit(trap) | ^ trap.c:5135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5135 | uescaped_shaft(trap) | ^ trap.c:5144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5144 | delfloortrap(ttmp) | ^ trap.c:5171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5171 | b_trapped(item, bodypart) | ^ trap.c:5190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5190 | thitm(tlev, mon, obj, d_override, nocorpse) | ^ 65 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c u_init.c In file included from u_init.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ u_init.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | knows_object(obj) | ^ u_init.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | knows_class(sym) | ^ u_init.c:911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | restricted_spell_discipline(otyp) | ^ u_init.c:971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | ini_inv(trop) | ^ 5 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c uhitm.c In file included from uhitm.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ uhitm.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | erode_armor(mdef, hurt) | ^ uhitm.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | attack_checks(mtmp, wep) | ^ uhitm.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | check_caitiff(mtmp) | ^ uhitm.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | find_roll_to_hit(mtmp, aatyp, weapon, attk_count, role_roll_penalty) | ^ uhitm.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | attack(mtmp) | ^ uhitm.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | known_hitum(mon, weapon, mhit, rollneeded, armorpenalty, uattk, dieroll) | ^ uhitm.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | hitum_cleave(target, uattk) | ^ uhitm.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | hitum(mon, uattk) | ^ uhitm.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | hmon(mon, obj, thrown, dieroll) | ^ uhitm.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | hmon_hitmon(mon, obj, thrown, dieroll) | ^ uhitm.c:1338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1338 | shade_aware(obj) | ^ uhitm.c:1363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | shade_miss(magr, mdef, obj, thrown, verbose) | ^ uhitm.c:1401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | m_slips_free(mdef, mattk) | ^ uhitm.c:1445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | joust(mon, obj) | ^ uhitm.c:1498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1498 | theft_petrifies(otmp) | ^ uhitm.c:1525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1525 | steal_it(mdef, mattk) | ^ uhitm.c:1630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | damageum(mdef, mattk, specialdmg) | ^ uhitm.c:2035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2035 | explum(mdef, mattk) | ^ uhitm.c:2088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | start_engulf(mdef) | ^ uhitm.c:2111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2111 | gulpum(mdef, mattk) | ^ uhitm.c:2329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2329 | missum(mdef, mattk, wouldhavehit) | ^ uhitm.c:2349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2349 | hmonas(mon) | ^ uhitm.c:2737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2737 | passive(mon, weapon, mhit, malive, aatyp, wep_was_destroyed) | ^ uhitm.c:2974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2974 | passive_obj(mon, obj, mattk) | ^ uhitm.c:3044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3044 | stumble_onto_mimic(mtmp) | ^ uhitm.c:3085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3085 | nohandglow(mon) | ^ uhitm.c:3107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3107 | flash_hits_mon(mtmp, otmp) | ^ uhitm.c:3146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3146 | light_hits_gremlin(mon, dmg) | ^ 29 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c vault.c In file included from vault.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ vault.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | newegd(mtmp) | ^ vault.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | free_egd(mtmp) | ^ vault.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | clear_fcorr(grd, forceshow) | ^ vault.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | blackout(x, y) | ^ vault.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | restfakecorr(grd) | ^ vault.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | parkguard(grd) | ^ vault.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | grddead(grd) | ^ vault.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | in_fcorridor(grd, x, y) | ^ vault.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | vault_occupied(array) | ^ vault.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | uleftvault(grd) | ^ vault.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | find_guard_dest(guard, rx, ry) | ^ vault.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | move_gold(gold, vroom) | ^ vault.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | wallify_vault(grd) | ^ vault.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | gd_mv_monaway(grd, nx, ny) | ^ vault.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | gd_pick_corridor_gold(grd, goldx, goldy) | ^ vault.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | gd_move(grd) | ^ vault.c:1069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | paygd(silently) | ^ vault.c:1140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1140 | vault_gd_watching(activity) | ^ 19 warnings generated. ./makedefs -z close: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 _far_: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c vision.c In file included from vision.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ vision.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | does_block(x, y, lev) | ^ vision.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | get_unused_cs(rows, rmin, rmax) | ^ vision.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | rogue_vision(next, rmin, rmax) | ^ vision.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | vision_recalc(control) | ^ vision.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | block_point(x, y) | ^ vision.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | unblock_point(x, y) | ^ vision.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | dig_point(row, col) | ^ vision.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | fill_point(row, col) | ^ vision.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | _q1_path(srow, scol, y2, x2) | ^ vision.c:1418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1418 | _q4_path(srow, scol, y2, x2) | ^ vision.c:1466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | _q2_path(srow, scol, y2, x2) | ^ vision.c:1514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | _q3_path(srow, scol, y2, x2) | ^ vision.c:1568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1568 | clear_path(col1, row1, col2, row2) | ^ vision.c:1645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1645 | close_shadow(side, this_row, block_row, block_col) | ^ vision.c:1678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1678 | far_shadow(side, this_row, block_row, block_col) | ^ vision.c:1724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1724 | right_side(row, cb_row, cb_col, fb_row, fb_col, left, right_mark, limits) | ^ vision.c:2002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2002 | left_side(row, cb_row, cb_col, fb_row, fb_col, left_mark, right, limits) | ^ vision.c:2204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2204 | view_from(srow, scol, loc_cs_rows, left_most, right_most, range, func, arg) | ^ vision.c:2747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2747 | do_clear_area(scol, srow, range, func, arg) | ^ vision.c:2791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2791 | howmonseen(mon) | ^ 21 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c vis_tab.c In file included from vis_tab.c:2: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c weapon.c In file included from weapon.c:11: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ weapon.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | give_may_advance_msg(skill) | ^ weapon.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | weapon_descr(obj) | ^ weapon.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | hitval(otmp, mon) | ^ weapon.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | dmgval(otmp, mon) | ^ weapon.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | special_dmgval(magr, mdef, armask, silverhit_p) | ^ weapon.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | silver_sears(magr, mdef, silverhit) | ^ weapon.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | oselect(mtmp, x) | ^ weapon.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | select_rwep(mtmp) | ^ weapon.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | monmightthrowwep(obj) | ^ weapon.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | select_hwep(mtmp) | ^ weapon.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | possibly_unwield(mon, polyspot) | ^ weapon.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | mon_wield_item(mon) | ^ weapon.c:874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | mwepgone(mon) | ^ weapon.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | wet_a_towel(obj, amt, verbose) | ^ weapon.c:984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | dry_a_towel(obj, amt, verbose) | ^ weapon.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | skill_level_name(skill, buf) | ^ weapon.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | skill_name(skill) | ^ weapon.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | slots_required(skill) | ^ weapon.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | can_advance(skill, speedy) | ^ weapon.c:1100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | could_advance(skill) | ^ weapon.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | peaked_skill(skill) | ^ weapon.c:1127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | skill_advance(skill) | ^ weapon.c:1300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | unrestrict_weapon_skill(skill) | ^ weapon.c:1311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | use_skill(skill, degree) | ^ weapon.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | add_weapon_skill(n) | ^ weapon.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | lose_weapon_skill(n) | ^ weapon.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | weapon_type(obj) | ^ weapon.c:1395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1395 | weapon_hit_bonus(weapon) | ^ weapon.c:1490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1490 | weapon_dam_bonus(weapon) | ^ weapon.c:1584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | skill_init(class_skill) | ^ weapon.c:1658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1658 | setmnotwielded(mon, obj) | ^ 32 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c were.c In file included from were.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ were.c:9:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | were_change(mon) | ^ were.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | counter_were(pm) | ^ were.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | were_beastie(pm) | ^ were.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | new_were(mon) | ^ were.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | were_summon(ptr, yours, visible, genbuf) | ^ were.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | you_unwere(purify) | ^ were.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | set_ulycn(which) | ^ 8 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c wield.c In file included from wield.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ wield.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | setuwep(obj) | ^ wield.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | cant_wield_corpse(obj) | ^ wield.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | ready_weapon(wep) | ^ wield.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | setuqwep(obj) | ^ wield.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | setuswapwep(obj) | ^ wield.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | wield_tool(obj, verb) | ^ wield.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | chwepon(otmp, amount) | ^ wield.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | welded(obj) | ^ wield.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | weldmsg(obj) | ^ wield.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | mwelded(obj) | ^ 11 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c windows.c In file included from windows.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ windows.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | def_raw_print(s) | ^ windows.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | choose_windows(s) | ^ windows.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | genl_message_menu(let, how, mesg) | ^ windows.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | genl_preference_update(pref) | ^ windows.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | genl_getmsghistory(init) | ^ windows.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | genl_putmsghistory(msg, is_restoring) | ^ windows.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | hup_exit_nhwindows(lastgasp) | ^ windows.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | hup_yn_function(prompt, resp, deflt) | ^ windows.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | hup_nh_poskey(x, y, mod) | ^ windows.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | hup_getlin(prompt, outbuf) | ^ windows.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | hup_init_nhwindows(argc_p, argv) | ^ windows.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | hup_create_nhwindow(type) | ^ windows.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | hup_select_menu(window, how, menu_list) | ^ windows.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | hup_add_menu(window, glyph, identifier, sel, grpsel, attr, txt, preselected) | ^ windows.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | hup_end_menu(window, prompt) | ^ windows.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | hup_putstr(window, attr, text) | ^ windows.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | hup_print_glyph(window, x, y, glyph, bkglyph) | ^ windows.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | hup_outrip(tmpwin, how, when) | ^ windows.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | hup_curs(window, x, y) | ^ windows.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | hup_display_nhwindow(window, blocking) | ^ windows.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | hup_display_file(fname, complain) | ^ windows.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | hup_cliparound(x, y) | ^ windows.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | hup_status_update(idx, ptr, chg, pc, color, colormasks) | ^ windows.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | hup_void_fdecl_int(arg) | ^ windows.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | hup_void_fdecl_winid(window) | ^ windows.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | hup_void_fdecl_constchar_p(string) | ^ windows.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | genl_status_enablefield(fieldidx, nm, fmt, enable) | ^ windows.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | genl_status_update(idx, ptr, chg, percent, color, colormasks) | ^ windows.c:1229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | dump_open_log(now) | ^ windows.c:1262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | dump_forward_putstr(win, attr, str, no_forward) | ^ windows.c:1276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | dump_putstr(win, attr, str) | ^ windows.c:1286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | dump_create_nhwindow(dummy) | ^ windows.c:1294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1294 | dump_clear_nhwindow(win) | ^ windows.c:1302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | dump_display_nhwindow(win, p) | ^ windows.c:1311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | dump_destroy_nhwindow(win) | ^ windows.c:1319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | dump_start_menu(win) | ^ windows.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | dump_add_menu(win, glyph, identifier, ch, gch, attr, str, preselected) | ^ windows.c:1347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1347 | dump_end_menu(win, str) | ^ windows.c:1360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | dump_select_menu(win, how, item) | ^ windows.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | dump_redirect(onoff_flag) | ^ windows.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | has_color(color) | ^ 42 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c wizard.c In file included from wizard.c:11: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ wizard.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | mon_has_amulet(mtmp) | ^ wizard.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | mon_has_special(mtmp) | ^ wizard.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | which_arti(mask) | ^ wizard.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | mon_has_arti(mtmp, otyp) | ^ wizard.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | other_mon_has_arti(mtmp, otyp) | ^ wizard.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | on_ground(otyp) | ^ wizard.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | you_have(mask) | ^ wizard.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | target_on(mask, mtmp) | ^ wizard.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | strategy(mtmp) | ^ wizard.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | choose_stairs(sx, sy) | ^ wizard.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | tactics(mtmp) | ^ wizard.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | has_aggravatables(mon) | ^ wizard.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | nasty(summoner) | ^ wizard.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | cuss(mtmp) | ^ 15 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c worm.c In file included from worm.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ worm.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | initworm(worm, wseg_count) | ^ worm.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | toss_wsegs(curr, display_update) | ^ worm.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | shrink_worm(wnum) | ^ worm.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | worm_move(worm) | ^ worm.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | worm_nomove(worm) | ^ worm.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | wormgone(worm) | ^ worm.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | wormhitu(worm) | ^ worm.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | cutworm(worm, x, y, cuttier) | ^ worm.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | see_wsegs(worm) | ^ worm.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | detect_wsegs(worm, use_detection_glyph) | ^ worm.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | save_worm(fd, mode) | ^ worm.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | rest_worm(fd) | ^ worm.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | place_wsegs(worm, oldworm) | ^ worm.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | sanity_check_worm(worm) | ^ worm.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | remove_worm(worm) | ^ worm.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | place_worm_tail_randomly(worm, x, y) | ^ worm.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | random_dir(x, y, nx, ny) | ^ worm.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | size_wseg(worm) | ^ worm.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | count_wsegs(mtmp) | ^ worm.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | create_worm_tail(num_segs) | ^ worm.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | worm_known(worm) | ^ worm.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | worm_cross(x1, y1, x2, y2) | ^ worm.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | wseg_at(worm, x, y) | ^ 24 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c worn.c In file included from worn.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ worn.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | setworn(obj, mask) | ^ worn.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | setnotworn(obj) | ^ worn.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | wearmask_to_obj(wornmask) | ^ worn.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | wearslot(obj) | ^ worn.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | mon_set_minvis(mon) | ^ worn.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | mon_adjust_speed(mon, adjust, obj) | ^ worn.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | update_mon_intrinsics(mon, obj, on, silently) | ^ worn.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | find_mac(mon) | ^ worn.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | m_dowear(mon, creation) | ^ worn.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | m_dowear_type(mon, flag, creation, racialexception) | ^ worn.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | which_armor(mon, flag) | ^ worn.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | m_lose_armor(mon, obj) | ^ worn.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | bypass_obj(obj) | ^ worn.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | bypass_objlist(objchain, on) | ^ worn.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | nxt_unbypassed_obj(objchain) | ^ worn.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | nxt_unbypassed_loot(lootarray, listhead) | ^ worn.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | mon_break_armor(mon, polyspot) | ^ worn.c:991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | extra_pref(mon, obj) | ^ worn.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | racial_exception(mon, obj) | ^ 20 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c write.c In file included from write.c:4: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ write.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | cost(otmp) | ^ write.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | label_known(scrolltype, objlist) | ^ write.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | dowrite(pen) | ^ write.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | new_book_description(booktype, outbuf) | ^ 5 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c zap.c In file included from zap.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ zap.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | learnwand(obj) | ^ zap.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | bhitm(mtmp, otmp) | ^ zap.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | probe_monster(mtmp) | ^ zap.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | get_obj_location(obj, xp, yp, locflags) | ^ zap.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | get_mon_location(mon, xp, yp, locflags) | ^ zap.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | montraits(obj, cc, adjacentok) | ^ zap.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | get_container_location(obj, loc, container_nesting) | ^ zap.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | revive(corpse, by_hero) | ^ zap.c:947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | revive_egg(obj) | ^ zap.c:961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | unturn_dead(mon) | ^ zap.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | cancel_item(obj) | ^ zap.c:1102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | drain_item(obj, by_you) | ^ zap.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | obj_resists(obj, ochance, achance) | ^ zap.c:1198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | obj_shudders(obj) | ^ zap.c:1228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | polyuse(objhdr, mat, minwt) | ^ zap.c:1271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | create_polymon(obj, okind) | ^ zap.c:1364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1364 | do_osshock(obj) | ^ zap.c:1421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | poly_obj(obj, id) | ^ zap.c:1692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | stone_to_flesh_obj(obj) | ^ zap.c:1816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1816 | bhito(obj, otmp) | ^ zap.c:2090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2090 | bhitpile(obj, fhito, tx, ty, zz) | ^ zap.c:2134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2134 | zappable(wand) | ^ zap.c:2150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2150 | zapnodir(obj) | ^ zap.c:2202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2202 | backfire(otmp) | ^ zap.c:2271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2271 | zapyourself(obj, ordinary) | ^ zap.c:2603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2603 | ubreatheu(mattk) | ^ zap.c:2614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2614 | lightdamage(obj, ordinary, amt) | ^ zap.c:2648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2648 | flashburn(duration) | ^ zap.c:2666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2666 | zap_steed(obj) | ^ zap.c:2730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2730 | cancel_monst(mdef, obj, youattack, allow_cancel_kill, self_cancel) | ^ zap.c:2810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2810 | zap_updown(obj) | ^ zap.c:3029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3029 | weffects(obj) | ^ zap.c:3080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3080 | spell_damage_bonus(dmg) | ^ zap.c:3109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3109 | spell_hit_bonus(skill) | ^ zap.c:3148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3148 | exclam(force) | ^ zap.c:3158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3158 | hit(str, mtmp, force) | ^ zap.c:3172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3172 | miss(str, mtmp) | ^ zap.c:3184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3184 | skiprange(range, skipstart, skipend) | ^ zap.c:3218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3218 | bhit(ddx, ddy, range, weapon, fhitm, fhito, pobj) | ^ zap.c:3522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3522 | boomhit(obj, dx, dy) | ^ zap.c:3602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3602 | zhitm(mon, type, nd, ootmp) | ^ zap.c:3764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3764 | zhitu(type, nd, fltxt, sx, sy) | ^ zap.c:3905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3905 | burn_floor_objects(x, y, give_feedback, u_caused) | ^ zap.c:3963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3963 | zap_hit(ac, type) | ^ zap.c:3981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3981 | disintegrate_mon(mon, type, fltxt) | ^ zap.c:4026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4026 | buzz(type, nd, sx, sy, dx, dy) | ^ zap.c:4044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4044 | dobuzz(type, nd, sx, sy, dx, dy, say) | ^ zap.c:4315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4315 | melt_ice(x, y, msg) | ^ zap.c:4370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4370 | start_melt_ice_timeout(x, y, min_time) | ^ zap.c:4401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4401 | melt_ice_away(arg, timeout) | ^ zap.c:4424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4424 | zap_over_floor(x, y, type, shopdamage, exploding_wand_typ) | ^ zap.c:4720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4720 | fracture_rock(obj) | ^ zap.c:4760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4760 | break_statue(obj) | ^ zap.c:4811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4811 | destroy_one_item(obj, osym, dmgtyp) | ^ zap.c:4958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4958 | destroy_item(osym, dmgtyp) | ^ zap.c:5040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5040 | destroy_mitem(mtmp, osym, dmgtyp) | ^ zap.c:5160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5160 | resist(mtmp, oclass, damage, tell) | ^ zap.c:5228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5228 | wishcmdassist(triesleft) | ^ 59 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o posixregex.o ../sys/share/posixregex.c In file included from ../sys/share/posixregex.c:5: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o ioctl.o ../sys/share/ioctl.c In file included from ../sys/share/ioctl.c:10: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o unixmain.o ../sys/unix/unixmain.c In file included from ../sys/unix/unixmain.c:8: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../sys/unix/unixmain.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | main(argc, argv) | ^ ../sys/unix/unixmain.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | process_options(argc, argv) | ^ ../sys/unix/unixmain.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | chdirx(dir, wr) | ^ ../sys/unix/unixmain.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | sethanguphandler(handler) | ^ ../sys/unix/unixmain.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | append_slash(name) | ^ ../sys/unix/unixmain.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | check_user_string(optstr) | ^ 7 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o unixtty.o ../sys/share/unixtty.c In file included from ../sys/share/unixtty.c:13: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../sys/share/unixtty.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | speednum(speed) | ^ ../sys/share/unixtty.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | settty(s) | ^ 3 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o unixunix.o ../sys/unix/unixunix.c In file included from ../sys/unix/unixunix.c:8: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../sys/unix/unixunix.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | veryold(fd) | ^ ../sys/unix/unixunix.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | regularize(s) | ^ ../sys/unix/unixunix.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | child(wt) | ^ 4 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o unixres.o ../sys/unix/unixres.c In file included from ../sys/unix/unixres.c:17: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o getline.o ../win/tty/getline.c In file included from ../win/tty/getline.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/tty/getline.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | tty_getlin(query, bufp) | ^ ../win/tty/getline.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | hooked_tty_getlin(query, bufp, hook) | ^ ../win/tty/getline.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | xwaitforspace(s) | ^ ../win/tty/getline.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | ext_cmd_getlin_hook(base) | ^ 5 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o termcap.o ../win/tty/termcap.c In file included from ../win/tty/termcap.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/tty/termcap.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | tty_startup(wid, hgt) | ^ ../win/tty/termcap.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | tty_number_pad(state) | ^ ../win/tty/termcap.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | nocmov(x, y) | ^ ../win/tty/termcap.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | cmov(x, y) | ^ ../win/tty/termcap.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | xputc(c) | ^ ../win/tty/termcap.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | xputs(s) | ^ ../win/tty/termcap.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | s_atr2str(n) | ^ ../win/tty/termcap.c:1184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | e_atr2str(n) | ^ ../win/tty/termcap.c:1209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | term_attr_fixup(msk) | ^ ../win/tty/termcap.c:1230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | term_start_attr(attr) | ^ ../win/tty/termcap.c:1242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | term_end_attr(attr) | ^ ../win/tty/termcap.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | term_start_color(color) | ^ 13 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o topl.o ../win/tty/topl.c In file included from ../win/tty/topl.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/tty/topl.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | redotoplin(str) | ^ ../win/tty/topl.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | show_topl(str) | ^ ../win/tty/topl.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | addtopl(s) | ^ ../win/tty/topl.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | update_topl(bp) | ^ ../win/tty/topl.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | topl_putsym(c) | ^ ../win/tty/topl.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | putsyms(str) | ^ ../win/tty/topl.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | removetopl(n) | ^ ../win/tty/topl.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | tty_yn_function(query, resp, def) | ^ ../win/tty/topl.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | msghistory_snapshot(purge) | ^ ../win/tty/topl.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | free_msghistory_snapshot(purged) | ^ ../win/tty/topl.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | tty_getmsghistory(init) | ^ ../win/tty/topl.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | tty_putmsghistory(msg, restoring_msghist) | ^ 13 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o wintty.o ../win/tty/wintty.c In file included from ../win/tty/wintty.c:15: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/tty/wintty.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | bail(mesg) | ^ ../win/tty/wintty.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | winch_handler(sig_unused) /* signal handler is called with at least 1 arg */ | ^ ../win/tty/wintty.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | tty_init_nhwindows(argcp, argv) | ^ ../win/tty/wintty.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | tty_preference_update(pref) | ^ ../win/tty/wintty.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | setup_rolemenu(win, filtering, race, gend, algn) | ^ ../win/tty/wintty.c:1126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1126 | setup_racemenu(win, filtering, role, gend, algn) | ^ ../win/tty/wintty.c:1159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | setup_gendmenu(win, filtering, role, race, algn) | ^ ../win/tty/wintty.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | setup_algnmenu(win, filtering, role, race, gend) | ^ ../win/tty/wintty.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | tty_suspend_nhwindows(str) | ^ ../win/tty/wintty.c:1373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1373 | tty_exit_nhwindows(str) | ^ ../win/tty/wintty.c:1417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1417 | tty_create_nhwindow(type) | ^ ../win/tty/wintty.c:1531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | erase_menu_or_text(window, cw, clear) | ^ ../win/tty/wintty.c:1551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1551 | free_window_info(cw, free_data) | ^ ../win/tty/wintty.c:1599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1599 | tty_clear_nhwindow(window) | ^ ../win/tty/wintty.c:1656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1656 | toggle_menu_curr(window, curr, lineno, in_view, counting, count) | ^ ../win/tty/wintty.c:1695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1695 | dmore(cw, s) | ^ ../win/tty/wintty.c:1716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | set_item_state(window, lineno, item) | ^ ../win/tty/wintty.c:1732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | set_all_on_page(window, page_start, page_end) | ^ ../win/tty/wintty.c:1747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1747 | unset_all_on_page(window, page_start, page_end) | ^ ../win/tty/wintty.c:1763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | invert_all_on_page(window, page_start, page_end, acc) | ^ ../win/tty/wintty.c:1786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1786 | invert_all(window, page_start, page_end, acc) | ^ ../win/tty/wintty.c:1817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1817 | toggle_menu_attr(on, color, attr) | ^ ../win/tty/wintty.c:1841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1841 | process_menu_window(window, cw) | ^ ../win/tty/wintty.c:2212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2212 | process_text_window(window, cw) | ^ ../win/tty/wintty.c:2291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2291 | tty_display_nhwindow(window, blocking) | ^ ../win/tty/wintty.c:2386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2386 | tty_dismiss_nhwindow(window) | ^ ../win/tty/wintty.c:2432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2432 | tty_destroy_nhwindow(window) | ^ ../win/tty/wintty.c:2453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2453 | tty_curs(window, x, y) | ^ ../win/tty/wintty.c:2554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2554 | tty_putsym(window, x, y, ch) | ^ ../win/tty/wintty.c:2587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2587 | compress_str(str) | ^ ../win/tty/wintty.c:2618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2618 | tty_putstr(window, attr, str) | ^ ../win/tty/wintty.c:2795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2795 | tty_display_file(fname, complain) | ^ ../win/tty/wintty.c:2889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2889 | tty_start_menu(window) | ^ ../win/tty/wintty.c:2902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2902 | tty_add_menu(window, glyph, identifier, ch, gch, attr, str, preselected) | ^ ../win/tty/wintty.c:2957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2957 | reverse(curr) | ^ ../win/tty/wintty.c:2978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2978 | tty_end_menu(window, prompt) | ^ ../win/tty/wintty.c:3089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3089 | tty_select_menu(window, how, menu_list) | ^ ../win/tty/wintty.c:3133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3133 | tty_message_menu(let, how, mesg) | ^ ../win/tty/wintty.c:3205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3205 | docorner(xmin, ymax) | ^ ../win/tty/wintty.c:3277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3277 | g_putch(in_ch) | ^ ../win/tty/wintty.c:3326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3326 | tty_cliparound(x, y) | ^ ../win/tty/wintty.c:3364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3364 | tty_print_glyph(window, x, y, glyph, bkglyph) | ^ ../win/tty/wintty.c:3443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3443 | tty_raw_print(str) | ^ ../win/tty/wintty.c:3459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3459 | tty_raw_print_bold(str) | ^ ../win/tty/wintty.c:3543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3543 | tty_nh_poskey(x, y, mod) | ^ ../win/tty/wintty.c:3574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3574 | win_tty_init(dir) | ^ ../win/tty/wintty.c:3776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3776 | tty_status_enablefield(fieldidx, nm, fmt, enable) | ^ ../win/tty/wintty.c:3845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3845 | tty_status_update(fldidx, ptr, chg, percent, color, colormasks) | ^ ../win/tty/wintty.c:3968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3968 | make_things_fit(force_update) | ^ ../win/tty/wintty.c:4032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4032 | check_fields(forcefields, sz) | ^ ../win/tty/wintty.c:4183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4183 | tty_putstatusfield(text, x, y) | ^ ../win/tty/wintty.c:4242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4242 | shrink_enc(lvl) | ^ ../win/tty/wintty.c:4254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4254 | shrink_dlvl(lvl) | ^ ../win/tty/wintty.c:4293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4293 | condcolor(bm, bmarray) | ^ ../win/tty/wintty.c:4315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4315 | condattr(bm, bmarray) | ^ 56 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o cursmain.o ../win/curses/cursmain.c In file included from ../win/curses/cursmain.c:7: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o curswins.o ../win/curses/curswins.c In file included from ../win/curses/curswins.c:7: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o cursmisc.o ../win/curses/cursmisc.c In file included from ../win/curses/cursmisc.c:7: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/curses/cursmisc.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | curses_fmt_attrs(outbuf) | ^ ../win/curses/cursmisc.c:1031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | curses_mouse_support(mode) | ^ 3 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o cursdial.o ../win/curses/cursdial.c In file included from ../win/curses/cursdial.c:7: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o cursstat.o ../win/curses/cursstat.c In file included from ../win/curses/cursstat.c:7: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/curses/cursstat.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | curses_status_update(fldidx, ptr, chg, percent, color_and_attr, colormasks) | ^ ../win/curses/cursstat.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | draw_horizontal(border) | ^ ../win/curses/cursstat.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | draw_vertical(border) | ^ ../win/curses/cursstat.c:1234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | condcolor(bm, bmarray) | ^ ../win/curses/cursstat.c:1250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | condattr(bm, bmarray) | ^ ../win/curses/cursstat.c:1286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | nhattr2curses(attrmask) | ^ 7 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o cursinit.o ../win/curses/cursinit.c In file included from ../win/curses/cursinit.c:7: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o cursmesg.o ../win/curses/cursmesg.c In file included from ../win/curses/cursmesg.c:7: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/curses/cursmesg.c:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | curses_getmsghistory(init) | ^ ../win/curses/cursmesg.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | curses_putmsghistory(msg, restoring_msghist) | ^ 3 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o cursinvt.o ../win/curses/cursinvt.c In file included from ../win/curses/cursinvt.c:7: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o Window.o ../win/X11/Window.c In file included from ../win/X11/Window.c:34: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/X11/Window.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | no_op(w, event, params, num_params) | ^ ../win/X11/Window.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | Redisplay(w, event, region) | ^ ../win/X11/Window.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | Resize(w) | ^ ../win/X11/Window.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | WindowFont(w) | ^ In file included from ../win/X11/Window.c:32: In file included from ../include/xwindowp.h:8: ../include/xwindow.h:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | extern Font WindowFont(/* Widget */); | ^ ../win/X11/Window.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | WindowFontStruct(w) | ^ In file included from ../win/X11/Window.c:32: In file included from ../include/xwindowp.h:8: ../include/xwindow.h:79:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | extern XFontStruct *WindowFontStruct(/* Widget */); | ^ 8 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o dialogs.o ../win/X11/dialogs.c In file included from ../win/X11/dialogs.c:80: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/X11/dialogs.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | CreateDialog(parent, name, okay_callback, cancel_callback) | ^ ../win/X11/dialogs.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | SetDialogPrompt(w, newprompt) | ^ ../win/X11/dialogs.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | GetDialogResponse(w) | ^ ../win/X11/dialogs.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | SetDialogResponse(w, s, ln) | ^ ../win/X11/dialogs.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | positionpopup(w, bottom) | ^ 6 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o winX.o ../win/X11/winX.c In file included from ../win/X11/winX.c:49: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/X11/winX.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | X11_putmsghistory(msg, is_restoring) | ^ ../win/X11/winX.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | X11_getmsghistory(init) | ^ ../win/X11/winX.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | find_widget(w) | ^ ../win/X11/winX.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | get_nhcolor(wp, clr) | ^ ../win/X11/winX.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | init_menu_nhcolors(wp) | ^ ../win/X11/winX.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | nhApproxColor(screen, colormap, str, color) | ^ ../win/X11/winX.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | nhCvtStringToPixel(dpy, args, num_args, fromVal, toVal, closure_ret) | ^ ../win/X11/winX.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | get_window_frame_extents(w, top, bottom, left, right) | ^ ../win/X11/winX.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | get_widget_window_geometry(w, x,y, width, height) | ^ ../win/X11/winX.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | fontname_boldify(fontname) | ^ ../win/X11/winX.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | load_boldfont(wp, w) | ^ ../win/X11/winX.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | nhFreePixel(app, toVal, closure, args, num_args) | ^ ../win/X11/winX.c:710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | nhFontHeight(w) | ^ ../win/X11/winX.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | new_resource_macro(inbuf, numdefs) | ^ ../win/X11/winX.c:900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | X11_raw_print(str) | ^ ../win/X11/winX.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | X11_raw_print_bold(str) | ^ ../win/X11/winX.c:914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | X11_curs(window, x, y) | ^ ../win/X11/winX.c:934:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | X11_putstr(window, attr, str) | ^ ../win/X11/winX.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | X11_nh_poskey(x, y, mod) | ^ ../win/X11/winX.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | X11_create_nhwindow(type) | ^ ../win/X11/winX.c:1105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1105 | X11_clear_nhwindow(window) | ^ ../win/X11/winX.c:1132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | X11_display_nhwindow(window, blocking) | ^ ../win/X11/winX.c:1196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | X11_destroy_nhwindow(window) | ^ ../win/X11/winX.c:1315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | X11_suspend_nhwindows(str) | ^ ../win/X11/winX.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | X11_number_pad(state) /* called from options.c */ | ^ ../win/X11/winX.c:1466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | panic_on_error(display, error) | ^ ../win/X11/winX.c:1481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | X11_init_nhwindows(argcp, argv) | ^ ../win/X11/winX.c:1586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1586 | X11_exit_nhwindows(dummy) | ^ ../win/X11/winX.c:1617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | X11_sig(sig) /* Unix signal handler */ | ^ ../win/X11/winX.c:1625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1625 | X11_sig_cb(not_used, id) | ^ ../win/X11/winX.c:1655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1655 | d_timeout(client_data, id) | ^ ../win/X11/winX.c:1696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1696 | X11_hangup(w, event, params, num_params) | ^ ../win/X11/winX.c:1714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1714 | askname_delete(w, event, params, num_params) | ^ ../win/X11/winX.c:1732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | askname_done(w, client_data, call_data) | ^ ../win/X11/winX.c:1815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1815 | done_button(w, client_data, call_data) | ^ ../win/X11/winX.c:1844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1844 | getline_delete(w, event, params, num_params) | ^ ../win/X11/winX.c:1862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | abort_button(w, client_data, call_data) | ^ ../win/X11/winX.c:1887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1887 | X11_getlin(question, input) | ^ ../win/X11/winX.c:1938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1938 | X11_display_file(str, complain) | ^ ../win/X11/winX.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2003 | key_event_to_char(key) | ^ ../win/X11/winX.c:2025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | yn_delete(w, event, params, num_params) | ^ ../win/X11/winX.c:2047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2047 | yn_key(w, event, params, num_params) | ^ ../win/X11/winX.c:2130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2130 | X11_yn_function(ques, choices, def) | ^ ../win/X11/winX.c:2273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2273 | X11_preference_update(pref) | ^ ../win/X11/winX.c:2289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2289 | input_event(exit_condition) | ^ ../win/X11/winX.c:2304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2304 | msgkey(w, data, event) | ^ ../win/X11/winX.c:2320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2320 | win_visible(w, data, event, flag) | ^ ../win/X11/winX.c:2344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2344 | highlight_yn(init) | ^ ../win/X11/winX.c:2575:46: warning: incompatible function pointer types passing 'XtErrorHandler' (aka 'void (*)(char *)') to parameter of type 'void (*)(String) __attribute__((noreturn))' (aka 'void (*)(char *) __attribute__((noreturn))') [-Wincompatible-function-pointer-types] 2575 | (void) XtAppSetErrorHandler(app_context, (XtErrorHandler) hangup); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/X11R6/include/X11/Intrinsic.h:1781:1: note: passing argument to parameter here 1781 | ); | ^ ../win/X11/winX.c:2584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2584 | nh_XtPopup(w, g, childwid) | ^ ../win/X11/winX.c:2596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2596 | nh_XtPopdown(w) | ^ ../win/X11/winX.c:2605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2605 | win_X11_init(dir) | ^ ../win/X11/winX.c:2628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2628 | find_scrollbars(w, horiz, vert) | ^ ../win/X11/winX.c:2646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2646 | nh_keyscroll(viewport, event, params, num_params) | ^ 55 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o winmap.o ../win/X11/winmap.c In file included from ../win/X11/winmap.c:39: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/X11/winmap.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | X11_print_glyph(window, x, y, glyph, bkglyph) | ^ ../win/X11/winmap.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | X11_cliparound(x, y) | ^ ../win/X11/winmap.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | init_annotation(annotation, filename, colorpixel) | ^ ../win/X11/winmap.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | init_tiles(wp) | ^ ../win/X11/winmap.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | check_cursor_visibility(wp) | ^ ../win/X11/winmap.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | map_check_size_change(wp) | ^ ../win/X11/winmap.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | set_gc(w, font, resource_name, bgpixel, regular, inverse) | ^ ../win/X11/winmap.c:814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | get_text_gc(wp, font) | ^ ../win/X11/winmap.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | display_cursor(wp) | ^ ../win/X11/winmap.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | display_map_window(wp) | ^ ../win/X11/winmap.c:920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | map_all_stone(map_info) | ^ ../win/X11/winmap.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | clear_map_window(wp) | ^ ../win/X11/winmap.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | get_char_info(wp) | ^ ../win/X11/winmap.c:975:26: warning: passing arguments to 'WindowFontStruct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | fs = WindowFontStruct(wp->w); | ^ ../win/X11/winmap.c:1016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | map_input(w, event, params, num_params) | ^ ../win/X11/winmap.c:1058:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | (*input_func)(w, event, params, num_params); | ^ ../win/X11/winmap.c:1116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1116 | set_button_values(w, x, y, button) | ^ ../win/X11/winmap.c:1152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | map_exposed(w, client_data, widget_data) | ^ ../win/X11/winmap.c:1238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | map_update(wp, start_row, stop_row, start_col, stop_col, inverted) | ^ ../win/X11/winmap.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | set_map_size(wp, cols, rows) | ^ ../win/X11/winmap.c:1433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | init_text(wp) | ^ ../win/X11/winmap.c:1446:31: warning: passing arguments to 'WindowFont' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | get_text_gc(wp, WindowFont(wp->w)); | ^ ../win/X11/winmap.c:1461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | create_map_window(wp, create_popup, parent) | ^ ../win/X11/winmap.c:1591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1591 | destroy_map_window(wp) | ^ ../win/X11/winmap.c:1652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1652 | x_event(exit_condition) | ^ 26 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o winmenu.o ../win/X11/winmenu.c In file included from ../win/X11/winmenu.c:35: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/X11/winmenu.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | menu_size_change_handler(w, ptr, event, flag) | ^ ../win/X11/winmenu.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | menu_select(w, client_data, call_data) | ^ ../win/X11/winmenu.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | menu_delete(w, event, params, num_params) | ^ ../win/X11/winmenu.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | invert_line(wp, curr, which, how_many) | ^ ../win/X11/winmenu.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | menu_key(w, event, params, num_params) | ^ ../win/X11/winmenu.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | menu_ok(w, client_data, call_data) | ^ ../win/X11/winmenu.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | menu_cancel(w, client_data, call_data) | ^ ../win/X11/winmenu.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | menu_all(w, client_data, call_data) | ^ ../win/X11/winmenu.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | menu_none(w, client_data, call_data) | ^ ../win/X11/winmenu.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | menu_invert(w, client_data, call_data) | ^ ../win/X11/winmenu.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | menu_search(w, client_data, call_data) | ^ ../win/X11/winmenu.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | search_menu(wp) | ^ ../win/X11/winmenu.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | select_all(wp) | ^ ../win/X11/winmenu.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | select_none(wp) | ^ ../win/X11/winmenu.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | invert_all(wp) | ^ ../win/X11/winmenu.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | invert_match(wp, match) | ^ ../win/X11/winmenu.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | select_match(wp, match) | ^ ../win/X11/winmenu.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | menu_popdown(wp) | ^ ../win/X11/winmenu.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | X11_start_menu(window) | ^ ../win/X11/winmenu.c:631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | X11_add_menu(window, glyph, identifier, ch, gch, attr, str, preselected) | ^ ../win/X11/winmenu.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | X11_end_menu(window, query) | ^ ../win/X11/winmenu.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | X11_select_menu(window, how, menu_list) | ^ ../win/X11/winmenu.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | copy_of(s) | ^ ../win/X11/winmenu.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | menu_create_buttons(wp, form, under) | ^ ../win/X11/winmenu.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | menu_create_entries(wp, curr_menu) | ^ ../win/X11/winmenu.c:1217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | destroy_menu_entry_widgets(wp) | ^ ../win/X11/winmenu.c:1242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | move_menu(src_menu, dest_menu) | ^ ../win/X11/winmenu.c:1252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | free_menu_line_entries(mp) | ^ ../win/X11/winmenu.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | free_menu(mp) | ^ ../win/X11/winmenu.c:1278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | reset_menu_to_default(mp) | ^ ../win/X11/winmenu.c:1289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | clear_old_menu(wp) | ^ ../win/X11/winmenu.c:1306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | create_menu_window(wp) | ^ ../win/X11/winmenu.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | destroy_menu_window(wp) | ^ 34 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o winmesg.o ../win/X11/winmesg.c In file included from ../win/X11/winmesg.c:35: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/X11/winmesg.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | set_message_slider(wp) | ^ ../win/X11/winmesg.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | create_message_window(wp, create_popup, parent) | ^ ../win/X11/winmesg.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | destroy_message_window(wp) | ^ ../win/X11/winmesg.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | display_message_window(wp) | ^ ../win/X11/winmesg.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | append_message(wp, str) | ^ ../win/X11/winmesg.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | get_previous(mark) | ^ ../win/X11/winmesg.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | set_circle_buf(mesg_info, count) | ^ ../win/X11/winmesg.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | split(s, fs, pixel_width) | ^ ../win/X11/winmesg.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | add_line(mesg_info, s) | ^ ../win/X11/winmesg.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | set_last_pause(wp) | ^ ../win/X11/winmesg.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | redraw_message_window(wp) | ^ ../win/X11/winmesg.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | mesg_check_size_change(wp) | ^ ../win/X11/winmesg.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | mesg_exposed(w, client_data, widget_data) | ^ ../win/X11/winmesg.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | get_gc(w, mesg_info) | ^ ../win/X11/winmesg.c:583:29: warning: passing arguments to 'WindowFont' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | values.font = WindowFont(w); | ^ ../win/X11/winmesg.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | mesg_resized(w, client_data, call_data) | ^ 17 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o winmisc.o ../win/X11/winmisc.c In file included from ../win/X11/winmisc.c:37: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/X11/winmisc.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | i2xtp(i) | ^ ../win/X11/winmisc.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | xtp2i(x) | ^ ../win/X11/winmisc.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | ps_quit(w, client_data, call_data) | ^ ../win/X11/winmisc.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | ps_random(w, client_data, call_data) | ^ ../win/X11/winmisc.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | ps_select(w, client_data, call_data) | ^ ../win/X11/winmisc.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | ps_key(w, event, params, num_params) | ^ ../win/X11/winmisc.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | race_key(w, event, params, num_params) | ^ ../win/X11/winmisc.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | gend_key(w, event, params, num_params) | ^ ../win/X11/winmisc.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | algn_key(w, event, params, num_params) | ^ ../win/X11/winmisc.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | plsel_quit(w, event, params, num_params) | ^ ../win/X11/winmisc.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | plsel_play(w, event, params, num_params) | ^ ../win/X11/winmisc.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | plsel_randomize(w, event, params, num_params) | ^ ../win/X11/winmisc.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | plsel_set_play_button(state) | ^ ../win/X11/winmisc.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | plsel_set_sensitivities(setcurr) | ^ ../win/X11/winmisc.c:632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | racetoggleCallback(w, client, call) | ^ ../win/X11/winmisc.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | roletoggleCallback(w, client, call) | ^ ../win/X11/winmisc.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | gendertoggleCallback(w, client, call) | ^ ../win/X11/winmisc.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | aligntoggleCallback(w, client, call) | ^ ../win/X11/winmisc.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | plsel_random_btn_callback(w, client, call) | ^ ../win/X11/winmisc.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | plsel_play_btn_callback(w, client, call) | ^ ../win/X11/winmisc.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | plsel_quit_btn_callback(w, client, call) | ^ ../win/X11/winmisc.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | X11_create_player_selection_name(form) | ^ ../win/X11/winmisc.c:1632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1632 | extend_select(w, client_data, call_data) | ^ ../win/X11/winmisc.c:1660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | extend_dismiss(w, client_data, call_data) | ^ ../win/X11/winmisc.c:1673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1673 | extend_help(w, client_data, call_data) | ^ ../win/X11/winmisc.c:1687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | ec_delete(w, event, params, num_params) | ^ ../win/X11/winmisc.c:1702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1702 | popup_delete(w, event, params, num_params) | ^ ../win/X11/winmisc.c:1732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | ec_scroll_to_view(ec_indx) | ^ ../win/X11/winmisc.c:1836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1836 | ignore_extcmd(idx) | ^ ../win/X11/winmisc.c:1852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1852 | ec_key(w, event, params, num_params) | ^ ../win/X11/winmisc.c:2026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2026 | make_menu(popup_name, popup_label, popup_translations, left_name, | ^ 32 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o winstat.o ../win/X11/winstat.c In file included from ../win/X11/winstat.c:36: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/X11/winstat.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | condcolor(bm, bmarray) | ^ ../win/X11/winstat.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | condattr(bm, bmarray) | ^ ../win/X11/winstat.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | X11_status_enablefield(fieldidx, nm, fmt, enable) | ^ ../win/X11/winstat.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | cond_bm2idx(bm) | ^ ../win/X11/winstat.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | MaybeDisplayCond(bm, colormasks, text) | ^ ../win/X11/winstat.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | X11_status_update_tty(fld, ptr, chg, percent, color, colormasks) | ^ ../win/X11/winstat.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | X11_status_update_fancy(fld, ptr, chg, percent, color, colormasks) | ^ ../win/X11/winstat.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | X11_status_update(fld, ptr, chg, percent, color, colormasks) | ^ ../win/X11/winstat.c:596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | create_tty_status(parent, top) | ^ ../win/X11/winstat.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | create_status_window_tty(wp, create_popup, parent) | ^ ../win/X11/winstat.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | destroy_status_window_tty(wp) | ^ ../win/X11/winstat.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | adjust_status_tty(wp, str) | ^ ../win/X11/winstat.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | create_status_window(wp, create_popup, parent) | ^ ../win/X11/winstat.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | destroy_status_window(wp) | ^ ../win/X11/winstat.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | adjust_status(wp, str) | ^ ../win/X11/winstat.c:782:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | create_status_window_fancy(wp, create_popup, parent) | ^ ../win/X11/winstat.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | destroy_status_window_fancy(wp) | ^ ../win/X11/winstat.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | adjust_status_fancy(wp, str) | ^ ../win/X11/winstat.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | hilight_label(w) | ^ ../win/X11/winstat.c:1054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | update_val(attr_rec, new_value) | ^ ../win/X11/winstat.c:1277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1277 | update_fancy_status_field(i) | ^ ../win/X11/winstat.c:1429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | update_fancy_status(wp) | ^ ../win/X11/winstat.c:1470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | width_string(sv_index) | ^ ../win/X11/winstat.c:1534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1534 | create_widget(parent, sv, sv_index) | ^ ../win/X11/winstat.c:1581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1581 | get_widths(sv, width1p, width2p) | ^ ../win/X11/winstat.c:1606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | set_widths(sv, width1, width2) | ^ ../win/X11/winstat.c:1628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | init_column(name, parent, top, left, col_indices) | ^ ../win/X11/winstat.c:1724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1724 | init_info_form(parent, top, left) | ^ ../win/X11/winstat.c:1822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1822 | create_fancy_status(parent, top) | ^ ../win/X11/winstat.c:1859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1859 | destroy_fancy_status(wp) | ^ 31 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o wintext.o ../win/X11/wintext.c In file included from ../win/X11/wintext.c:31: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/X11/wintext.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | delete_text(w, event, params, num_params) | ^ ../win/X11/wintext.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | dismiss_text(w, event, params, num_params) | ^ ../win/X11/wintext.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | key_dismiss_text(w, event, params, num_params) | ^ ../win/X11/wintext.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | add_to_text_window(wp, attr, str) | ^ ../win/X11/wintext.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | display_text_window(wp, blocking) | ^ ../win/X11/wintext.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | create_text_window(wp) | ^ ../win/X11/wintext.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | destroy_text_window(wp) | ^ ../win/X11/wintext.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | clear_text_window(wp) | ^ ../win/X11/wintext.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | append_text_buffer(tb, str, concat) | ^ ../win/X11/wintext.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | init_text_buffer(tb) | ^ ../win/X11/wintext.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | clear_text_buffer(tb) | ^ ../win/X11/wintext.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | free_text_buffer(tb) | ^ 13 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c -o winval.o ../win/X11/winval.c In file included from ../win/X11/winval.c:28: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/X11/winval.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | create_value(parent, name_value) | ^ ../win/X11/winval.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | set_name(w, new_label) | ^ ../win/X11/winval.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | set_name_width(w, new_width) | ^ ../win/X11/winval.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | get_name_width(w) | ^ ../win/X11/winval.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | set_value(w, new_value) | ^ ../win/X11/winval.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | set_value_width(w, new_width) | ^ ../win/X11/winval.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | get_value_width(w) | ^ ../win/X11/winval.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | hilight_value(w) | ^ ../win/X11/winval.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | swap_fg_bg(w) | ^ 10 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c ../win/share/tilemap.c In file included from ../win/share/tilemap.c:11: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/share/tilemap.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | process_substitutions(ofp) | ^ ../win/share/tilemap.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | acceptable_tilename(idx, encountered, expected) | ^ 3 warnings generated. cc -L/usr/X11R6/lib -o tilemap tilemap.o ld: warning: tilemap.c(tilemap.o:(main)): warning: sprintf() is often misused, please use snprintf() ./tilemap cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c tile.c In file included from tile.c:3: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ tile.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | substitute_tiles(plev) | ^ 2 warnings generated. /bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' ../util/makedefs -v cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c version.c In file included from version.c:6: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ version.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | version_string(buf) | ^ version.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | getversionstring(buf) | ^ version.c:174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | void early_version_info(pastebuf) | ^ version.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | insert_rtoption(buf) | ^ version.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | check_version(version_data, filename, complain) | ^ version.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | uptodate(fd, name) | ^ version.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | store_version(fd) | ^ version.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | get_feature_notice_ver(str) | ^ version.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | copyright_banner_line(indx) | ^ 10 warnings generated. Linking nethack. cc -L/usr/X11R6/lib -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 cursmain.o curswins.o cursmisc.o cursdial.o cursstat.o cursinit.o cursmesg.o cursinvt.o Window.o dialogs.o winX.o winmap.o winmenu.o winmesg.o winmisc.o winstat.o wintext.o winval.o tile.o version.o -lcurses -lncurses -lXaw -lXmu -lXext -lXt -lX11 ld: warning: apply.c(apply.o:(use_stone)): warning: sprintf() is often misused, please use snprintf() ld: warning: apply.c(apply.o:(fig_transform)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: apply.c(apply.o:(doapply)): warning: strcat() is almost always misused, please use strlcat() nethack is up to date. ( cd util ; /usr/bin/make recover ) `../include/date.h' is up to date. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c recover.c In file included from recover.c:15: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ recover.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | main(argc, argv) | ^ recover.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | set_levelfile_name(lev) | ^ recover.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | open_levelfile(lev) | ^ recover.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | copy_bytes(ifd, ofd) | ^ recover.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | restore_savefile(basename) | ^ 6 warnings generated. cc -L/usr/X11R6/lib -o recover recover.o ld: warning: recover.c(recover.o:(restore_savefile)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: recover.c(recover.o:(restore_savefile)): warning: sprintf() is often misused, please use snprintf() ( cd doc ; /usr/bin/make Guidebook ) cat Guidebook.mn | ../util/makedefs --grep --input - --output - | tbl tmac.n - | nroff -c -Tascii | col -bx > Guidebook ( cd dat ; /usr/bin/make bogusmon ) /bin/sh: tbl: not found /bin/sh: nroff: not found ../util/makedefs -s ( cd dat ; /usr/bin/make data ) ../util/makedefs -d ( cd dat ; /usr/bin/make engrave ) `engrave' is up to date. ( cd dat ; /usr/bin/make epitaph ) `epitaph' is up to date. ( cd dat ; /usr/bin/make oracles ) ../util/makedefs -h ( cd dat ; /usr/bin/make options ) `options' is up to date. ( cd dat ; /usr/bin/make quest.dat ) ../util/makedefs -q ( cd dat ; /usr/bin/make rumors ) ../util/makedefs -r ( cd util ; /usr/bin/make tile2x11 ) cp ../win/share/tile.h ../include/tile.h cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c ../win/X11/tile2x11.c In file included from ../win/X11/tile2x11.c:13: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/X11/tile2x11.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | pix_to_colormap(pix) | ^ ../win/X11/tile2x11.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | convert_tiles(tb_ptr, total) | ^ ../win/X11/tile2x11.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | process_file(fname) | ^ ../win/X11/tile2x11.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | main(argc, argv) | ^ 5 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c ../win/share/tiletext.c In file included from ../win/share/tiletext.c:5: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ ../win/share/tiletext.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | set_grayscale(g) | ^ ../win/share/tiletext.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | read_text_colormap(txtfile) | ^ ../win/share/tiletext.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | write_text_colormap(txtfile) | ^ ../win/share/tiletext.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | read_txttile(txtfile, pixels) | ^ ../win/share/tiletext.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | write_txttile(txtfile, pixels) | ^ ../win/share/tiletext.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | fopen_text_file(filename, type) | ^ ../win/share/tiletext.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | read_text_tile(pixels) | ^ ../win/share/tiletext.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | write_text_tile(pixels) | ^ 9 warnings generated. echo '#define TILETEXT' >> tiletxt.c echo '#include "../win/share/tilemap.c"' >> tiletxt.c cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c tiletxt.c In file included from tiletxt.c:5: In file included from ./../win/share/tilemap.c:11: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ In file included from tiletxt.c:5: ./../win/share/tilemap.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | tilename(set, entry) | ^ ./../win/share/tilemap.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | acceptable_tilename(idx, encountered, expected) | ^ 3 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c panic.c In file included from panic.c:12: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. cc -L/usr/X11R6/lib -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 ld: warning: tiletxt.c(tiletxt.o:(tilename)): warning: sprintf() is often misused, please use snprintf() ld: warning: alloc.c(../src/alloc.o:(dupstr)): warning: strcpy() is almost always misused, please use strlcpy() ( cd dat ; /usr/bin/make x11tiles ) ../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 ( cd dat ; /usr/bin/make pet_mark.xbm ) cp ../win/X11/pet_mark.xbm pet_mark.xbm ( cd dat ; /usr/bin/make rip.xpm ) cp ../win/X11/rip.xpm rip.xpm ( cd dat ; /usr/bin/make pilemark.xbm ) cp ../win/X11/pilemark.xbm pilemark.xbm ( cd util ; /usr/bin/make dgn_comp ) yacc -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 `../include/date.h' is up to date. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c dgn_yacc.c In file included from dgn_comp.y:25: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ dgn_comp.y:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | getchain(s) | ^ 2 warnings generated. lex 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 cc -c -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -DWEIRD_LEX=`egrep -c _cplusplus dgn_lex.c` dgn_lex.c In file included from dgn_comp.l:9: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ dgn_comp.l:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | init_yyin( input_f ) | ^ dgn_comp.l:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | init_yyout( output_f ) | ^ 3 warnings generated. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c dgn_main.c In file included from dgn_main.c:11: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ dgn_main.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | main(argc, argv) | ^ dgn_main.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | yyerror(s) | ^ dgn_main.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | yywarning(s) | ^ 4 warnings generated. cc -L/usr/X11R6/lib -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o ld: warning: alloc.c(../src/alloc.o:(fmt_ptr)): warning: sprintf() is often misused, please use snprintf() ld: warning: alloc.c(../src/alloc.o:(dupstr)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: dgn_main.c(dgn_main.o:(main)): warning: strcat() is almost always misused, please use strlcat() ( cd dat ; /usr/bin/make dungeon ) ../util/makedefs -e ../util/dgn_comp dungeon.pdf ( cd util ; /usr/bin/make lev_comp ) yacc -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 cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c lev_yacc.c In file included from lev_comp.y:25: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 1 warning generated. lex 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 cc -c -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -DWEIRD_LEX=`egrep -c _cplusplus lev_lex.c` lev_lex.c In file included from lev_comp.l:8: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ lev_comp.l:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | init_yyin( input_f ) | ^ lev_comp.l:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | init_yyout( output_f ) | ^ lev_comp.l:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | savetoken(s) | ^ lev_comp.l:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | advancepos(s) | ^ 5 warnings generated. `../include/date.h' is up to date. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c lev_main.c In file included from lev_main.c:12: In file included from ../include/hack.h:10: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ lev_main.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | main(argc, argv) | ^ lev_main.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | yyerror(s) | ^ lev_main.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | yywarning(s) | ^ lev_main.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | decode_parm_chr(chr) | ^ lev_main.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | decode_parm_str(str) | ^ lev_main.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | set_opvar_int(ov, val) | ^ lev_main.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | set_opvar_coord(ov, val) | ^ lev_main.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | set_opvar_region(ov, val) | ^ lev_main.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | set_opvar_mapchar(ov, val) | ^ lev_main.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | set_opvar_monst(ov, val) | ^ lev_main.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | set_opvar_obj(ov, val) | ^ lev_main.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | set_opvar_str(ov, val) | ^ lev_main.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | set_opvar_var(ov, val) | ^ lev_main.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | break_stmt_end(splev) | ^ lev_main.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | break_stmt_new(splev, i) | ^ lev_main.c:780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | funcdef_new(addr, name) | ^ lev_main.c:803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | funcdef_free_all(fchain) | ^ lev_main.c:825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | funcdef_paramtypes(f) | ^ lev_main.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | funcdef_defined(f, name, casesense) | ^ lev_main.c:862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | vardef_new(typ, name) | ^ lev_main.c:881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | vardef_free_all(fchain) | ^ lev_main.c:898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | vardef_defined(f, name, casesense) | ^ lev_main.c:917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | spovar2str(spovar) | ^ lev_main.c:963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | vardef_used(vd, varname) | ^ lev_main.c:974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | check_vardef_type(vd, varname, vartype) | ^ lev_main.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | add_vardef_type(vd, varname, vartype) | ^ lev_main.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | reverse_jmp_opcode(opcode) | ^ lev_main.c:1039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | opvar_clone(ov) | ^ lev_main.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | splev_add_from(splev, from_splev) | ^ lev_main.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | start_level_def(splev, ldfname) | ^ lev_main.c:1125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1125 | get_floor_type(c) | ^ lev_main.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | get_room_type(s) | ^ lev_main.c:1159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | get_trap_type(s) | ^ lev_main.c:1175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1175 | get_monster_id(s, c) | ^ lev_main.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | get_object_id(s, c) | ^ lev_main.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | check_monster_char(c) | ^ lev_main.c:1268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1268 | check_object_char(c) | ^ lev_main.c:1278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | what_map_char(c) | ^ lev_main.c:1332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1332 | add_opcode(sp, opc, dat) | ^ lev_main.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | scan_map(map, sp) | ^ lev_main.c:1460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1460 | write_common_data(fd) | ^ lev_main.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | write_maze(fd, maze) | ^ lev_main.c:1554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1554 | write_level_file(filename, lvl) | ^ lev_main.c:1591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1591 | case_insensitive_comp(s1, s2) | ^ 45 warnings generated. cc -L/usr/X11R6/lib -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 ld: warning: lev_yacc.c(lev_yacc.o:(yyparse)): warning: sprintf() is often misused, please use snprintf() ld: warning: lev_main.c(lev_main.o:(lc_vpline)): warning: vsprintf() is often misused, please use vsnprintf() ld: warning: alloc.c(../src/alloc.o:(dupstr)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: lev_main.c(lev_main.o:(decode_parm_str)): warning: strcat() is almost always misused, please use strlcat() ( cd dat ; /usr/bin/make spec_levs ) ../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 ( cd dat ; /usr/bin/make quest_levs ) ../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 color, data file compression, data librarian, insurance files for ( cd src ; /usr/bin/make ) nethack is up to date. ( cd util ; /usr/bin/make dgn_comp ) `../include/date.h' is up to date. `dgn_comp' is up to date. ( cd dat ; /usr/bin/make dungeon ) `dungeon' is up to date. ( cd util ; /usr/bin/make lev_comp ) `../include/date.h' is up to date. `lev_comp' is up to date. ( cd dat ; /usr/bin/make spec_levs ) `spec_levs' is up to date. ( cd dat ; /usr/bin/make quest_levs ) `quest_levs' is up to date. ( cd dat ; /usr/bin/make bogusmon ) `bogusmon' is up to date. ( cd dat ; /usr/bin/make data ) `data' is up to date. ( cd dat ; /usr/bin/make engrave ) `engrave' is up to date. ( cd dat ; /usr/bin/make epitaph ) `epitaph' is up to date. ( cd dat ; /usr/bin/make oracles ) `oracles' is up to date. ( cd dat ; /usr/bin/make options ) `options' is up to date. ( cd dat ; /usr/bin/make quest.dat ) `quest.dat' is up to date. ( cd dat ; /usr/bin/make rumors ) `rumors' is up to date. ( cd util ; /usr/bin/make dlb ) `../include/date.h' is up to date. cc -O2 -pipe -I../include -DNOTPARMDECL -DDLB -DSECURE -DHACKDIR=\"/usr/local/lib/nethackdir-3.6.0\" -DSYSCF -DSYSCF_FILE=\"/usr/local/lib/nethackdir-3.6.0/sysconf\" -DVISION_TABLES -DNOUSER_SOUNDS -DTIMED_DELAY -DNOMAIL -DCURSES_GRAPHICS -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DX11_GRAPHICS -I/usr/X11R6/include -c dlb_main.c In file included from dlb_main.c:8: In file included from ../include/config.h:581: In file included from ../include/global.h:136: In file included from ../include/unixconf.h:322: ../include/system.h:358:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 358 | E unsigned sleep(); | ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ dlb_main.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | Write(out, buf, len) | ^ dlb_main.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | eos(s) | ^ dlb_main.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | fopen_datafile(filename, mode) | ^ dlb_main.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | main(argc, argv) | ^ dlb_main.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | grow_ld(ld_p, ldlimit_p, alloc_incr) | ^ dlb_main.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | write_dlb_directory(out, nfiles, ld, slen, dir_size, flen) | ^ dlb_main.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | xexit(retcd) | ^ 8 warnings generated. cc -L/usr/X11R6/lib -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o ld: warning: dlb_main.c(dlb_main.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: dlb_main.c(dlb_main.o:(write_dlb_directory)): warning: sprintf() is often misused, please use snprintf() ( 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 ) true; Done. >>> Running package in games/nethack/3.6 at 1764614487.25 ===> games/nethack/3.6 ===> Faking installation for nethack-3.6.6p1 ( cd src ; /usr/bin/make ) nethack is up to date. ( cd util ; /usr/bin/make recover ) `../include/date.h' is up to date. `recover' is up to date. ( cd dat ; /usr/bin/make bogusmon ) `bogusmon' is up to date. ( cd dat ; /usr/bin/make data ) `data' is up to date. ( cd dat ; /usr/bin/make engrave ) `engrave' is up to date. ( cd dat ; /usr/bin/make epitaph ) `epitaph' is up to date. ( cd dat ; /usr/bin/make oracles ) `oracles' is up to date. ( cd dat ; /usr/bin/make options ) `options' is up to date. ( cd dat ; /usr/bin/make quest.dat ) `quest.dat' is up to date. ( cd dat ; /usr/bin/make rumors ) `rumors' is up to date. ( cd util ; /usr/bin/make tile2x11 ) `tile2x11' is up to date. ( cd dat ; /usr/bin/make x11tiles ) `x11tiles' is up to date. ( cd dat ; /usr/bin/make pet_mark.xbm ) `pet_mark.xbm' is up to date. ( cd dat ; /usr/bin/make rip.xpm ) `rip.xpm' is up to date. ( cd dat ; /usr/bin/make pilemark.xbm ) `pilemark.xbm' is up to date. ( cd util ; /usr/bin/make dgn_comp ) `../include/date.h' is up to date. `dgn_comp' is up to date. ( cd dat ; /usr/bin/make dungeon ) `dungeon' is up to date. ( cd util ; /usr/bin/make lev_comp ) `../include/date.h' is up to date. `lev_comp' is up to date. ( cd dat ; /usr/bin/make spec_levs ) `spec_levs' is up to date. ( cd dat ; /usr/bin/make quest_levs ) `quest_levs' is up to date. true; if test -n '/exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/bin'; then mkdir -p /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/bin; fi rm -rf /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 mkdir -p /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0/save if test -d ./-p; then rmdir ./-p; fi true /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0/save chgrp _nethack36 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0/save chmod 0755 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 chmod 0755 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0/save ( /usr/bin/make dofiles ) target=`sed -n -e '/librarian/{' -e 's/.*/dlb/p' -e 'q' -e '}' -e '$s/.*/nodlb/p' < dat/options` ; /usr/bin/make dofiles-${target-nodlb} ( cd src ; /usr/bin/make ) nethack is up to date. ( cd dat ; /usr/bin/make options ) `options' is up to date. color, data file compression, data librarian, insurance files for ( cd src ; /usr/bin/make ) nethack is up to date. ( cd util ; /usr/bin/make dgn_comp ) `../include/date.h' is up to date. `dgn_comp' is up to date. ( cd dat ; /usr/bin/make dungeon ) `dungeon' is up to date. ( cd util ; /usr/bin/make lev_comp ) `../include/date.h' is up to date. `lev_comp' is up to date. ( cd dat ; /usr/bin/make spec_levs ) `spec_levs' is up to date. ( cd dat ; /usr/bin/make quest_levs ) `quest_levs' is up to date. ( cd dat ; /usr/bin/make bogusmon ) `bogusmon' is up to date. ( cd dat ; /usr/bin/make data ) `data' is up to date. ( cd dat ; /usr/bin/make engrave ) `engrave' is up to date. ( cd dat ; /usr/bin/make epitaph ) `epitaph' is up to date. ( cd dat ; /usr/bin/make oracles ) `oracles' is up to date. ( cd dat ; /usr/bin/make options ) `options' is up to date. ( cd dat ; /usr/bin/make quest.dat ) `quest.dat' is up to date. ( cd dat ; /usr/bin/make rumors ) `rumors' is up to date. ( cd util ; /usr/bin/make dlb ) `../include/date.h' is up to date. `dlb' is up to date. ( 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 ) ( cd dat ; cp nhdat x11tiles pet_mark.xbm rip.xpm pilemark.xbm license symbols /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 ) ( cd /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 ; true nhdat x11tiles pet_mark.xbm rip.xpm pilemark.xbm license symbols ; chgrp _nethack36 nhdat x11tiles pet_mark.xbm rip.xpm pilemark.xbm license symbols ; chmod 0644 nhdat x11tiles pet_mark.xbm rip.xpm pilemark.xbm license symbols ) cp src/nethack /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 cp util/recover /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 if test -n '/exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/bin'; then rm -f /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/bin/nethack; fi if test -n '/exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/bin'; then sed -e 's;/usr/games/lib/nethackdir;/usr/local/lib/nethackdir-3.6.0;' -e 's;HACKDIR/nethack;HACKDIR/nethack;' < sys/unix/nethack.sh > /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/bin/nethack-3.6.6 ; fi ( cd /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 ; true nethack recover ; chgrp _nethack36 nethack recover ) chmod 0755 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0/nethack chmod 0755 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0/recover if test -n '/exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/bin'; then true /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/bin/nethack-3.6.6; fi if test -n '/exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/bin'; then chgrp _nethack36 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/bin/nethack-3.6.6; chmod 0755 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/bin/nethack-3.6.6; fi touch /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0/perm /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0/record /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0/logfile /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0/xlogfile ( cd /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0 ; true perm record logfile xlogfile ; chgrp _nethack36 perm record logfile xlogfile ; chmod 0600 perm record logfile xlogfile ) true; install -g _nethack36 -m 0600 sys/unix/sysconf /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/nethackdir-3.6.0/sysconf You may also want to reinstall the man pages via the doc Makefile. /exopi-obj/pobj/nethack-3.6.6/bin/install -d -m 755 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/share/doc/nethack-3.6.6 /exopi-obj/pobj/nethack-3.6.6/bin/install -c -m 644 /exopi-obj/pobj/nethack-3.6.6/NetHack-NetHack-3.6.6_Released/doc/Guidebook.txt /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/share/doc/nethack-3.6.6/Guidebook.txt /exopi-obj/pobj/nethack-3.6.6/bin/install -d -m 755 /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/lib/X11/app-defaults ln -s /usr/local/lib/nethackdir-3.6.0/recover /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/bin/recover-3.6.6 /exopi-obj/pobj/nethack-3.6.6/NetHack-NetHack-3.6.6_Released/util/makedefs --grep --input /exopi-obj/pobj/nethack-3.6.6/NetHack-NetHack-3.6.6_Released/doc/nethack.6 --output /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/man/man6/nethack-3.6.6.6 /exopi-obj/pobj/nethack-3.6.6/NetHack-NetHack-3.6.6_Released/util/makedefs --grep --input /exopi-obj/pobj/nethack-3.6.6/NetHack-NetHack-3.6.6_Released/doc/recover.6 --output /exopi-obj/pobj/nethack-3.6.6/fake-amd64/usr/local/man/man6/recover-3.6.6.6 ===> Building package for nethack-3.6.6p1 Create /exopi-cvs/ports/packages/amd64/all/nethack-3.6.6p1.tgz Creating package nethack-3.6.6p1 reading plist| switching to /exopi-cvs/ports/games/nethack/3.6/pkg/PFRAG.no-no_x11| checking dependencies| checking dependencies|games/hackdata checksumming| checksumming| | 0% checksumming|* | 2% checksumming|** | 4% checksumming|*** | 5% checksumming|**** | 7% checksumming|***** | 9% checksumming|****** | 11% checksumming|******* | 12% checksumming|********* | 14% checksumming|********** | 16% checksumming|*********** | 18% checksumming|************ | 19% checksumming|************* | 21% checksumming|************** | 23% checksumming|*************** | 25% checksumming|**************** | 26% checksumming|***************** | 28% checksumming|****************** | 30% checksumming|******************* | 32% checksumming|******************** | 33% checksumming|********************* | 35% checksumming|********************** | 37% checksumming|************************ | 39% checksumming|************************* | 40% checksumming|************************** | 42% checksumming|*************************** | 44% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|****************************** | 49% checksumming|******************************* | 51% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************** | 56% checksumming|*********************************** | 58% checksumming|************************************ | 60% checksumming|************************************* | 61% checksumming|*************************************** | 63% checksumming|**************************************** | 65% checksumming|***************************************** | 67% checksumming|****************************************** | 68% checksumming|******************************************* | 70% checksumming|******************************************** | 72% checksumming|********************************************* | 74% checksumming|********************************************** | 75% checksumming|*********************************************** | 77% checksumming|************************************************ | 79% checksumming|************************************************* | 81% checksumming|************************************************** | 82% checksumming|*************************************************** | 84% checksumming|**************************************************** | 86% checksumming|****************************************************** | 88% checksumming|******************************************************* | 89% checksumming|******************************************************** | 91% checksumming|********************************************************* | 93% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 96% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************************ | 38% archiving|*************************************** | 61% archiving|******************************************************* | 86% archiving|******************************************************* | 87% archiving|******************************************************** | 87% archiving|********************************************************* | 88% archiving|************************************************************* | 95% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/nethack-3.6.6p1.tgz >>> Running clean in games/nethack/3.6 at 1764614491.97 ===> games/nethack/3.6 ===> Cleaning for nethack-3.6.6p1 >>> Ended at 1764614492.47 max_stuck=3.18/build=97.09/package=4.75/clean=0.52