>>> Building on exopi-5 under games/nethack/3.6,no_x11 DIST = [games/hackdata:nethack-366-src.tgz] FULLPKGNAME = nethack-3.6.6p0-no_x11 RDEPENDS = [games/hackdata] distfiles size=5577633 >>> Running build in games/nethack/3.6,no_x11 at 1731868139.11 ===> games/nethack/3.6,no_x11 ===> Building from scratch nethack-3.6.6p0-no_x11 ===> Verifying specs: c curses ===> found c.100.3 curses.15.0 ===> Checking files for nethack-3.6.6p0-no_x11 `/exopi-cvs/ports/distfiles/nethack-366-src.tgz' is up to date. >> (SHA256) all files: OK ===> Extracting for nethack-3.6.6p0-no_x11 ===> Patching for nethack-3.6.6p0-no_x11 ===> 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.6p0-no_x11 ===> Configuring for nethack-3.6.6p0-no_x11 ln -s /exopi-cvs/ports/games/nethack/3.6/files/openbsd /exopi-obj/pobj/nethack-3.6.6-no_x11/NetHack-NetHack-3.6.6_Released/sys/unix/hints/openbsd ===> Building for nethack-3.6.6p0-no_x11 ( 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] clear_path(you_row, you_col, y2, x2) ^ 36 warnings generated. cc -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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] map_location(x, y, show) ^ display.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] off_msg(otmp) ^ do_wear.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] on_msg(otmp) ^ do_wear.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] kickdmg(mon, clumsy) ^ dokick.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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\" -c makemon.c 1 warning generated. 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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] get_map(col, row, bg_typ) ^ mkmap.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pass_one(bg_typ, fg_typ) ^ mkmap.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pass_two(bg_typ, fg_typ) ^ mkmap.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pass_three(bg_typ, fg_typ) ^ mkmap.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flood_fill_rm(sx, sy, rmno, lit, anyroom) ^ mkmap.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] setgemprobs(dlev) ^ o_init.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shuffle(o_low, o_high, domaterial) ^ o_init.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] does_block(x, y, lev) ^ vision.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_unused_cs(rows, rmin, rmax) ^ vision.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rogue_vision(next, rmin, rmax) ^ vision.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vision_recalc(control) ^ vision.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] block_point(x, y) ^ vision.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] mon_has_arti(mtmp, otyp) ^ wizard.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] initworm(worm, wseg_count) ^ worm.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] toss_wsegs(curr, display_update) ^ worm.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shrink_worm(wnum) ^ worm.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] copyright_banner_line(indx) ^ 10 warnings generated. Linking nethack. cc -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 version.o -lcurses -lncurses ld: warning: detect.c(detect.o:(gold_detect)): warning: sprintf() is often misused, please use snprintf() ld: warning: do.c(do.o:(drop)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: dokick.c(dokick.o:(kickstr)): 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] restore_savefile(basename) ^ 6 warnings generated. cc -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 /bin/sh: tbl: not found /bin/sh: nroff: not found ( cd dat ; /usr/bin/make bogusmon ) ../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 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] yywarning(s) ^ 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o ld: warning: dgn_main.c(dgn_main.o:(main)): 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() ld: warning: alloc.c(../src/alloc.o:(fmt_ptr)): warning: sprintf() is often misused, please use snprintf() ( 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] case_insensitive_comp(s1, s2) ^ 45 warnings generated. cc -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: 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: lev_main.c(lev_main.o:(lc_vpline)): warning: vsprintf() is often misused, please use vsnprintf() 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\" -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 C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:370:14: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] xexit(retcd) ^ 8 warnings generated. cc -o dlb dlb_main.o ../src/dlb.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() ( 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,no_x11 at 1731868251.48 ===> games/nethack/3.6,no_x11 ===> Faking installation for nethack-3.6.6p0-no_x11 ( 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 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-no_x11/fake-amd64-no_x11/usr/local/bin'; then mkdir -p /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/bin; fi rm -rf /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 mkdir -p /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0/save if test -d ./-p; then rmdir ./-p; fi true /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0/save chgrp _nethack36 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0/save chmod 0755 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 chmod 0755 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/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 license symbols /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 ) ( cd /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 ; true nhdat license symbols ; chgrp _nethack36 nhdat license symbols ; chmod 0644 nhdat license symbols ) cp src/nethack /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 cp util/recover /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 if test -n '/exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/bin'; then rm -f /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/bin/nethack; fi if test -n '/exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/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-no_x11/fake-amd64-no_x11/usr/local/bin/nethack-3.6.6 ; fi ( cd /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0 ; true nethack recover ; chgrp _nethack36 nethack recover ) chmod 0755 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0/nethack chmod 0755 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0/recover if test -n '/exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/bin'; then true /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/bin/nethack-3.6.6; fi if test -n '/exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/bin'; then chgrp _nethack36 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/bin/nethack-3.6.6; chmod 0755 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/bin/nethack-3.6.6; fi touch /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0/perm /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0/record /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0/logfile /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.6.0/xlogfile ( cd /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/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-no_x11/fake-amd64-no_x11/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-no_x11/bin/install -d -m 755 /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/share/doc/nethack-3.6.6 /exopi-obj/pobj/nethack-3.6.6-no_x11/bin/install -c -m 644 /exopi-obj/pobj/nethack-3.6.6-no_x11/NetHack-NetHack-3.6.6_Released/doc/Guidebook.txt /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/share/doc/nethack-3.6.6/Guidebook.txt ln -s /usr/local/lib/nethackdir-3.6.0/recover /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/bin/recover-3.6.6 /exopi-obj/pobj/nethack-3.6.6-no_x11/NetHack-NetHack-3.6.6_Released/util/makedefs --grep --input /exopi-obj/pobj/nethack-3.6.6-no_x11/NetHack-NetHack-3.6.6_Released/doc/nethack.6 --output /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/man/man6/nethack-3.6.6.6 /exopi-obj/pobj/nethack-3.6.6-no_x11/NetHack-NetHack-3.6.6_Released/util/makedefs --grep --input /exopi-obj/pobj/nethack-3.6.6-no_x11/NetHack-NetHack-3.6.6_Released/doc/recover.6 --output /exopi-obj/pobj/nethack-3.6.6-no_x11/fake-amd64-no_x11/usr/local/man/man6/recover-3.6.6.6 ===> Building package for nethack-3.6.6p0-no_x11 Create /exopi-cvs/ports/packages/amd64/all/nethack-3.6.6p0-no_x11.tgz Creating package nethack-3.6.6p0-no_x11 reading plist| checking dependencies| checking dependencies|games/hackdata checksumming| checksumming| | 0% checksumming|* | 2% checksumming|*** | 4% checksumming|**** | 6% checksumming|***** | 9% checksumming|****** | 11% checksumming|******** | 13% checksumming|********* | 15% checksumming|********** | 17% checksumming|************ | 19% checksumming|************* | 21% checksumming|************** | 23% checksumming|**************** | 26% checksumming|***************** | 28% checksumming|****************** | 30% checksumming|******************* | 32% checksumming|********************* | 34% checksumming|********************** | 36% checksumming|*********************** | 38% checksumming|************************* | 40% checksumming|************************** | 43% checksumming|*************************** | 45% checksumming|***************************** | 47% checksumming|****************************** | 49% checksumming|******************************* | 51% checksumming|******************************** | 53% checksumming|********************************** | 55% checksumming|*********************************** | 57% checksumming|************************************ | 60% checksumming|************************************** | 62% checksumming|*************************************** | 64% checksumming|**************************************** | 66% checksumming|****************************************** | 68% checksumming|******************************************* | 70% checksumming|******************************************** | 72% checksumming|********************************************* | 74% checksumming|*********************************************** | 77% checksumming|************************************************ | 79% checksumming|************************************************* | 81% checksumming|*************************************************** | 83% checksumming|**************************************************** | 85% checksumming|***************************************************** | 87% checksumming|******************************************************* | 89% checksumming|******************************************************** | 91% checksumming|********************************************************* | 94% checksumming|********************************************************** | 96% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|**************************** | 43% archiving|****************************************** | 65% archiving|****************************************** | 66% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/nethack-3.6.6p0-no_x11.tgz >>> Running clean in games/nethack/3.6,no_x11 at 1731868261.49 ===> games/nethack/3.6,no_x11 ===> Cleaning for nethack-3.6.6p0-no_x11 >>> Ended at 1731868262.53 max_stuck=3.81/build=112.34/package=9.95/clean=1.16