=>> Building games/unnethack build started at Fri Nov 17 03:45:21 CST 2023 port directory: /usr/ports/games/unnethack package name: unnethack-5.1.0.20131208_1 building for: FreeBSD 140amd64-current-job-01 14.0-RELEASE FreeBSD 14.0-RELEASE amd64 maintained by: ports@FreeBSD.org Makefile ident: Poudriere version: 3.3.7_1 Host OSVERSION: 1400097 Jail OSVERSION: 1400097 Job Id: 01 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400097 UNAME_v=FreeBSD 14.0-RELEASE UNAME_r=14.0-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root USE_COLORS=no LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.3.7_1 MASTERMNT=/poudriere/data/.m/140amd64-current/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen-256color PWD=/poudriere/data/.m/140amd64-current/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=140amd64-current SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/poudriere/data/.m/140amd64-current/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for unnethack-5.1.0.20131208_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --datadir="/usr/local/share" --localstatedir="/usr/local/var/games" --docdir="/usr/local/share/doc" --with-owner=no --with-group=no --enable-data-librarian LFLAGS=" -fstack-protector-strong " --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/unnethack/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/unnethack/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/unnethack/work/.cache HOME=/wrkdirs/usr/ports/games/unnethack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/unnethack/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/unnethack/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/unnethack/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/unnethack/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/unnethack/work/.cache HOME=/wrkdirs/usr/ports/games/unnethack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/unnethack/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/unnethack/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- VARDIR="var/games/unnethack" PORTDOCS="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/unnethack" EXAMPLESDIR="share/examples/unnethack" DATADIR="share/unnethack" WWWDIR="www/unnethack" ETCDIR="etc/unnethack" --End PLIST_SUB-- --SUB_LIST-- VARDIR="/usr/local/var/games/unnethack" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/unnethack DOCSDIR=/usr/local/share/doc/unnethack EXAMPLESDIR=/usr/local/share/examples/unnethack WWWDIR=/usr/local/www/unnethack ETCDIR=/usr/local/etc/unnethack --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /poudriere/control/default-make.conf #### #DEFAULT_VERSIONS+=apache=2.4 #DEFAULT_VERSIONS+=corosync=3 #DEFAULT_VERSIONS+=gcc=12 DEFAULT_VERSIONS+=ghostscript=agpl DEFAULT_VERSIONS+=java=17 DEFAULT_VERSIONS+=linux=c7_64 #DEFAULT_VERSIONS+=llvm=17 #DEFAULT_VERSIONS+=lua=5.4 #DEFAULT_VERSIONS+=mono=5.20 DEFAULT_VERSIONS+=mysql=10.11m #DEFAULT_VERSIONS+=perl5=5.38 DEFAULT_VERSIONS+=pgsql=15 #DEFAULT_VERSIONS+=php=8.0 #DEFAULT_VERSIONS+=python2=2.7 #DEFAULT_VERSIONS+=python3=3.9 #DEFAULT_VERSIONS+=python=3.9 #DEFAULT_VERSIONS+=samba=4.16 #DEFAULT_VERSIONS+=ssl=libressl DEFAULT_VERSIONS+=ssl=base DEFAULT_VERSIONS+=tcltk=8.6 WANT_OPENLDAP_SASL=yes # We play ball with... LICENSES_GROUPS_ACCEPTED+=FSF LICENSES_GROUPS_ACCEPTED+=OSI LICENSES_GROUPS_ACCEPTED+=COPYFREE LICENSES_GROUPS_ACCEPTED+=FONTS LICENSES_ACCEPTED+=GPLv2+ LICENSES_ACCEPTED+=MSPAT LICENSES_ACCEPTED+=NONE LICENSES_ACCEPTED+='GPLV2+ MSPAT' # Until 1.18 gets its modules crap sorted #GO_PORT=lang/go117 # Ehh, screw it. DISABLE_LICENSES=yes # FINALLY. BUILD_ALL_PYTHON_FLAVORS=yes # Duh WITH_PKGNG=yes # Workaround for FreeBSD PR 201193 WITH_MPM=event # Workaround for FreeBSD PR 234914 -- JTFC, FreeBSD, figure it out. .if ${.CURDIR:M*/www/mod_php7[0-9]} CONFIGURE_ENV+= pthreads_working="yes" .endif #MESA_LLVM_VER = 13 # ports infrastructure dudes are hacks. security_p5-GSSAPI_SET = GSSAPI_MIT OPTIONS_UNSET += GSSAPI_BASE GSSAPI_NONE GSSAPI_HEIMDAL OPTIONS_UNSET += WAYLAND OPTIONS_SET += GSSAPI_MIT #KRB5_VERSION=121 #security_p5-GSSAPI_SET = GSSAPI_HEIMDAL #OPTIONS_UNSET += GSSAPI_BASE GSSAPI_NONE GSSAPI_MIT #OPTIONS_SET += GSSAPI_HEIMDAL WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 63795 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===> NOTICE: The unnethack port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===> unnethack-5.1.0.20131208_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9.pkg [140amd64-current-job-01] Installing pkg-1.20.9... [140amd64-current-job-01] Extracting pkg-1.20.9: .......... done ===> unnethack-5.1.0.20131208_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of unnethack-5.1.0.20131208_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The unnethack port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by unnethack-5.1.0.20131208_1 for building =========================================================================== =================================================== ===> NOTICE: The unnethack port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by unnethack-5.1.0.20131208_1 for building => SHA256 Checksum OK for unnethack-5.1.0-20131208.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The unnethack port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by unnethack-5.1.0.20131208_1 for building ===> Extracting for unnethack-5.1.0.20131208_1 => SHA256 Checksum OK for unnethack-5.1.0-20131208.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for unnethack-5.1.0.20131208_1 ===> Applying FreeBSD patches for unnethack-5.1.0.20131208_1 from /usr/ports/games/unnethack/files /bin/mv /wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc/nethack.6 /wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc/unnethack.6 =========================================================================== =================================================== ===> unnethack-5.1.0.20131208_1 depends on package: gmake>=4.3 - not found ===> Installing existing package /packages/All/gmake-4.3_2.pkg [140amd64-current-job-01] Installing gmake-4.3_2... [140amd64-current-job-01] `-- Installing gettext-runtime-0.22.3... [140amd64-current-job-01] | `-- Installing indexinfo-0.3.1... [140amd64-current-job-01] | `-- Extracting indexinfo-0.3.1: . done [140amd64-current-job-01] `-- Extracting gettext-runtime-0.22.3: .......... done [140amd64-current-job-01] Extracting gmake-4.3_2: .......... done ===> unnethack-5.1.0.20131208_1 depends on package: gmake>=4.3 - found ===> Returning to build of unnethack-5.1.0.20131208_1 ===> unnethack-5.1.0.20131208_1 depends on executable: groff - not found ===> Installing existing package /packages/All/groff-1.23.0_2.pkg [140amd64-current-job-01] Installing groff-1.23.0_2... [140amd64-current-job-01] `-- Installing libiconv-1.17... [140amd64-current-job-01] `-- Extracting libiconv-1.17: .......... done [140amd64-current-job-01] `-- Installing perl5-5.36.1_1... [140amd64-current-job-01] `-- Extracting perl5-5.36.1_1: .......... done [140amd64-current-job-01] `-- Installing psutils-1.17_5... [140amd64-current-job-01] | `-- Installing libpaper-1.1.28... [140amd64-current-job-01] | `-- Extracting libpaper-1.1.28: .......... done [140amd64-current-job-01] `-- Extracting psutils-1.17_5: .......... done [140amd64-current-job-01] `-- Installing uchardet-0.0.8... [140amd64-current-job-01] `-- Extracting uchardet-0.0.8: .......... done [140amd64-current-job-01] Extracting groff-1.23.0_2: .......... done ===== Message from groff-1.23.0_2: -- In order to be able to use the html driver, you need to install the following packages: - ghostscript - netpbm ===> unnethack-5.1.0.20131208_1 depends on executable: groff - found ===> Returning to build of unnethack-5.1.0.20131208_1 ===> unnethack-5.1.0.20131208_1 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_4.pkg [140amd64-current-job-01] Installing ccache-3.7.12_4... [140amd64-current-job-01] Extracting ccache-3.7.12_4: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> unnethack-5.1.0.20131208_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of unnethack-5.1.0.20131208_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for unnethack-5.1.0.20131208_1 configure: loading site script /usr/ports/Templates/config.site checking whether ln -s works... yes checking for gawk... (cached) /usr/bin/awk checking dummy-graphics... no checking lisp-graphics... no checking curses-graphics... no checking tty-graphics... yes checking x11-graphics... no checking mswin-graphics... no checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking build system type... amd64-portbld-freebsd14.0 checking host system type... amd64-portbld-freebsd14.0 checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... no checking for byacc... byacc checking for chown... chown checking for chgrp... chgrp checking for chmod... chmod checking for windres... no checking for bzip2... /usr/bin/bzip2 checking for compression support... /usr/bin/bzip2 checking for suffix of compressed files... .bz2 checking for tgetent in -lncurses... yes checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking for tparm in -lcurses... yes checking for valid window system configuration... yes checking for ANSI C header files... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking for utime.h... (cached) yes checking for regex.h... yes checking for regex_t... yes checking for void... yes checking whether strncmpi is declared... no checking whether strnicmp is declared... no checking for msleep... no checking for usleep... (cached) yes checking for fcntl... (cached) yes checking for uint32_t... yes checking for nroff... yes checking for tbl... yes checking for col... yes checking for pseudo random number device... /dev/urandom checking for gsl_blas_dgemm in -lgsl... no checking whether to enable data-librarian... yes checking whether to enable sinks... yes checking whether to enable wallified-maze... yes checking whether to enable reincarnation... yes checking whether to enable blackmarket... yes checking whether to enable kops... yes checking whether to enable seduce... yes checking whether to enable randomized-planes... yes checking whether to enable steed... yes checking whether to enable tourist... yes checking whether to enable convict... yes checking whether to enable redo... yes checking whether to enable clipping... yes checking whether to enable menu-color... yes checking whether to enable status-color... yes checking whether to enable auto-open... yes checking whether to enable elbereth... yes checking whether to enable bones-pool... yes checking whether to enable user-sounds... no checking whether to enable exp-on-botl... yes checking whether to enable score-on-botl... no checking whether to enable realtime-on-botl... no checking whether to enable high-score-comparison-by-uid... no checking whether to enable paranoid... yes checking whether to enable shell... no checking whether to enable show-born... yes checking whether to enable show-extinct... yes checking whether to enable sortloot... yes checking whether to enable dungeon-growth... yes checking whether to enable goldobj... no checking whether to enable autopickup-exceptions... yes checking whether to enable quiver-fired... yes checking whether to enable qwertz... yes checking whether to enable simple-mail... no checking whether to enable xlogfile... yes (file xlogfile) checking whether to enable livelog... no checking whether to enable dump... yes checking whether to enable dump file... no checking whether to enable dump messages... yes (number 30) checking whether to enable dump-text... yes checking whether to enable dump-html... no checking whether to enable utf8-glyphs... yes checking whether to enable whereis file... no checking whether to enable wizmode... yes (user wizard) checking for owner of installed files... not set checking for group of installed files... not set checking whether to enable file-areas... yes checking which directory is gamesdir... /usr/local/var/games/unnethack checking which directory is bonesdir... /usr/local/var/games/unnethack/bones checking which directory is savesdir... /usr/local/var/games/unnethack/saves checking which directory is leveldir... /usr/local/var/games/unnethack/level checking which directory is sharedir... /usr/local/share/unnethack checking which directory is unsharedir... /usr/local/share/unnethack configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating dat/Makefile config.status: creating util/Makefile config.status: creating sys/autoconf/depend.awk config.status: creating include/autoconf.h config.status: linking sys/winnt/win32api.h to include/win32api.h =========================================================================== =================================================== ===> Building for unnethack-5.1.0.20131208_1 gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' echo '#ifndef AUTOCONF_PATH_H' >include/autoconf_paths.h echo '#undef AUTOCONF_PATH_H' >>include/autoconf_paths.h echo '#define AUTOCONF_PATH_H' >>include/autoconf_paths.h echo '#define AUTOCONF_PREFIX "/usr/local"' >>include/autoconf_paths.h echo '#define AUTOCONF_LOCALSTATEDIR "/usr/local/var/games"' >>include/autoconf_paths.h echo '#define AUTOCONF_DATADIR "/usr/local/share"' >>include/autoconf_paths.h echo '#define AUTOCONF_DATAROOTDIR "/usr/local/share"' >>include/autoconf_paths.h echo '#define AUTOCONF_DOCDIR "/usr/local/share/doc"' >>include/autoconf_paths.h echo '#endif' >>include/autoconf_paths.h ( cd src ; gmake ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' touch ../src/config.h-t cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./monst.c In file included from ./monst.c:5: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./objects.c In file included from ./objects.c:8: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o alloc.o alloc.c In file included from alloc.c:11: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ alloc.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc(lth) ^ alloc.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fmt_ptr(ptr, buf) ^ 3 warnings generated. gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o makedefs.o makedefs.c In file included from makedefs.c:10: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ makedefs.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] main(argc, argv) ^ makedefs.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] do_makedefs(options) ^ makedefs.c:329:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *xcrypt(str) ^ makedefs.c: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] version_string(outbuf) ^ makedefs.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] version_id_string(outbuf, build_date) ^ makedefs.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] d_filter(line) ^ makedefs.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] h_filter(line) ^ makedefs.c:1253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_control(s) ^ makedefs.c: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] without_control(s) ^ makedefs.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] ranged_attk(ptr) /* returns TRUE if monster can attack at range */ ^ makedefs.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] mstrength(ptr) ^ makedefs.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] qt_comment(s) ^ makedefs.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] qt_control(s) ^ makedefs.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] get_hdr (code) ^ makedefs.c:1521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_id (code) ^ makedefs.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] known_msg(num, id) ^ makedefs.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] new_msg(s, num, id) ^ makedefs.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] do_qt_control(s) ^ makedefs.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] do_qt_text(s) ^ makedefs.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] limit(name,pref) /* limit a name to 30 characters length */ ^ makedefs.c:1873: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: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] eos(str) ^ 23 warnings generated. cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../src/monst.c -o ../src/monst_util.o In file included from ./../src/monst.c:5: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../src/objects.c -o ../src/objects_util.o In file included from ./../src/objects.c:8: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../src/alloc.c -o ../src/alloc_util.o In file included from ./../src/alloc.c:11: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./../src/alloc.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc(lth) ^ ./../src/alloc.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fmt_ptr(ptr, buf) ^ 3 warnings generated. cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o panic.o panic.c In file included from panic.c:11: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -DAUTOCONF -fstack-protector-strong -o makedefs makedefs.o ../src/monst_util.o ../src/objects_util.o ../src/alloc_util.o panic.o gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ./makedefs -p gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ./makedefs -o gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' touch ../src/hack.h-t cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o allmain.o allmain.c In file included from allmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ allmain.c:255:4: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] monclock = 70; ^ allmain.c:231:7: note: previous statement is here for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) ^ allmain.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] welcome(new_game) ^ allmain.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] interrupt_multi(points, current_points, max_points) ^ 4 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o apply.o apply.c In file included from apply.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ apply.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] use_camera(obj) ^ apply.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] use_towel(obj) ^ apply.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] its_dead(rx, ry, resp, tobj) ^ apply.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] use_stethoscope(obj) ^ apply.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] use_whistle(obj) ^ apply.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] use_magic_whistle(obj) ^ apply.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] um_dist(x,y,n) ^ apply.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] o_unleash(otmp) /* otmp is about to be destroyed or stolen */ ^ apply.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m_unleash(mtmp, feedback) /* mtmp is about to die, or become untame */ ^ apply.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] use_leash(obj) ^ apply.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] get_mleash(mtmp) /* assuming mtmp->mleashed has been checked */ ^ 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] check_leash(x, y) ^ apply.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] use_mirror(obj) ^ apply.c:749:4: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] mtmp->mcanmove = 0; ^ apply.c:747:3: note: previous statement is here if (vis) ^ apply.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] use_bell(optr) ^ apply.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] use_candelabrum(obj) ^ apply.c:949: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: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] snuff_candle(otmp) /* call in drop, throw, and put in box, etc. */ ^ apply.c:1040: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: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] catch_lit(obj) ^ apply.c:1098: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: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] light_cocktail(obj) ^ apply.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] jump(magic) ^ apply.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tinnable(corpse) ^ apply.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] use_tinning_kit(obj) ^ apply.c:1484: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_attributes_and_properties(obj, attr_point) ^ apply.c:1634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fig_transform(arg, timeout) ^ apply.c:1723: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:1758: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:1797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] use_grease(obj) ^ apply.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] use_stone(tstone) ^ apply.c:2015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] use_trap(otmp) ^ apply.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] use_whip(obj) ^ apply.c:2407: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:2474: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: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] use_grapple (obj) ^ apply.c:2640: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:2954: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_flip_coin(obj) ^ apply.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] add_class(cl, class) ^ apply.c:3365: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) ^ 41 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o artifact.o artifact.c In file included from artifact.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ artifact.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] save_artifacts(fd) ^ artifact.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] restore_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] artiname(artinum) ^ artifact.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] mk_artifact(otmp, alignment) ^ artifact.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] artifact_name(name, otyp) ^ artifact.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] exist_artifact(otyp, name) ^ artifact.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] artifact_exists(otmp, name, mod) ^ artifact.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] spec_ability(otmp, abil) ^ artifact.c:248: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: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] arti_reflects(obj) ^ artifact.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] restrict_name(otmp, name, restrict_typ) /* returns 1 if name is restricted */ ^ artifact.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] attacks(adtyp, otmp) ^ artifact.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] defends(adtyp, otmp) ^ artifact.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] protects(adtyp, otmp) ^ artifact.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] set_artifact_intrinsic(otmp,on,wp_mask) ^ artifact.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] touch_artifact(obj,mon) ^ artifact.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spec_applies(weap, mtmp) ^ artifact.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] spec_m2(otmp) ^ artifact.c:759: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:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spec_dbon(otmp, mon, tmp) ^ artifact.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] discover_artifact(m) ^ artifact.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] undiscovered_artifact(m) ^ artifact.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] disp_artifact_discoveries(tmpwin) ^ 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] Mb_hit(magr, mdef, mb, dmgptr, dieroll, vis, hittee) ^ artifact.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] artifact_hit(magr, mdef, otmp, dmgptr, dieroll) ^ artifact.c:1458: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: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] artifact_light(obj) ^ artifact.c:1746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] arti_speak(obj) ^ artifact.c:1767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] artifact_has_invprop(otmp, inv_prop) ^ artifact.c:1778: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: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] MATCH_WARN_OF_MON(mon) ^ artifact.c:1810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_warned_of_monster(otmp) ^ 33 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o attrib.o attrib.c In file included from attrib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ attrib.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] adjattrib(ndx, incr, msgflg) ^ attrib.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] gainstr(otmp, incr) ^ attrib.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] losestr(num) /* may kill you; cause may be poison or monster like 'a' */ ^ attrib.c: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] change_luck(n) ^ attrib.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] stone_luck(parameter) ^ attrib.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] exercise(i, inc_or_dec) ^ attrib.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] init_attr(np) ^ attrib.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] postadjabil(ability) ^ attrib.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] adjabil(oldlevel,newlevel) ^ attrib.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] acurr(x) ^ attrib.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] adjalign(n) ^ 12 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o ball.o ball.c In file included from ball.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ball.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_bc(already_blind) ^ ball.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_bc(before, control, ballx, bally, chainx, chainy) ^ ball.c: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] drag_ball(x, y, bc_control, ballx, bally, chainx, chainy, cause_delay, ^ ball.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drop_ball(x, y) ^ 5 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o bones.o bones.c In file included from bones.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ bones.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] no_bones_level(lev) ^ bones.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodfruit(id) ^ bones.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resetobjs(ochain,restore) ^ bones.c:137:6: warning: variable 'disappeared' set but not used [-Wunused-but-set-variable] int disappeared=0; ^ bones.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] trim_contents(container, prob1, prob2) ^ bones.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] drop_upon_death(mtmp, cont) ^ bones.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] savebones(corpse) ^ 8 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o botl.o botl.c In file included from botl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ botl.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] text_color_of(text, color_options) ^ botl.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] percentage_color_of(value, max, color_options) ^ botl.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_color_option(color_option) ^ botl.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end_color_option(color_option) ^ botl.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] apply_color_option(color_option, newbot2, statusline) ^ botl.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] add_colored_text(text, newbot2) ^ botl.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] xlev_to_rank(xlev) ^ botl.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] rank_of(lev, monnum, female) ^ botl.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] title_to_mon(str, rank_indx, title_length) ^ botl.c:282:6: warning: unused variable 'save_botlx' [-Wunused-variable] int save_botlx = flags.botlx; ^ botl.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] describe_level(buf) ^ botl.c:419: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 bot2str(newbot2) ^ botl.c:433:6: warning: unused variable 'save_botlx' [-Wunused-variable] int save_botlx = flags.botlx; ^ 14 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o cmd.o cmd.c In file included from cmd.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ cmd.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_occupation(fn, txt, xtime) ^ cmd.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] pushch(ch) ^ cmd.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] savech(ch) ^ cmd.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enlght_line(start, middle, end) ^ cmd.c: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] enlght_combatinc(inctyp, incamt, final, outbuf) ^ cmd.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enlightenment(final, want_disp) ^ cmd.c:1372: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_naming(typ) ^ cmd.c:1484: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, want_disp) ^ cmd.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] count_obj(chain, total_count, total_size, top, recurse) ^ cmd.c:1949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_chain(win, src, chain, total_count, total_size) ^ cmd.c: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] mon_invent_chain(win, src, chain, total_count, total_size) ^ cmd.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] contained(win, src, total_count, total_size) ^ cmd.c:2014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mon_chain(win, src, chain, total_count, total_size) ^ cmd.c:2162: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:2377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xytod(x, y) /* convert an x,y pair into a direction code */ ^ cmd.c: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] dtoxy(cc,dd) /* convert a direction code into an x,y pair */ ^ cmd.c:2399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] movecmd(sym) /* also sets u.dz, but returns false for <> */ ^ cmd.c:2428:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_adjacent_loc(prompt,emsg,x,y,cc) ^ cmd.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] getdir(s) ^ cmd.c:2493: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, msg) ^ cmd.c:2582: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:2595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] click_to_cmd(x, y, mod) ^ cmd.c:2941: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: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] paranoid_yn(query,paranoid) ^ 25 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o dbridge.o dbridge.c In file included from dbridge.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dbridge.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] is_pool(x,y) ^ dbridge.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] is_lava(x,y) ^ dbridge.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] is_any_icewall(x, y) ^ dbridge.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_ice(x,y) ^ dbridge.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] is_swamp(x,y) ^ dbridge.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] is_drawbridge_wall(x,y) ^ dbridge.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] is_db_wall(x,y) ^ dbridge.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_drawbridge(x,y) ^ dbridge.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] get_wall_for_db(x,y) ^ dbridge.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] create_drawbridge(x,y,dir,flag) ^ dbridge.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] e_at(x, y) ^ dbridge.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m_to_e(mtmp, x, y, etmp) ^ dbridge.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] u_to_e(etmp) ^ dbridge.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_entity(x, y, etmp) ^ dbridge.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] e_nam(etmp) ^ dbridge.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] E_phrase(etmp, verb) ^ dbridge.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] e_survives_at(etmp, x, y) ^ dbridge.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] e_died(etmp, dest, how) ^ dbridge.c:457: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: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] e_missed(etmp, chunks) ^ dbridge.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] e_jumps(etmp) ^ dbridge.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] do_entity(etmp) ^ dbridge.c:762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] close_drawbridge(x,y) ^ dbridge.c:824: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: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] destroy_drawbridge(x,y) ^ 26 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o decl.o decl.c In file included from decl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o detect.o detect.c In file included from detect.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ detect.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] o_in(obj, oclass) ^ detect.c: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] o_material(obj, material) ^ detect.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] do_dknown_of(obj) ^ detect.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] check_map_spot(x, y, oclass, material) ^ detect.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] clear_stale_map(oclass, material) ^ detect.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] gold_detect(sobj) ^ detect.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] food_detect(sobj) ^ detect.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] object_detect(detector, class, quiet) ^ detect.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] monster_detect(otmp, mclass) ^ detect.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] sense_trap(trap, x, y, src_cursed) ^ detect.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] trap_detect(sobj) ^ detect.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] level_distance(where) ^ detect.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] use_crystal_ball(obj) ^ detect.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] show_map_spot(x, y) ^ detect.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cvt_sdoor_to_door(lev) ^ detect.c:1007: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:1053: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: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] find_trap(trap) ^ detect.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] dosearch0(aflag) ^ 20 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o dig.o dig.c In file included from dig.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dig.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] mkcavepos(x, y, dist, waslit, rockit) ^ dig.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] mkcavearea(rockit) ^ dig.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] dig_typ(otmp, x, y) ^ dig.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] dig_check(madeby, verbose, x, y) ^ dig.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fillholetyp(x,y) ^ dig.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] digactualhole(x, y, madeby, ttyp) ^ dig.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] dighole(pit_only) ^ dig.c:863: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: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] use_pick_axe2(obj) ^ dig.c:1070: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: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] mdig_tunnel(mtmp) ^ dig.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] bury_an_obj(otmp, dealloced) ^ dig.c:1424: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: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] unearth_objs(x, y) ^ dig.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] rot_organic(arg, timeout) ^ dig.c:1499: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) ^ 17 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o display.o display.c In file included from display.c:118: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ display.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] magic_map_background(x, y, show) ^ display.c:214: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: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] map_trap(trap, show) ^ display.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] map_object(obj, show) ^ display.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] map_invisible(x, y) ^ display.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] unmap_object(x, y) ^ display.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] map_location(x,y,show) ^ display.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] display_monster(x, y, mon, sightflags, worm_tail) ^ display.c:457: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:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] feel_location(x, y) ^ display.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] newsym(x,y) ^ display.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] shieldeff(x,y) ^ display.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp_at(x, y) ^ display.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] swallowed(first) ^ display.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] under_water(mode) ^ display.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] under_ground(mode) ^ display.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] show_glyph(x,y,glyph) ^ display.c:1321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] row_refresh(start,stop,y) ^ display.c:1345: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:1380:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] STATIC_PTR uchar get_glyph_char(glyph, oclass) ^ display.c:1601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] back_to_glyph(x,y) ^ display.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] swallow_to_glyph(mnum, loc) ^ display.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] zapdir_to_glyph(dx, dy, beam_type) ^ display.c:1751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glyph_at(x, y) ^ display.c:1810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_pos(x, y, which) ^ display.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] set_twall(x0,y0, x1,y1, x2,y2, x3,y3) ^ display.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] set_wall(x, y, horiz) ^ display.c:1880: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: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] set_crosswall(x, y) ^ display.c:2027: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:2094: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:2123: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) ^ 33 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o dlb.o dlb.c In file included from dlb.c:5: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dlb.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] readlibdir(lp) ^ dlb.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] find_file(name, lib, startp, sizep) ^ dlb.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] open_library(lib_area, lib_name, lp) ^ dlb.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] close_library(lp) ^ dlb.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] lib_dlb_fopen(dp, name, mode) ^ 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_fclose(dp) ^ dlb.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lib_dlb_fread(buf, size, quan, dp) ^ dlb.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] lib_dlb_fseek(dp, pos, whence) ^ dlb.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] lib_dlb_fgets(buf, len, dp) ^ dlb.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] lib_dlb_fgetc(dp) ^ dlb.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] lib_dlb_ftell(dp) ^ dlb.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] dlb_fopen_area(area, name, mode) ^ dlb.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dlb_fclose(dp) ^ dlb.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dlb_fread(buf, size, quan, dp) ^ dlb.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] dlb_fseek(dp, pos, whence) ^ dlb.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] dlb_fgets(buf, len, dp) ^ dlb.c:543: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:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dlb_ftell(dp) ^ 19 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o do.o do.c In file included from do.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ do.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] boulder_hits_pool(otmp, rx, ry, pushing) ^ do.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] flooreffects(obj,x,y,verb) ^ do.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] doaltarobj(obj) /* obj is an object dropped on an altar */ ^ do.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dosinkring(obj) /* obj is a ring being dropped over a kitchen sink */ ^ do.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] canletgo(obj,word) ^ do.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] drop(obj) ^ do.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] dropx(obj) ^ do.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] dropy(obj) ^ do.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_no_longer_held(obj) ^ do.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] menu_drop(retry) ^ do.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] goto_level(newlevel, at_stairs, falling, portal) ^ do.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] schedule_goto(tolev, at_stairs, falling, portal_flag, pre_msg, post_msg) ^ do.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] revive_corpse(corpse) ^ do.c:1764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] revive_mon(arg, timeout) ^ do.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] set_wounded_legs(side, timex) ^ 16 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o do_name.o do_name.c In file included from do_name.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ do_name.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] getpos_help(force, goal) ^ do_name.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] getpos_monarr_cmp(a, b) ^ do_name.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] getpos(cc, force, goal) ^ do_name.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] christen_monst(mtmp, name) ^ do_name.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_oname(obj) ^ do_name.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] realloc_obj(obj, oextra_size, oextra_src, oname_size, name) ^ do_name.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] oname(obj, name) ^ do_name.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] docall(obj) ^ do_name.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] x_monnam(mtmp, article, adjective, suppress, called) ^ do_name.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] l_monnam(mtmp) ^ do_name.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] mon_nam(mtmp) ^ do_name.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] noit_mon_nam(mtmp) ^ do_name.c:914: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: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] noit_Monnam(mtmp) ^ do_name.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] m_monnam(mtmp) ^ do_name.c:943: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:960: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:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] a_monnam(mtmp) ^ do_name.c:980: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: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] distant_monnam(mon, article, outbuf) ^ do_name.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] hcolor(colorpref) ^ do_name.c:1333: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) ^ 23 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o do_wear.o do_wear.c In file included from do_wear.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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: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] Ring_on(obj) ^ do_wear.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] Ring_off_or_gone(obj,gone) ^ do_wear.c:1053: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:1060: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: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] Blindf_on(otmp) ^ do_wear.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] Blindf_off(otmp) ^ do_wear.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] donning(otmp) /* also checks for doffing */ ^ do_wear.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] cursed(otmp) ^ do_wear.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] armoroff(otmp) ^ do_wear.c:1415: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:1422: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: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] canwearobj(otmp,mask,noisy) ^ do_wear.c:1870: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:1896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erode_armor(victim, acid_dmg) ^ do_wear.c:1910: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: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] select_off(otmp) ^ do_wear.c:2245: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:2288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_arm(atmp) ^ do_wear.c:2347: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) ^ 22 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o dog.o dog.c In file included from dog.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: 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] initedog(mtmp) ^ dog.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] make_familiar(otmp,x,y,quietly) ^ dog.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] mon_arrive(mtmp, with_you) ^ dog.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] mon_catchup_elapsed_time(mtmp, nmv) ^ dog.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] keepdogs(pets_only) ^ dog.c:640: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: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] dogfood(mon,obj) ^ dog.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] tamedog(mtmp, obj) ^ dog.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] wary_dog(mtmp, was_dead) ^ dog.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] abuse_dog(mtmp) ^ 11 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o dogmove.o dogmove.c In file included from dogmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dogmove.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] DROPPABLES(mon) ^ dogmove.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] cursed_object_at(x, y) ^ dogmove.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] dog_nutrition(mtmp, obj) ^ dogmove.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] dog_eat(mtmp, obj, x, y, devour) ^ dogmove.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] dog_hunger(mtmp, edog) ^ dogmove.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] dog_invent(mtmp, edog, udist) ^ dogmove.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] dog_goal(mtmp, edog, after, udist, whappr) ^ dogmove.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] dog_move(mtmp, after) ^ dogmove.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] could_reach_item(mon, nx, ny) ^ dogmove.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] can_reach_location(mon, mx, my, fx, fy) ^ dogmove.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] wantdoor(x, y, distance) ^ 12 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o dokick.o dokick.c In file included from dokick.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dokick.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] kickdmg(mon, clumsy) ^ dokick.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] kick_monster(x, y) ^ dokick.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] ghitm(mtmp, gold) ^ dokick.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] lawful_bribery_alignment(penalty) ^ dokick.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] container_impact_dmg(obj) ^ dokick.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kick_object(x, y) ^ dokick.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] kickstr(buf) ^ dokick.c:1241: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: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] impact_drop(missile, x, y, dlev) ^ dokick.c:1397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ship_object(otmp, x, y, shop_floor_obj) ^ dokick.c:1557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] otransit_msg(otmp, nodrop, num) ^ dokick.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] down_gate(x, y) ^ 13 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o dothrow.o dothrow.c In file included from dothrow.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dothrow.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] throw_obj(obj, shotlimit) ^ dothrow.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] hitfloor(obj) ^ dothrow.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] walk_path(src_cc, dest_cc, check_proc, arg) ^ dothrow.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] hurtle_step(arg, x, y) ^ dothrow.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mhurtle_step(arg, x, y) ^ dothrow.c:622: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: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] mhurtle(mon, dx, dy, range) ^ dothrow.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] check_shop_obj(obj, x, y, broken) ^ dothrow.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] toss_up(obj, hitsroof) ^ dothrow.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] throwing_weapon(obj) ^ dothrow.c:877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sho_obj_return_to_u(obj) ^ dothrow.c:895: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:1193: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: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] tmiss(obj, mon) ^ dothrow.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] thitmonst(mon, obj) ^ dothrow.c:1543: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:1647: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:1665: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: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] breakobj(obj, x, y, hero_caused, from_invent) ^ dothrow.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] breaktest(obj) ^ dothrow.c:1814: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: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] throw_gold(obj) ^ 23 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o drawing.o drawing.c In file included from drawing.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ drawing.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] def_char_to_objclass(ch) ^ drawing.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] def_char_to_monclass(ch) ^ drawing.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] assign_graphics(graph_chars, glth, maxlen, offset) ^ drawing.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] switch_graphics(gr_set_flag) ^ drawing.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] assign_utf8graphics_symbol(position, value) ^ drawing.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] assign_rogue_graphics(is_rlevel) ^ 7 warnings generated. gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ./makedefs -m gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ./makedefs -z gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ../util/makedefs -v cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o dump.o dump.c In file included from dump.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dump.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] adjust_file_timestamp(fpath) ^ dump.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] dump(pre, str) ^ dump.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] dump_html(format, str) ^ dump.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] dump_text(format, str) ^ dump.c:153: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_line(pre, str) ^ dump.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] html_link(link_name, name) ^ dump.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] dump_object(c, obj, str) ^ dump.c:184:12: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'const char' declared in a previous prototype [-Wknr-promoted-parameter] const char c; ^ ../include/extern.h:499:38: note: previous declaration is here E void FDECL(dump_object, (const char, const struct obj *, const char *)); ^ dump.c:211: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_subtitle(str) ^ dump.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dump_title(str) ^ dump.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] dump_list_item_link(link, str) ^ dump.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dump_list_item_object(obj) ^ dump.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] dump_list_item(str) ^ dump.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] dump_definition_list_dt(str) ^ dump.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] dump_definition_list_dd(str) ^ dump.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] dump_header_html(title) ^ 17 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o dungeon.o dungeon.c In file included from dungeon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dungeon.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] save_dungeon(fd, perform_write, free_data) ^ dungeon.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] restore_dungeon(fd) ^ dungeon.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] Fread(ptr, size, nitems, stream) ^ dungeon.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] dname_to_dnum(s) ^ dungeon.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] find_level(s) ^ dungeon.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] find_level_by_custom_name(s) ^ dungeon.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_next_elemental_plane(lev) ^ dungeon.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] find_branch(s, pd) ^ dungeon.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] parent_dnum(s, pd) ^ 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] level_range(dgn, base, rand, chain, pd, adjusted_base) ^ dungeon.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] parent_dlevel(s, pd) ^ dungeon.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] correct_branch_type(tbr) ^ dungeon.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] insert_branch(new_branch, extract_first) ^ dungeon.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_branch(dgn, child_entry_level, pd) ^ dungeon.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] add_level(new_lev) ^ dungeon.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] init_level(dgn, proto_index, pd) ^ dungeon.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] possible_places(idx, map, pd) ^ dungeon.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] pick_level(map, nth) ^ dungeon.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] place_level(proto_index, pd) ^ dungeon.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] dunlev(lev) /* return the level number for lev in *this* dungeon */ ^ dungeon.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] dunlevs_in_dungeon(lev) /* return the lowest level number for *this* dungeon*/ ^ dungeon.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] deepest_lev_reached(noquest) /* return the lowest level explored in the game*/ ^ dungeon.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] ledger_no(lev) ^ dungeon.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] ledger_to_dnum(ledgerno) ^ dungeon.c:1159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ledger_to_dlev(ledgerno) ^ dungeon.c:1168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] depth(lev) ^ dungeon.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] on_level(lev1, lev2) /* are "lev1" and "lev2" actually the same? */ ^ dungeon.c:1183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Is_special(lev) ^ dungeon.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Is_branchlev(lev) ^ dungeon.c:1213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next_level(at_stairs) ^ dungeon.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] prev_level(at_stairs) ^ dungeon.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] u_on_newpos(x, y) ^ dungeon.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] On_stairs(x, y) ^ dungeon.c:1320: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: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] Can_dig_down(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] Can_fall_thru(lev) ^ dungeon.c:1353: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:1379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_level(newlevel, levnum) ^ dungeon.c:1427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] In_quest(lev) /* are you in the quest dungeon? */ ^ dungeon.c:1434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] In_mines(lev) /* are you in the mines dungeon? */ ^ dungeon.c:1441: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_sheol(lev) /* are you in Sheol? */ ^ dungeon.c:1456: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: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] at_dgn_entrance(s) ^ dungeon.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] In_V_tower(lev) /* is `lev' part of Vlad's tower? */ ^ dungeon.c:1499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] On_W_tower_level(lev) /* is `lev' a level containing the Wizard's tower? */ ^ dungeon.c:1508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] In_W_tower(x, y, lev) /* is of `lev' inside the Wizard's tower? */ ^ dungeon.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] In_hell(lev) /* are you in one of the Hell levels? */ ^ dungeon.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] find_hell(lev) /* sets *lev to be the gateway to Gehennom... */ ^ dungeon.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] goto_hell(at_stairs, falling) /* go directly to hell... */ ^ dungeon.c:1552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] assign_level(dest, src) /* equivalent to dest = source */ ^ 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] assign_rnd_level(dest, src, range) /* dest = src + rn1(range) */ ^ dungeon.c:1574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] induced_align(pct) ^ dungeon.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] Invocation_lev(lev) ^ dungeon.c:1617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lev_by_name(nam) ^ dungeon.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] br_string(type) ^ dungeon.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] print_branch(win, dnum, lower_bound, upper_bound, bymenu, lchoices) ^ dungeon.c:1750: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:1912: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:1980: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: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] forget_mapseen(ledger_no) ^ dungeon.c:2018: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: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] load_mapseen(fd) ^ dungeon.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] remdun_mapseen(dnum) ^ dungeon.c:2095: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:2147: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: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] seen_string(x, obj) ^ dungeon.c:2367:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'xchar' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] xchar x; ^ dungeon.c:69:43: note: previous declaration is here STATIC_DCL char *FDECL(seen_string, (xchar, const char *)); ^ dungeon.c:2384: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:2403: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:2458: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, printdun, dump, final) ^ dungeon.c:2461:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'boolean' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] boolean printdun; ^ dungeon.c:67:63: note: previous declaration is here STATIC_DCL void FDECL(print_mapseen, (winid,mapseen *, boolean, boolean, boolean)); ^ dungeon.c:2462:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'boolean' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] boolean dump; /**< if information should be dumped to file */ ^ dungeon.c:67:72: note: previous declaration is here STATIC_DCL void FDECL(print_mapseen, (winid,mapseen *, boolean, boolean, boolean)); ^ dungeon.c:2463:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'boolean' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] boolean final; /**< if game is finished */ ^ dungeon.c:67:81: note: previous declaration is here STATIC_DCL void FDECL(print_mapseen, (winid,mapseen *, boolean, boolean, boolean)); ^ dungeon.c:2622: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:2637: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_generic_level_description(lev) ^ 76 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o eat.o eat.c In file included from eat.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ eat.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] is_edible(obj) ^ eat.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] food_xname(food, the_pfx) ^ eat.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] choke(food) /* To a full belly all food is bad. (It.) */ ^ eat.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] touchfood(otmp) ^ eat.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] food_disappears(obj) ^ eat.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] food_substitution(old_obj, new_obj) ^ eat.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] done_eating(message) ^ eat.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] maybe_cannibal(pm, allowmsg) ^ eat.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] cprefx(pm) ^ eat.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] bite_monster(mon) ^ eat.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] intrinsic_possible(type, ptr) ^ eat.c:710: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:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cpostfx(pm) /* called after completely consuming a corpse */ ^ eat.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] costly_tin(verb) ^ eat.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] start_tin(otmp) /* called when starting to open a tin */ ^ eat.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] rottenfood(obj) ^ eat.c:1344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eatcorpse(otmp) /* called when a corpse is selected as food */ ^ eat.c: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] start_eating(otmp) /* called as you start to eat */ ^ eat.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] fprefx(otmp) ^ eat.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] accessory_has_effect(otmp) ^ eat.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] eataccessory(otmp) ^ eat.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] foodword(otmp) ^ eat.c:1872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fpostfx(otmp) /* called after consuming (non-corpse) food */ ^ eat.c: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] edibility_prompts(otmp) ^ eat.c:2417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] morehungry(num) /* called after vomiting and after performing feats of magic */ ^ eat.c:2426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lesshungry(num) /* called after eating (and after drinking fruit juice) */ ^ eat.c:2510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newuhs(incr) /* compute and comment on your (new?) hunger status */ ^ eat.c:2643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] floorfood(verb,corpsecheck) /* get food from floor or pack */ ^ eat.c:2763: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:2785: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:2836: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) ^ 32 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o end.o end.c In file included from end.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ end.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] done1(sig_unused) /* called as signal() handler, so sent at least one arg */ ^ end.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] done_intr(sig_unused) /* called as signal() handler, so sent at least one arg */ ^ end.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] done_hangup(sig) /* signal() handler */ ^ end.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] done_in_by(mtmp) ^ end.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] should_query_disclose_option(category, defquery) ^ end.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] disclose(how,taken) ^ end.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] savelife(how) ^ end.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] get_valuables(list) ^ end.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] sort_valuables(list, size) ^ end.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] artifact_score(list, counting, endwin) ^ end.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] done(how) ^ end.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] container_contents(list, identified, all_containers, want_disp) ^ end.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] terminate(status) ^ end.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] list_vanquished(defquery, ask) ^ end.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] do_vanquished(defquery, ask) ^ end.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] list_genocided(defquery, ask, want_disp) ^ end.c:1444:2: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] if (c == 'q') done_stopprint++; ^ end.c:1440:8: note: previous statement is here else ^ 18 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o engrave.o engrave.c In file included from engrave.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ engrave.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] random_engraving(outbuf) ^ engrave.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] wipeout_text(engr, cnt, seed) ^ engrave.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] surface(x, y) ^ engrave.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] ceiling(x, y) ^ engrave.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] engr_at(x, y) ^ engrave.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] sengr_at(s, x, y) ^ engrave.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] nengr_at(x, y) ^ engrave.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] u_wipe_engr(cnt) ^ engrave.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] wipe_engr_at(x,y,cnt) ^ engrave.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] read_engr_at(x,y) ^ engrave.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_engr_at(x,y,s,e_time,e_type) ^ engrave.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] del_engr_at(x, y) ^ engrave.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] engrave(engraving, fingers) ^ engrave.c:555:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'boolean' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] boolean fingers; ^ engrave.c:529:41: note: previous declaration is here static int engrave(const char *, boolean); ^ engrave.c:884:8: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] doknown = TRUE; ^ engrave.c:882:4: note: previous statement is here if (flags.verbose) ^ engrave.c:1304: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:1328: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: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] del_engr(ep) ^ engrave.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] rloc_engr(ep) ^ engrave.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] make_grave(x, y, str) ^ 21 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o exper.o exper.c In file included from exper.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ exper.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newuexp(lev) ^ exper.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enermod(en) ^ exper.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] experience(mtmp, nk) /* return # of exp points for mtmp after nk killed */ ^ exper.c: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] more_experienced(exp, score, rexp) ^ exper.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] losexp(drainer) /* e.g., hit by drain life attack */ ^ exper.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] pluslvl(incr) ^ exper.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] rndexp(gaining) ^ 8 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o explode.o explode.c In file included from explode.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ explode.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] explode(x, y, type, dam, olet, expltype) ^ explode.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] scatter(sx,sy,blastforce,scflags, obj) ^ explode.c:573: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) ^ 4 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o extralev.o extralev.c In file included from extralev.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ extralev.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roguejoin(x1,y1,x2,y2, horiz) ^ extralev.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roguecorr(x, y, dir) ^ extralev.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] miniwalk(x, y) ^ extralev.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] corr(x,y) ^ 5 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o files.o files.c In file included from files.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ files.c:211: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: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] fname_decode(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] fqname(basename, whichprefix, buffnum) ^ files.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] validate_prefix_locations(reasonbuf) ^ files.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] fopen_datafile(filename, mode, prefix) ^ files.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] set_levelfile_name(file, lev) ^ files.c:444: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: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] open_levelfile(lev, errbuf) ^ files.c:546: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: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] set_bonesfile_name(file, lev) ^ files.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] create_bonesfile(lev, bonesid, errbuf) ^ files.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] commit_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] open_bonesfile(lev, bonesid) ^ files.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] delete_bonesfile(lev) ^ files.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] save_savefile_name(fd) ^ files.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] free_saved_games(saved) ^ files.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] redirect(filearea, filename, mode, stream, uncomp) ^ files.c:1318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] docompress_file(filearea, filename, uncomp) ^ files.c:1469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compress_area(filearea, filename) ^ files.c:1484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uncompress_area(filearea, filename) ^ files.c:1552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lock_file(filearea, filename, retryct) ^ files.c:1714: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_area(filearea, filename, retryct) ^ files.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] unlock_file(filename) ^ files.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] unlock_file_area(filearea, filename) ^ files.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] fopen_config_file(filename) ^ files.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] get_uchars(fp, buf, bufp, list, modlist, size, name) ^ files.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] parse_config_line(fp, buf, tmp_ramdisk, tmp_levels, recursive) ^ files.c:2403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_config_file(filename) ^ files.c:2581: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:2699: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) ^ 31 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o fountain.o fountain.c In file included from fountain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ fountain.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] floating_above(what) ^ fountain.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dogushforth(drinking) /* Gushing forth along LOS from (u.ux, u.uy) */ ^ fountain.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] gush(x, y, poolcnt) ^ fountain.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dryup(x, y, isyou) ^ fountain.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] dipfountain(obj) ^ fountain.c:497: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 -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o hack.o hack.c In file included from hack.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ hack.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] rndmappos(x,y) /* guaranteed to return a valid coord */ ^ hack.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] count_herbs_at(x,y, watery) ^ hack.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] herb_can_grow_at(x,y, watery) ^ hack.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] grow_water_herbs(herb, x,y) ^ hack.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] grow_herbs(herb, x,y, showmsg, update) ^ hack.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] water_current(x,y,dir,waterforce, showmsg, update) ^ hack.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] drop_ripe_treefruit(x,y,showmsg, update) ^ hack.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] seed_tree(x,y) ^ hack.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] dgn_growths(showmsg, update) ^ hack.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] catchup_dgn_growths(mvs) ^ hack.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] revive_nasty(x, y, msg) ^ hack.c:588:6: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] if (Blind) feel_location(sx, sy); ^ hack.c:585:4: note: previous statement is here else ^ hack.c:636: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: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] movobj(obj, ox, oy) ^ hack.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] may_dig(x,y) ^ hack.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] may_passwall(x,y) ^ hack.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] bad_rock(mdat,x,y) ^ hack.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] invocation_pos(x, y) ^ hack.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] autoexplore_msg(text, mode) ^ hack.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] test_move(ux, uy, dx, dy, mode) ^ hack.c:1098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unexplored(x, y) ^ hack.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] autotravel_weighting(x, y, distance) ^ hack.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] findtravelpath(guess) ^ hack.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] couldsee_func(x, y) ^ hack.c:1351:26: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] interesting_to_explore(x,y) { ^ hack.c:1351:24: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] interesting_to_explore(x,y) { ^ hack.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] interesting_to_explore(x,y) { ^ hack.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] struggle_sub(predicament) ^ hack.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] wounds_message(mon) ^ hack.c:2191: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_wounds(mon) ^ hack.c:2230: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:2365: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: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_rooms(x, y, typewanted) ^ hack.c:2448: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: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] move_update(newlev) ^ hack.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] check_special_room(newlev) ^ hack.c:2914: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, txt) ^ hack.c:2931: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:2981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showdmg(n,you) ^ hack.c:3011: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_uhpmax(new_hpmax, poly) ^ hack.c:3026: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:3035: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_how(n, knam, k_format, how) ^ hack.c:3155: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:3181: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) ^ 45 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o hacklib.o hacklib.c In file included from hacklib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ hacklib.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] digit(c) /* is 'c' a digit? */ ^ hacklib.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] letter(c) /* is 'c' a letter? note: '@' classed as letter */ ^ hacklib.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] highc(c) /* force 'c' into uppercase */ ^ 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] lowc(c) /* force 'c' into lowercase */ ^ hacklib.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] lcase(s) /* convert a string into all lowercase */ ^ hacklib.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] upstart(s) /* convert first character of a string to uppercase */ ^ hacklib.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] mungspaces(bp) ^ hacklib.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eos(s) /* return the end of a string (pointing at '\0') */ ^ hacklib.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] strkitten(s, c) /* append a character to a string (in place) */ ^ hacklib.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sanitizestr(s) ^ hacklib.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] s_suffix(s) /* return a name converted to possessive */ ^ hacklib.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] xcrypt(str, buf) /* trivial text encryption routine (see makedefs) */ ^ hacklib.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] onlyspace(s) /* is a string entirely whitespace? */ ^ hacklib.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] tabexpand(sbuf) /* expand tabs into proper number of spaces */ ^ hacklib.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] visctrl(c) /* make a displayable string from a character */ ^ hacklib.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ordin(n) /* return the ordinal suffix of a number */ ^ 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] sitoa(n) /* make a signed digit string from a number */ ^ hacklib.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] sgn(n) /* return the sign of a number: -1, 0, or 1 */ ^ hacklib.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] rounddiv(x, y) /* calculate x/y, rounding as appropriate */ ^ hacklib.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] distmin(x0, y0, x1, y1) /* distance between two points, in moves */ ^ hacklib.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dist2(x0, y0, x1, y1) /* square of euclidean distance between pair of pts */ ^ hacklib.c: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] isqrt(val) ^ hacklib.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] online2(x0, y0, x1, y1) /* are two points lined up (on a straight line)? */ ^ hacklib.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] pmatch(patrn, strng) /* match a string against a pattern */ ^ hacklib.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strncmpi(s1, s2, n) /* case insensitive counted string comparison */ ^ hacklib.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] strstri(str, sub) /* case insensitive substring search */ ^ hacklib.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] fuzzymatch(s1, s2, ignore_chars, caseblind) ^ hacklib.c:569: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: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] get_formatted_time(time, fmt) ^ hacklib.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iso8601(date) ^ hacklib.c:705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iso8601_duration(seconds) ^ 32 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o invent.o invent.c In file included from invent.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ invent.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] assigninvlet(otmp) ^ invent.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] merge_choice(objlist, obj) ^ invent.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] merged(potmp, pobj) ^ invent.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] addinv_core1(obj) ^ invent.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] addinv_core2(obj) ^ invent.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] addinv(obj) ^ invent.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] carry_obj_effects(obj) ^ invent.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] hold_another_object(obj, drop_fmt, drop_arg, hold_msg) ^ invent.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] useupall(obj) ^ invent.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] useup(obj) ^ invent.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] consume_obj_charge(obj, maybe_unpaid) ^ invent.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] freeinv_core(obj) ^ invent.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] freeinv(obj) ^ invent.c:573: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:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delobj(obj) ^ invent.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] sobj_at(n,x,y) ^ invent.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] carrying(type) ^ invent.c:664: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: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] o_on(id, objchn) ^ 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] obj_here(obj, x, y) ^ invent.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] g_at(x,y) ^ invent.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] mkgoldobj(q) ^ invent.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] compactify(buf) ^ invent.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] taking_off(action) ^ invent.c:784: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: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] getobj(let,word) ^ invent.c:839:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (otmp = getnextgetobj()) { ~~~~~^~~~~~~~~~~~~~~~~ invent.c:839:11: note: place parentheses around the assignment to silence this warning if (otmp = getnextgetobj()) { ^ ( ) invent.c:839:11: note: use '==' to turn this assignment into an equality comparison if (otmp = getnextgetobj()) { ^ == invent.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] silly_thing(word, otmp) ^ invent.c:1235: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:1243: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: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] is_worn(otmp) ^ invent.c:1277: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: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] askchain(objchn, olets, allflag, fn, ckfn, mx, word) ^ invent.c:1629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fully_identify_obj(otmp) ^ invent.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] identify(otmp) ^ invent.c:1655: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:1685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] identify_pack(id_limit) ^ invent.c: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] obj_to_let(obj) /* should of course only be called for things in invent */ ^ invent.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] prinv(prefix, obj, quan) ^ invent.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] xprname(obj, txt, let, dot, cost, quan) ^ invent.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] itemactions(obj) ^ invent.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] find_unpaid(list, last_found) ^ invent.c:2188: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(obj1, obj2) ^ invent.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] display_pickinv(lets, want_reply, out_cnt, want_disp) ^ invent.c:2450: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:2459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dump_inventory(lets, want_reply, want_disp) ^ invent.c:2471: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:2490: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(list) ^ invent.c:2509: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_objects(list) ^ invent.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] count_buc(list, type) ^ invent.c:2655: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:2778: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:2848: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:2971: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:2982: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:3001: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:3013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mergable(otmp, obj) /* returns TRUE if obj & otmp can be merged */ ^ invent.c:3177: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:3228: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: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] let_to_name(let,unpaid) ^ invent.c:3442:5: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] otmp->invlet = obj->invlet; ^ invent.c:3437:7: note: previous statement is here } else ^ invent.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] invdisp_nothing(hdr, txt) ^ invent.c:3493: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:3515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display_minventory(mon, dflags, title) ^ invent.c:3601: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:3630: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:3643: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) ^ invent.c:3671: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_racial_armor(obj) ^ invent.c:3688: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_racial_weapon(obj) ^ 70 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o light.o light.c In file included from light.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ light.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] new_light_source(x, y, range, type, id) ^ light.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] del_light_source(type, id) ^ light.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] do_light_sources(cs_rows) ^ light.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] find_mid(nid, fmflags) ^ light.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] save_light_sources(fd, mode, range) ^ light.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] restore_light_sources(fd) ^ light.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] relink_light_sources(ghostly) ^ light.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] maybe_write_ls(fd, range, write_it) ^ light.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] write_ls(fd, ls) ^ light.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] obj_move_light_source(src, dest) ^ light.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] snuff_light_source(x, y) ^ light.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] obj_sheds_light(obj) ^ light.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_is_burning(obj) ^ light.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_split_light_source(src, dest) ^ light.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] obj_merge_light_sources(src, dest) ^ light.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] candle_light_range(obj) ^ 17 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o lock.o lock.c In file included from lock.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ lock.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] picking_lock(x, y) ^ lock.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] picking_at(x, y) ^ lock.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] pick_lock(pick,rx,ry,explicit) /* pick a lock with a given object */ ^ lock.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] doopen_indir(x, y) /* try to open a door in direction u.dx/u.dy */ ^ lock.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obstructed(x,y) ^ lock.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] boxlock(obj, otmp) /* returns true if something happened */ ^ lock.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] doorlock(otmp,x,y) /* returns true if something happened */ ^ lock.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chest_shatter_msg(otmp) ^ lock.c:1017: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_door(x, y) ^ 10 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mail.o mail.c In file included from mail.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o makemon.o makemon.c In file included from makemon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ makemon.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_home_elemental(ptr) ^ makemon.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] wrong_elem_type(ptr) ^ makemon.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] m_initgrp(mtmp, x, y, n) /* make a group just like mtmp */ ^ makemon.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] m_initthrow(mtmp,otyp,oquan) ^ makemon.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] m_inityour(mtmp,obj) ^ makemon.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] m_initweap(mtmp) ^ makemon.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] m_initinv(mtmp) ^ makemon.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] clone_mon(mon, x, y) ^ makemon.c:936: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:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makemon(ptr, x, y, mmflags) ^ makemon.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] mbirth_limit(mndx) ^ makemon.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] create_critters(cnt, mptr) ^ makemon.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] uncommon(mndx) ^ makemon.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] align_shift(ptr) ^ makemon.c:1426: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_override_mon(override) ^ makemon.c:1550: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:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkclass(class,spc) ^ makemon.c:1621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adj_lev(ptr) /* adjust strength of monsters based on u.uz and u.ulevel */ ^ makemon.c:1649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] grow_up(mtmp, victim) /* `mtmp' might "grow up" into a bigger version */ ^ makemon.c: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] mongets(mtmp, otyp) ^ makemon.c:1785: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: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] peace_minded(ptr) ^ makemon.c:1855: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:1911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_mimic_sym(mtmp) /* KAA, modified by ERS */ ^ makemon.c:2022: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) ^ makemon.c:2152: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_camera_demon(camera,x,y) ^ 27 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mapglyph.o mapglyph.c In file included from mapglyph.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mapglyph.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] get_monsym(glyph) ^ mapglyph.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] get_objsym(glyph) ^ mapglyph.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] mapglyph(glyph, ochar, ocolor, ospecial, x, y) ^ 4 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mcastu.o mcastu.c In file included from mcastu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mcastu.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] cursetxt(mtmp, undirected) ^ mcastu.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] choose_magic_spell(spellval) ^ mcastu.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] choose_clerical_spell(spellnum) ^ mcastu.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] castmu(mtmp, mattk, thinks_it_foundyou, foundyou) ^ mcastu.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] cast_wizard_spell(mtmp, dmg, spellnum) ^ mcastu.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] cast_punisher_spell(mtmp, dmg, spellnum) ^ mcastu.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] cast_cleric_spell(mtmp, dmg, spellnum) ^ mcastu.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] map_punisher_spell(spellnum, padtyp, pspellnum) ^ mcastu.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_undirected_spell(adtyp, spellnum) ^ mcastu.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] spell_would_be_useless(mtmp, adtyp, spellnum) ^ mcastu.c:895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buzzmu(mtmp, mattk) /* monster uses spell (ranged) */ ^ 12 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mhitm.o mhitm.c In file included from mhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mhitm.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mon_nam_too(outbuf, mon, other_mon) ^ mhitm.c: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] noises(magr, mattk) ^ mhitm.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] missmm(magr, mdef, mattk) ^ mhitm.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] fightm(mtmp) /* have monsters fight each other */ ^ mhitm.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] mattackm(magr, mdef) ^ mhitm.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] hitmm(magr, mdef, mattk) ^ mhitm.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] gazemm(magr, mdef, mattk) ^ mhitm.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] gulpmm(magr, mdef, mattk) ^ mhitm.c:600: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: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] defdisintagr(magr, mdef, mattk) ^ mhitm.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] mdamagem(magr, mdef, mattk) ^ mhitm.c:1484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] noattacks(ptr) /* returns 1 if monster doesn't attack */ ^ mhitm.c:1497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sleep_monst(mon, amt, how) ^ mhitm.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] slept_monst(mon) ^ 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] mrustm(magr, mdef, obj) ^ mhitm.c:1567: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: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] passivemm(magr,mdef,mhit,mdead) ^ mhitm.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] attk_protection(aatyp) ^ mhitm.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] maybe_freeze_m(mdef, vis, pdmg) ^ 20 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mhitu.o mhitu.c In file included from mhitu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mhitu.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] hitmsg(mtmp, mattk) ^ mhitu.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] missmu(mtmp, nearmiss, mattk) /* monster missed you */ ^ mhitu.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] mswings(mtmp, otemp) /* monster swings obj */ ^ mhitu.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] mpoisons_subj(mtmp, mattk) ^ mhitu.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] wildmiss(mtmp, mattk) /* monster attacked your displaced image */ ^ mhitu.c:214: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(mptr, indx, prev_result, alt_attk_buf) ^ mhitu.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] mattacku(mtmp) ^ mhitu.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] hurtarmor(attk) ^ mhitu.c:759: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:774: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: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] magic_negation(mon) ^ mhitu.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] hitmu(mtmp, mattk) ^ mhitu.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] gulpmu(mtmp, mattk) /* monster swallows you, or damage if u.uswallow */ ^ mhitu.c:1994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] explmu(mtmp, mattk, ufound) /* monster explodes in your face */ ^ mhitu.c:2078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gazemu(mtmp, mattk) /* monster gazes at you */ ^ mhitu.c: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] mdamageu(mtmp, n) /* mtmp hits you for n points damage */ ^ mhitu.c:2307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] urustm(mon, obj) ^ mhitu.c: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] could_seduce(magr,mdef,mattk) ^ mhitu.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] doseduce(mon) ^ mhitu.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] maybe_freeze_u(pdmg) ^ mhitu.c:2689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mayberem(obj, str) ^ mhitu.c: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] mon_scream(mtmp,mattk) ^ mhitu.c:2766: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) ^ mhitu.c:2927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invulnerability_messages(mtmp, range2, youseeit) ^ 26 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o minion.o minion.c In file included from minion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ minion.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msummon(mon) /* mon summons a monster */ ^ minion.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] summon_minion(alignment, talk) ^ minion.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] demon_talk(mtmp) /* returns 1 if it won't attack. */ ^ minion.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] bribe(mtmp) ^ minion.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] dprince(atyp) ^ minion.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] dlord(atyp) ^ minion.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] ndemon(atyp) ^ 8 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mklev.o mklev.c In file included from mklev.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mklev.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] do_comp(vx,vy) ^ mklev.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] finddpos(cc, xl,yl,xh,yh) ^ mklev.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] do_room_or_subroom(croom, lowx, lowy, hix, hiy, lit, rtype, special, is_room) ^ mklev.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_room(lowx, lowy, hix, hiy, lit, rtype, special) ^ mklev.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] add_subroom(proom, lowx, lowy, hix, hiy, lit, rtype, special) ^ mklev.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] join(a,b,nxcor) ^ mklev.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] makecorridors(style) ^ mklev.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] add_door(x,y,aroom) ^ mklev.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] dosdoor(x,y,aroom,type) ^ mklev.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] place_niche(aroom,dy,xx,yy) ^ mklev.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] makeniche(trap_type) ^ mklev.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] make_ironbarwalls(chance) ^ mklev.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] mineralize(kelp_pool, kelp_moat, goldprob, gemprob, skip_lvl_checks) ^ mklev.c:1092:14: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'boolean' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] boolean skip_lvl_checks; ^ ../include/extern.h:1123:54: note: previous declaration is here E void FDECL(mineralize, (int, int, int, int, boolean)); ^ mklev.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] wallwalk_right(x,y,fgtyp,fglit,bgtyp,chance) ^ mklev.c:1272: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: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] find_branch_room(mp) ^ mklev.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] pos_to_room(x, y) ^ mklev.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] place_branch(br, x, y) ^ mklev.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] bydoor(x, y) ^ mklev.c:1462: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:1472: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: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] occupied(x, y) ^ mklev.c:1499: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:1544:24: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] kind = NO_TRAP; break; ^ mklev.c:1543:4: note: previous statement is here if (lvl < 5 || level.flags.noteleport) ^ mklev.c:1588: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: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] mkfount(mazeflag,croom) ^ mklev.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] mksink(croom) ^ mklev.c:1661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkaltar(croom) ^ mklev.c:1681: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:1787: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: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] mk_knox_portal(x, y) ^ mklev.c:1910: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_random_engraving(engravings, size) ^ 34 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mkmap.o mkmap.c In file included from mkmap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: 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: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] backfill(bg_typ,filler) ^ mkmap.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] init_fill(bg_typ, fg_typ) ^ mkmap.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_map(col,row, bg_typ) ^ mkmap.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] pass_one(bg_typ, fg_typ) ^ mkmap.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] pass_two(bg_typ, fg_typ) ^ mkmap.c:151:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] if (count == 5) ^ mkmap.c:147:3: note: previous statement is here for(count=0, dr=0; dr < 8; dr++) ^ mkmap.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] pass_three(bg_typ, fg_typ) ^ mkmap.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] check_flood_anyroom(x,y, fg_typ, anyroom) ^ mkmap.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] flood_fill_rm(sx, sy, rmno, lit, anyroom) ^ mkmap.c:312: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:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] finish_map(fg_typ, bg_typ, lit, walled) ^ mkmap.c: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_rooms(lx, ly, hx, hy) ^ mkmap.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remove_room(roomno) ^ mkmap.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] mkmap(init_lev) ^ 16 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mkmaze.o mkmaze.c In file included from mkmaze.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mkmaze.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] iswall(x,y) ^ mkmaze.c:42: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: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] is_solid(x,y) ^ mkmaze.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] extend_spine(locale, wall_there, dx, dy) ^ mkmaze.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] wallification(x1, y1, x2, y2) ^ mkmaze.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] wall_extends(x1, y1, x2, y2) ^ mkmaze.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] okay(x,y,dir) ^ mkmaze.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] maze0xy(cc) /* find random starting point for maze generation */ ^ mkmaze.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] bad_location(x, y, lx, ly, hx, hy, lax) ^ mkmaze.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] place_lregion(lx, ly, hx, hy, nlx, nly, nhx, nhy, rtype, lev) ^ mkmaze.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] put_lregion_here(x,y,nlx,nly,nhx,nhy,rtype,oneshot,lev, lax) ^ mkmaze.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] fill_advent_calendar(init) ^ mkmaze.c:571:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'boolean' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] boolean init; ^ ../include/extern.h:1177:44: note: previous declaration is here E void FDECL(fill_advent_calendar, (boolean)); ^ 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] makemaz(s) ^ mkmaze.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] walkfrom(x,y,typ) ^ mkmaze.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] move(x,y,dir) ^ mkmaze.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mazexy(cc) /* find random point in generated corridors, ^ mkmaze.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] mkportal(x, y, todnum, todlevel) ^ mkmaze.c:1238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] save_waterlevel(fd, mode) ^ mkmaze.c:1261: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:1294:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] const char *waterbody_name(x, y) ^ mkmaze.c:1376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mk_bubble(x,y,n) ^ mkmaze.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] mv_bubble(b,dx,dy,ini) ^ 24 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mkobj.o mkobj.c In file included from mkobj.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mkobj.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] mkobj_at(let, x, y, artif) ^ mkobj.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] mksobj_at(otyp, x, y, init, artif) ^ mkobj.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] mkobj(oclass, artif) ^ mkobj.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] mkbox_cnts(box) ^ mkobj.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] splitobj(obj, num) ^ mkobj.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] replace_object(obj, otmp) ^ mkobj.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bill_dummy_object(otmp) ^ mkobj.c: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] mksobj(otyp, init, artif) ^ mkobj.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] start_corpse_timeout(body) ^ mkobj.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] bless(otmp) ^ mkobj.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] unbless(otmp) ^ mkobj.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] curse(otmp) ^ mkobj.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] uncurse(otmp) ^ mkobj.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] blessorcurse(otmp, chance) ^ mkobj.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] bcsign(otmp) ^ mkobj.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] weight(obj) ^ mkobj.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rnd_treefruit_at(x,y) ^ mkobj.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] rnd_treesticks_at(x,y) ^ mkobj.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] mkgold(amount, x, y) ^ mkobj.c:928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkcorpstat(objtype, mtmp, ptr, x, y, init) ^ mkobj.c:976: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: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] save_mtraits(obj, mtmp) ^ mkobj.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] get_mtraits(obj, copyof) ^ mkobj.c:1053: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:1071: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:1087: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: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] is_rottable(otmp) ^ mkobj.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] place_object(otmp, x, y) ^ mkobj.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] obj_ice_effects(x, y, do_buried) ^ mkobj.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] peek_at_iced_corpse_age(otmp) ^ mkobj.c:1202: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: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] remove_object(otmp) ^ mkobj.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] discard_minvent(mtmp) ^ mkobj.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] obj_extract_self(obj) ^ mkobj.c:1352: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:1379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extract_nexthere(obj, head_ptr) ^ mkobj.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] add_to_minv(mon, obj) ^ mkobj.c:1430: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: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] add_to_migration(obj) ^ mkobj.c:1464: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: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] container_weight(container) ^ mkobj.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] dealloc_obj(obj) ^ mkobj.c:1624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] where_name(where) ^ mkobj.c:1632: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) ^ 45 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mkroom.o mkroom.c In file included from mkroom.c:16: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mkroom.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] isbig(sroom) ^ mkroom.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] mkroom(roomtype) ^ mkroom.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] pick_room(strict) ^ mkroom.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] mkzoo(type) ^ mkroom.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] fill_zoo(sroom) ^ mkroom.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] mkundead(mm, revive_corpses, mm_flags) ^ mkroom.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] mkgarden(croom) ^ mkroom.c:588: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: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] nexttodoor(sx,sy) ^ mkroom.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] has_dnstairs(sroom) ^ mkroom.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] has_upstairs(sroom) ^ mkroom.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] somex(croom) ^ mkroom.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] somey(croom) ^ mkroom.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] inside_room(croom, x, y) ^ mkroom.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] somexy(croom, c) ^ mkroom.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] somexyspace(croom, pos, flags) ^ mkroom.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] search_special(type) ^ mkroom.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] save_room(fd, r) ^ mkroom.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] save_rooms(fd) ^ mkroom.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] rest_room(fd, r) ^ mkroom.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] rest_rooms(fd) ^ 22 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mksheol.o mksheol.c In file included from mksheol.c:3: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mksheol.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] mksheol(init_lev_par) ^ mksheol.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] check_voronoi_winner(coords, num_coords, x, y) ^ mksheol.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] carve_path(floorprobs) ^ mksheol.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] fuzzy_circle(x, y, guaranteed_passage_radius, fallout, floorprobs) ^ mksheol.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] shake_position(x, y) ^ 6 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mon.o mon.c In file included from mon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mon.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] remove_monster(x,y) ^ mon.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] undead_to_corpse(mndx) ^ mon.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] genus(mndx, mode) ^ mon.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] pm_to_cham(mndx) ^ mon.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] make_corpse(mtmp) ^ mon.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] minliquid(mtmp) ^ mon.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] mcalcmove(mon) ^ mon.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] meatmetal(mtmp) ^ mon.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] meatobj(mtmp) /* for gelatinous cubes */ ^ mon.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] mpickgold(mtmp) ^ mon.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] mpickstuff(mtmp, str) ^ mon.c:939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mpickup_obj(mtmp, otmp) ^ mon.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] curr_mon_load(mtmp) ^ mon.c:986: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: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] can_carry(mtmp,otmp) ^ mon.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mfndpos(mon, poss, info, flag) ^ mon.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] mm_aggression(magr, mdef) ^ mon.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] monnear(mon, x, y) ^ mon.c:1386: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: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] relmon(mon) ^ mon.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] m_detach(mtmp, mptr) ^ mon.c:1475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mlifesaver(mon) ^ mon.c:1489: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,adtyp) ^ mon.c:1491:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uchar' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] uchar adtyp; ^ mon.c:46:64: note: previous declaration is here STATIC_DCL void FDECL(lifesaved_monster, (struct monst *, uchar)); ^ mon.c:1544: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: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] mondead_helper(mtmp, adtyp) ^ mon.c:1553:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uchar' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] uchar adtyp; ^ ../include/extern.h:1278:52: note: previous declaration is here E void FDECL(mondead_helper, (struct monst *, uchar)); ^ mon.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] corpse_chance(mon, magr, was_swallowed) ^ mon.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] cthulhu_dies(mon) ^ mon.c:1769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spore_dies(mon) ^ mon.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] mondied(mdef) ^ mon.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] mongone(mdef) ^ mon.c:1885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] monstone(mdef) ^ mon.c:1983: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: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] unstuck(mtmp) ^ mon.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] killed(mtmp) ^ mon.c:2059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xkilled(mtmp, dest) ^ mon.c:2246: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: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] mnexto(mtmp) /* Make monster mtmp next to you (if possible) */ ^ mon.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] mnearto(mtmp,x,y,move_other) ^ mon.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] poisontell(typ) ^ mon.c:2350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] poisoned(string, typ, pname, fatal) ^ mon.c:2414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m_respond(mtmp) ^ mon.c:2442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setmangry(mtmp) ^ mon.c:2501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wakeup(mtmp) ^ mon.c:2531: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:2545: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: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] restore_cham(mon) ^ mon.c:2633: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:2657: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:2690: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:2742: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:2941: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:2963: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:2977: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:2997: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:3071: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_monster_on_level(mndx) ^ mon.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] golemeffects(mon, damtype, dam) ^ mon.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] angry_guards(silent) ^ mon.c:3174: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) ^ 61 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mondata.o mondata.c In file included from mondata.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mondata.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_mon_data(mon, ptr, flag) ^ mondata.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] attacktype_fordmg(ptr, atyp, dtyp) ^ mondata.c:42: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: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] poly_when_stoned(ptr) ^ mondata.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] resists_drli(mon) /* returns TRUE if monster is drain-life resistant */ ^ mondata.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] resists_magm(mon) /* TRUE if monster is magic-missile resistant */ ^ mondata.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] resists_blnd(mon) ^ mondata.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] can_blnd(magr, mdef, aatyp, obj) ^ mondata.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] ranged_attk(ptr) /* returns TRUE if monster can attack at range */ ^ mondata.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] hates_silver(ptr) ^ mondata.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] passes_bars(mptr) ^ mondata.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] can_track(ptr) /* returns TRUE if monster can track well */ ^ mondata.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] sliparm(ptr) /* creature will slide out of armor */ ^ mondata.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] breakarm(ptr) /* creature will break out of armor */ ^ mondata.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] sticks(ptr) /* creature sticks other creatures it hits */ ^ mondata.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] num_horns(ptr) ^ mondata.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dmgtype_fromattack(ptr, dtyp, atyp) ^ mondata.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] dmgtype(ptr, dtyp) ^ mondata.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] max_passive_dmg(mdef, magr) ^ mondata.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] monsndx(ptr) /* return an index into the mons array */ ^ mondata.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] name_to_mon(in_str) ^ mondata.c:497: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:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pronoun_gender(mtmp) ^ mondata.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] levl_follower(mtmp) ^ mondata.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] little_to_big(montype) ^ mondata.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] big_to_little(montype) ^ mondata.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] raceptr(mtmp) ^ mondata.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] locomotion(ptr, def) ^ mondata.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] stagger(ptr, def) ^ mondata.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] on_fire(mptr, mattk) ^ 31 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o monmove.o monmove.c In file included from monmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ monmove.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] mb_trapped(mtmp) ^ monmove.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] watch_on_duty(mtmp) ^ monmove.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] dochugw(mtmp) ^ monmove.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] onscary(x, y, mtmp) ^ monmove.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] mon_regen(mon, digest_meal) ^ monmove.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] disturb(mtmp) ^ monmove.c:223: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:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] distfleeck(mtmp,inrange,nearby,scared) ^ monmove.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] m_arrival(mon) ^ monmove.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] dochug(mtmp) ^ monmove.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] itsstuck(mtmp) ^ monmove.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] m_move(mtmp, after) ^ monmove.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] closed_door(x, y) ^ monmove.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] accessible(x, y) ^ monmove.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] set_apparxy(mtmp) ^ monmove.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] can_ooze(mtmp) ^ monmove.c:1544: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_group_attackers_flee(mtmp) ^ monmove.c:1562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] share_hp(mon1, mon2) ^ 19 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o monstr.o monstr.c In file included from monstr.c:2: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mplayer.o mplayer.c In file included from mplayer.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mplayer.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] get_mplname(mtmp, nam) ^ mplayer.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] mk_mplayer_armor(mon, typ) ^ mplayer.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] mk_mplayer(ptr, x, y, special) ^ mplayer.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] create_mplayers(num, special) ^ mplayer.c:324: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 -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o mthrowu.o mthrowu.c In file included from mthrowu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mthrowu.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] thitu(tlev, dam, obj, name) ^ mthrowu.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drop_throw(obj, ohit, x, y) ^ mthrowu.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] ohitmon(mtmp, otmp, range, verbose) ^ mthrowu.c:248: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: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] m_useup(mon, obj) ^ mthrowu.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] thrwmu(mtmp) ^ mthrowu.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] spitmu(mtmp, mattk) /* monster spits substance at you */ ^ mthrowu.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] breamu(mtmp, mattk) /* monster breathes at you (ranged) */ ^ mthrowu.c: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] linedup(ax, ay, bx, by) ^ mthrowu.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lined_up(mtmp) /* is mtmp in position to use ranged attack? */ ^ mthrowu.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] m_carrying(mtmp, type) ^ mthrowu.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hits_bars(obj_p, x, y, dx, dy, always_hit, whodidit) ^ mthrowu.c:824: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(obj_p, objx, objy, barsx, barsy, your_fault, from_invent) ^ mthrowu.c:827:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'boolean' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] boolean your_fault, from_invent; ^ ../include/extern.h:1441:62: note: previous declaration is here E void FDECL(hit_bars, (struct obj **,int,int,int,int,boolean,boolean)); ^ mthrowu.c:827:21: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'boolean' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] boolean your_fault, from_invent; ^ ../include/extern.h:1441:70: note: previous declaration is here E void FDECL(hit_bars, (struct obj **,int,int,int,int,boolean,boolean)); ^ 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] dissolve_bars(x, y) ^ 17 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o muse.o muse.c In file included from muse.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ muse.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] precheck(mon, obj) ^ muse.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mzapmsg(mtmp, otmp, self) ^ 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] mreadmsg(mtmp, otmp) ^ muse.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] mquaffmsg(mtmp, otmp) ^ muse.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] find_defensive(mtmp) ^ muse.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] use_defensive(mtmp) ^ muse.c:939: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: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] find_offensive(mtmp) ^ muse.c:1142: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: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] mbhit(mon,range,fhitm,fhito,obj) ^ muse.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] use_offensive(mtmp) ^ muse.c:1483: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: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] find_misc(mtmp) ^ muse.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] muse_newcham_mon(mon) ^ muse.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] use_misc(mtmp) ^ muse.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] you_aggravate(mtmp) ^ muse.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] rnd_misc_item(mtmp) ^ muse.c:1910: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: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] mon_reflects(mon,str) ^ muse.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] ureflects (fmt, str) ^ muse.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] munstone(mon, by_you) ^ muse.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] mon_consume_unstone(mon, obj, by_you, stoning) ^ 23 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o music.o music.c In file included from music.c:29: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ music.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] awaken_monsters(distance) ^ music.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] put_monsters_to_sleep(distance) ^ music.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] charm_snakes(distance) ^ music.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calm_nymphs(distance) ^ music.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] charm_monsters(distance) ^ music.c:214: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: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] do_improvisation(instr) ^ music.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] do_play_instrument(instr) ^ 9 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o o_init.o o_init.c In file included from o_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: 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: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] swap_armor(old_relative_position, new_relative_position, first) ^ o_init.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] savenames(fd, mode) ^ o_init.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] restnames(fd) ^ o_init.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] discover_object(oindx, mark_as_known, credit_hero) ^ o_init.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] undiscover_object(oindx) ^ o_init.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] interesting_to_discover(i) ^ 9 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o objnam.o objnam.c In file included from objnam.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ objnam.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] strprepend(s,pref) ^ objnam.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_typename(otyp) ^ objnam.c: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] simple_typename(otyp) ^ objnam.c:174: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_typename(otyp) ^ objnam.c:186: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:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] distant_name(obj, func) ^ objnam.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] fruitname(juice) ^ objnam.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] xname(obj) ^ objnam.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] xname2(obj, ignore_oquan) ^ objnam.c:244:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'boolean' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] boolean ignore_oquan; ^ objnam.c:17:44: note: previous declaration is here char * FDECL(xname2, (struct obj *, boolean)); ^ objnam.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] mshot_xname(obj) ^ objnam.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] the_unique_obj(obj) ^ objnam.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_erosion_words(obj,prefix,in_final_dump) ^ objnam.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doname_base(obj, with_price) ^ objnam.c:1040: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: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] doname_with_price(obj) ^ objnam.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] not_fully_identified(otmp) ^ objnam.c:1092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] corpse_xname(otmp, ignore_oquan) ^ objnam.c: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] cxname(obj) ^ objnam.c:1117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cxname2(obj) ^ objnam.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] killer_xname(obj) ^ objnam.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] singular(otmp, func) ^ objnam.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] an(str) ^ objnam.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] An(str) ^ objnam.c:1241: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: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] The(str) ^ objnam.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] aobjnam(otmp,verb) ^ objnam.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] Tobjnam(otmp, verb) ^ objnam.c:1334: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:1368: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:1463: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:1474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yname(obj) ^ objnam.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] Yname2(obj) ^ objnam.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] ysimple_name(obj) ^ objnam.c:1512: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:1545: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:1807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makesingular(oldstr) ^ objnam.c:1913: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:2023: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, from_user) ^ objnam.c:2061:10: warning: variable 'found_by_descr' set but not used [-Wunused-but-set-variable] boolean found_by_descr = FALSE; ^ objnam.c:3068: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:3087: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: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] cloak_simple_name(cloak) ^ objnam.c:3121: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) ^ 45 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o options.o options.c In file included from options.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ options.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] match_optname(user_string, opt_name, min_length, val_allowed) ^ options.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] nh_getenv(ev) ^ options.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] nmcpy(dest, src, maxlen) ^ options.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] escapes(cp, tp) ^ options.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rejectoption(optname) ^ options.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] badoption(opts) ^ options.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] string_for_opt(opts, val_optional) ^ options.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] string_for_env_opt(optname, opts, val_optional) ^ options.c:913: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: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] change_inv_order(op) ^ options.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] graphics_opts(opts, optype, maxlen, offset) ^ options.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] warning_opts(opts, optype) ^ options.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] assign_warnings(graph_chars) ^ options.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] feature_alert_opts(op, optn) ^ options.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] value_of_name(name, name_values) ^ options.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] parse_color_option(start) ^ options.c:1140:51: warning: passing 'const struct percent_color_option *' to parameter of type 'struct percent_color_option *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] list_head->next = add_percent_option(new_option, list_head->next); ^~~~~~~~~~~~~~~ options.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] add_percent_option(new_option, list_head) ^ options.c:1170:58: warning: passing 'const struct percent_color_option *' to parameter of type 'struct percent_color_option *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] hp_colors = add_percent_option(percent_color_option, hp_colors); ^~~~~~~~~ options.c:1174:58: warning: passing 'const struct percent_color_option *' to parameter of type 'struct percent_color_option *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] pw_colors = add_percent_option(percent_color_option, pw_colors); ^~~~~~~~~ options.c:1145: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_color_option(start) ^ options.c:1201: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_color_options(start) ^ options.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] set_duplicate_opt_detection(on_or_off) ^ options.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] duplicate_opt_detection(opts, bool_or_comp) ^ options.c:1333: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(str) ^ options.c:1426: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_monster_color(str) ^ options.c:1480: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_extended_option(str, option_name, option_value) ^ options.c:1535: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_codepoint(codepoint) ^ options.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] parse_monster_symbol(str) ^ options.c:1593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_symbol(str) ^ options.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] parse_object_symbol(str) ^ options.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] common_prefix_options_parser(fullname, opts, negated) ^ options.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] parseoptions(opts, tinitial, tfrom_file) ^ options.c:3296: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: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] add_menu_cmd_alias(from_ch, to_ch) ^ options.c:3334: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:3356: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:3583: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:4004: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: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] add_autopickup_exception(mapping) ^ options.c:4410: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: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] count_ape_maps(leave, grab) ^ options.c:4541: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:4579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fruitadd(str) ^ options.c:4681: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:4816: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:4849: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:4868: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:4881: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:4905: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:4924: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:4937: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:4952: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(wtype, fontname) ^ options.c:4986: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) ^ 55 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o pager.o pager.c In file included from pager.c:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ pager.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] is_swallow_sym(c) ^ pager.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] append_str(buf, new_str) ^ pager.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] lookat(x, y, buf, monbuf) ^ pager.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] checkfile(inp, pm, user_typed_name, without_asking) ^ pager.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] do_look(quick) ^ pager.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] dowhatdoes_core(q, cbuf) ^ pager.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] help_menu(sel) ^ 8 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o pickup.o pickup.c In file included from pickup.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ pickup.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] simple_look(otmp, here) ^ pickup.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] collect_obj_classes(ilets, otmp, here, incl_gold, filter, itemcount) ^ pickup.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] query_classes(oclasses, one_at_a_time, everything, action, objs, ^ pickup.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] check_here(picked_some) ^ pickup.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] n_or_more(obj) ^ 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] add_valid_menu_class(c) ^ pickup.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] all_but_uchain(obj) ^ pickup.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] allow_all(obj) ^ pickup.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] allow_category(obj) ^ pickup.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_worn_by_type(otmp) ^ pickup.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] pickup(what) ^ pickup.c:604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_autopickup_exception(obj, grab) ^ pickup.c:631: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: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] query_objlist(qstr, olist, qflags, pick_list, how, allow) ^ pickup.c:840: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: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] count_categories(olist, qflags) ^ pickup.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] carry_count(obj, container, count, telekinesis, wt_before, wt_after) ^ pickup.c:1208: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: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] safe_qbuf(qbuf, padlength, planA, planB, last_resort) ^ pickup.c:1304: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: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] pick_obj(otmp) ^ pickup.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] container_at(x, y, countem) ^ pickup.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] able_to_loot(x, y, tip) ^ pickup.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] mon_beside(x,y) ^ pickup.c:1821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tip_container(cobj) ^ pickup.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] loot_mon(mtmp, passed_info, prev_loot) ^ pickup.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] mbag_explodes(obj, depthin) ^ pickup.c:2032: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:2193: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:2201: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:2280: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:2302: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, past) ^ pickup.c:2304:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'boolean' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] boolean past; ^ ../include/extern.h:1646:57: note: previous declaration is here E void FDECL(observe_quantum_cat, (struct obj *, boolean)); ^ pickup.c:2346: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_coffin(box, past) ^ pickup.c:2348:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'boolean' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] boolean past; ^ ../include/extern.h:1647:49: note: previous declaration is here E void FDECL(open_coffin, (struct obj *, boolean)); ^ pickup.c:2378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] use_container(obj, held) ^ pickup.c:2612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] menu_loot(retry, container, put_in) ^ pickup.c:2685: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) ^ pickup.c:2739: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_container(container, destroy_after) ^ 40 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o pline.o pline.c In file included from pline.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ pline.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msgpline_add(typ, pattern) ^ pline.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] msgpline_type(msg) ^ pline.c:117:22: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] typ = msgpline_type(line); ^~~~ pline.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] You_buf(siz) ^ pline.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] align_str(alignment) ^ pline.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] mstatusline(mtmp) ^ 7 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o polyself.o polyself.c In file included from polyself.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ polyself.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] polyman(fmt, arg) ^ polyself.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] polyself(forcecontrol) ^ polyself.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] polymon(mntmp) /* returns 1 if polymorph successful */ ^ polyself.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] drop_weapon(alone) ^ polyself.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] skinback(silently) ^ polyself.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] mbodypart(mon, part) ^ polyself.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] body_part(part) ^ polyself.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] ugolemeffects(damtype, dam) ^ polyself.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] armor_to_dragon(atyp) ^ 10 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o potion.o potion.c In file included from potion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ potion.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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: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] make_stunned(xtime,talk) ^ potion.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] make_sick(xtime, cause, talk, type) ^ potion.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] make_vomiting(xtime, talk) ^ potion.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] make_blinded(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_hallucinated(xtime, talk, mask) ^ potion.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] dopotion(otmp) ^ potion.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] peffects(otmp) ^ potion.c:985: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:1007: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:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] potionhit(mon, obj, your_fault) ^ potion.c:1295: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: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] mixtype(o1, o2) ^ potion.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] get_wet(obj) ^ potion.c:1818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dip(potion, obj) ^ potion.c:2209: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:2257: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) ^ 22 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o pray.o pray.c In file included from pray.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ pray.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] fix_worst_trouble(trouble) ^ pray.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] god_zaps_you(resp_god) ^ pray.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] fry_by_god(resp_god) ^ pray.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] angrygods(resp_god) ^ pray.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] at_your_feet(str) ^ pray.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] pleased(g_align) ^ pray.c:1077: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: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] godvoice(g_align, words) ^ pray.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] gods_angry(g_align) ^ pray.c:1129: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: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] consume_offering(otmp) ^ pray.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] can_pray(praying) ^ pray.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] a_gname_at(x,y) /* returns the name of an altar's deity */ ^ pray.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] align_gname(alignment) ^ pray.c:1949: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:1959: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_gname(role) ^ pray.c:1980: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:1996: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:2014: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) ^ pray.c:2044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invoke_amulet(otmp) ^ 21 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o priest.o priest.c In file included from priest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ priest.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] move_special(mtmp,in_his_shop,appr,uondoor,avoid,omx,omy,gx,gy) ^ priest.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] temple_occupied(array) ^ priest.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] histemple_at(priest, x, y) ^ priest.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pri_move(priest) ^ priest.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] priestini(lvl, sroom, sx, sy, sanctum) ^ priest.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] priestname(mon, pname) ^ priest.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] p_coaligned(priest) ^ priest.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] has_shrine(pri) ^ priest.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] findpriest(roomno) ^ priest.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] intemple(roomno) ^ priest.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] priest_talk(priest) ^ priest.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] mk_roamer(ptr, alignment, x, y, peaceful) ^ priest.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] reset_hostility(roamer) ^ priest.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] in_your_sanctuary(mon, x, y) ^ priest.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ghod_hitsu(priest) /* when attacking "priest" in his temple */ ^ priest.c: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] restpriest(mtmp, ghostly) ^ 17 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o quest.o quest.c In file included from quest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ quest.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] is_pure(talk) ^ quest.c:154: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:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] finish_quest(obj) ^ quest.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] leader_speaks(mtmp) ^ quest.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] prisoner_speaks (mtmp) ^ quest.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] quest_chat(mtmp) ^ quest.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] quest_talk(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_stat_check(mtmp) ^ 9 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o questpgr.o questpgr.c In file included from questpgr.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ questpgr.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] Fread(ptr, size, nitems, stream) ^ questpgr.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] construct_qtlist(hdr_offset) ^ questpgr.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] quest_info(typ) ^ questpgr.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] is_quest_artifact(otmp) ^ questpgr.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] msg_in(qtm_list, msgnum) ^ questpgr.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] convert_arg(c) ^ questpgr.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] string_subst(str) ^ questpgr.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] deliver_by_pline(qt_msg) ^ questpgr.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] deliver_by_window(qt_msg, how) ^ questpgr.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] qt_com_firstline(msgnum, msgbuf) ^ questpgr.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] com_pager(msgnum) ^ questpgr.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] qt_pager(msgnum) ^ 13 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o read.o read.c In file included from read.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ read.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] stripspe(obj) ^ read.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] p_glow1(otmp) ^ read.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p_glow2(otmp,color) ^ read.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] is_chargeable(obj) ^ read.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] recharge(obj, curse_bless) ^ read.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] forget_single_object(obj_id) ^ read.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] randomize(indices, count) ^ read.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] forget_objects(percent) ^ read.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] forget_map(howmuch) ^ read.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] forget_levels(percent) ^ read.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] maybe_tame(mtmp, sobj) ^ read.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] undo_flood(x, y, roomcnt) ^ read.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_flood(x, y, poolcnt) ^ read.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] seffects(sobj) ^ read.c:1625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wand_explode(obj) ^ read.c: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] set_lit(x,y,val) ^ read.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] litroom(on,obj) ^ read.c:1906: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, only_on_level) ^ read.c:2097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] punish(sobj) ^ read.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] cant_create(mtype, revival) ^ read.c:2264: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, by_player, drop_directly_to_floor) ^ read.c:2312: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, by_player) ^ 23 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o rect.o rect.c In file included from rect.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: 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:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_rect(r) ^ rect.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] intersect(r1, r2, r3) ^ rect.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remove_rect(r) ^ rect.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_rect(r) ^ rect.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] split_rects(r1, r2) ^ 7 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o region.o region.c In file included from region.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ region.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] inside_rect(r, x, y) ^ region.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] inside_region(reg, x, y) ^ region.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] create_region(rects, nrect) ^ region.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] add_rect_to_reg(reg, rect) ^ region.c:174: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:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remove_mon_from_reg(reg, mon) ^ region.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] mon_in_region(reg, mon) ^ region.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] free_region(reg) ^ region.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] add_region(reg) ^ region.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] remove_region(reg) ^ region.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] in_out_region(x, y) ^ region.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] m_in_out_region(mon, x, y) ^ region.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] update_monster_region(mon) ^ region.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] visible_region_at(x, y) ^ region.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] show_region(reg, x, y) ^ region.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] save_regions(fd, mode) ^ region.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rest_regions(fd, ghostly) ^ region.c:757: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: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] expire_gas_cloud(p1, p2) ^ region.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] revive_cthulhu(p1, p2) ^ region.c:939: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:996: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_cthulhu_death_cloud(x, y, radius, damage, duration) ^ region.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_gas_cloud(x, y, radius, damage, duration) ^ 24 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o restore.o restore.c In file included from restore.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ restore.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] inven_inuse(quietly) ^ restore.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] restlevchn(fd) ^ restore.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] restdamage(fd, ghostly) ^ restore.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] rest_lvl_sounds(fd) ^ restore.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] rest_mongen_override(fd) ^ restore.c:252: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: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] restmonchn(fd, ghostly) ^ restore.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] loadfruitchn(fd) ^ restore.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] freefruitchn(flist) ^ restore.c:401: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: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] restgamestate(fd, stuckid, steedid) ^ restore.c:421:14: warning: unused variable 'otmp' [-Wunused-variable] struct obj *otmp; ^ restore.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] restlevelstate(stuckid, steedid) ^ restore.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] restlevelfile(fd, ltmp) ^ restore.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] dorecover(fd) ^ restore.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] trickery(reason) ^ restore.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] getlev(fd, pid, lev, ghostly) ^ 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] add_id_mapping(gid, nid) ^ restore.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lookup_id_mapping(gid, nidp) ^ restore.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] reset_oattached_mids(ghostly) ^ restore.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] mread(fd, buf, len) ^ 22 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o rip.o rip.c In file included from rip.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ rip.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] center(line, text) ^ rip.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] genl_outrip(tmpwin, how) ^ 3 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o rnd.o rnd.c In file included from rnd.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ rnd.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] rn2(x) /**< 0 <= rn2(x) < x */ ^ rnd.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] rnl(x) /**< 0 <= rnl(x) < x; sometimes subtracting Luck */ ^ rnd.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] rnd(x) /**< 1 <= rnd(x) <= x */ ^ rnd.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] d(n,x) /**< n <= d(n,x) <= (n*x) */ ^ rnd.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rne(x) ^ rnd.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] rnz(i) ^ rnd.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] rnf(numerator, denominator) /**< @returns (rnf(n,d) < n/d) */ ^ 8 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o role.o role.c In file included from role.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ role.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] validrole(rolenum) ^ role.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] str2role(str) ^ role.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] validrace(rolenum, racenum) ^ role.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] randrace(rolenum) ^ role.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] str2race(str) ^ role.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] validgend(rolenum, racenum, gendnum) ^ role.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] randgend(rolenum, racenum) ^ role.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] str2gend(str) ^ role.c:774: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:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] randalign(rolenum, racenum) ^ role.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] str2align(str) ^ role.c:840: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: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] pick_role(racenum, gendnum, alignnum, pickhow) ^ role.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] ok_race(rolenum, racenum, gendnum, alignnum) ^ role.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] pick_race(rolenum, gendnum, alignnum, pickhow) ^ role.c:985: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: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] pick_gend(rolenum, racenum, alignnum, pickhow) ^ role.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] ok_align(rolenum, racenum, gendnum, alignnum) ^ role.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] pick_align(rolenum, racenum, gendnum, pickhow) ^ role.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] promptsep(buf, num_post_attribs) ^ role.c:1166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] role_gendercount(rolenum) ^ role.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] race_alignmentcount(racenum) ^ role.c:1192: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, alignnum) ^ role.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] build_plselection_prompt(buf, buflen, rolenum, racenum, gendnum, alignnum) ^ role.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] Hello(mtmp) ^ role.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] violated(cdt) ^ role.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] successful_cdt(cdt) ^ role.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] intended_cdt(cdt) ^ role.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] superfluous_cdt(cdt) ^ role.c:1744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] failed_cdt(cdt) ^ 31 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o rumors.o rumors.c In file included from rumors.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ rumors.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_rumors(fp) ^ rumors.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getrumor(truth, rumor_buf, exclude_cookie) ^ rumors.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outrumor(truth, mechanism) ^ rumors.c: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] init_oracles(fp) ^ rumors.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] save_oracles(fd, mode) ^ rumors.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] restore_oracles(fd) ^ rumors.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] outoracle(special, delphi) ^ rumors.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] doconsult(oracl) ^ 9 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o save.o save.c In file included from save.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ save.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] hangup(sig_unused) /* called as signal() handler, so sent at least one arg */ ^ save.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] savegamestate(fd, mode) ^ 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: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] bufon(fd) ^ save.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bufoff(fd) ^ save.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] bflush(fd) ^ save.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] bwrite(fd,loc,num) ^ save.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] bclose(fd) ^ save.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] savelevchn(fd, mode) ^ save.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] savedamage(fd, mode) ^ save.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] save_mongen_override(fd, or, mode) ^ save.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] save_lvl_sounds(fd, or, mode) ^ save.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] saveobjchn(fd, otmp, mode) ^ save.c:988: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:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] savetrapchn(fd, trap, mode) ^ save.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] savefruitchn(fd, mode) ^ save.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] free_percent_color_options(list_head) ^ save.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] free_text_color_options(list_head) ^ 19 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o shk.o shk.c In file included from shk.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ shk.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next_shkp(shkp, withbill) ^ shk.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] shkname(mtmp) /* called in do_name.c */ ^ shk.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] shkgone(mtmp) /* called in mon.c */ ^ shk.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] set_residency(shkp, zero_out) ^ shk.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] replshk(mtmp,mtmp2) ^ shk.c:233: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:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_unpaid(list) ^ shk.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] setpaid(shkp) ^ shk.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] addupbill(shkp) ^ shk.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] call_kops(shkp, nearshop) ^ shk.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] blkmar_guards(mtmp) ^ shk.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] bars_around_portal(removebars) ^ shk.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] inside_shop(x, y) ^ shk.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] u_left_shop(leavestring, newlev) ^ shk.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remote_burglary(x, y) ^ shk.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] rob_shop(shkp) ^ shk.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] u_entered_shop(enterstring) ^ shk.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] same_price(obj1, obj2) ^ 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] shop_debt(eshkp) ^ shk.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] inhishop(mtmp) ^ shk.c:860: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:877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tended_shop(sroom) ^ shk.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] onbill(obj, shkp, silent) ^ shk.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_contents(obj) ^ shk.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] obfree(obj, merge) ^ shk.c:988: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:1008: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: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] home_shk(shkp, killkops) ^ shk.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] pacify_shk(shkp) ^ shk.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] rile_shk(shkp) ^ shk.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] rouse_shk(shkp, verbosely) ^ shk.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] make_happy_shk(shkp, silentkops) ^ shk.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] hot_pursuit(shkp) ^ shk.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] make_angry_shk(shkp, ox, oy) ^ shk.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] cheapest_item(shkp) /* delivers the cheapest item on the list */ ^ shk.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] dopayobj(shkp, bp, obj_p, which, itemize) ^ shk.c:1745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paybill(croaked) ^ shk.c: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] inherits(shkp, numsk, croaked) ^ shk.c:1901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_repo_loc(eshkp) ^ shk.c:1956: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:1975: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: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] get_cost_of_shop_item(obj) ^ 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_cost(obj, shkp) ^ shk.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] contained_cost(obj, shkp, price, usell, unpaid_only) ^ shk.c:2170: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: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] dropped_container(obj, shkp, sale) ^ shk.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] picked_container(obj) ^ shk.c:2226: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:2264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unpaid_cost(unp_obj) ^ shk.c:2281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_one_tobill(obj, dummy) ^ shk.c: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] add_to_billobjs(obj) ^ shk.c:2339: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, dummy) ^ shk.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] shk_names_obj(shkp, obj, fmt, amt, arg) ^ shk.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] addtobill(obj, ininv, dummy, silent) ^ shk.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] append_honorific(buf) ^ shk.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] splitbill(obj, otmp) ^ shk.c:2551: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:2594: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: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] stolen_container(obj, shkp, price, ininv) ^ shk.c:2654: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:2736: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:2751: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:2970: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:3058: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:3096: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:3130: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:3175: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:3270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] repair_damage(shkp, tmp_dam, catchup) ^ shk.c:3400: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:3517: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:3531: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:3539: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:3631: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:3677: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:3835: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:3852: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: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] price_quote(first_obj) ^ shk.c:3919: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: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] shk_has_leather_jackets(shkp) ^ shk.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] shk_chat(shkp) ^ shk.c:4053: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:4073: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:4131: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:4168: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: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] costly_gold(x, y, amount) ^ shk.c:4212: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:4244: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:4283: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: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] Shk_Your(buf, obj) ^ shk.c:4303: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:4320: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) ^ 92 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o shknam.o shknam.c In file included from shknam.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ shknam.c:193:51: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Solleftea", "Ystad", "Avesta", "Sala", "Norrtlje", ^~~~ shknam.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] mkshobj_at(shp, sx, sy) ^ shknam.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] nameshk(shk, nlp) ^ shknam.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shkinit(shp, sroom) /* create a new shopkeeper in the given room */ ^ shknam.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] stock_room(shp_indx, sroom) ^ shknam.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] stock_blkmar(shp, sroom, sh) ^ shknam.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] saleable(shkp, obj) ^ shknam.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] get_shop_item(type) ^ 9 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o sit.o sit.c In file included from sit.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ sit.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] curse_objects(firstobj, ncurse, showmsg) ^ sit.c:358:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'boolean' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] boolean showmsg; ^ sit.c:8:65: note: previous declaration is here STATIC_DCL void FDECL(curse_objects, (struct obj *, int, boolean)); ^ 3 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o sounds.o sounds.c In file included from sounds.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ sounds.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] mon_in_room(mon, rmtyp) ^ sounds.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] growl_sound(mtmp) ^ sounds.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] growl(mtmp) ^ sounds.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] yelp(mtmp) ^ sounds.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] whimper(mtmp) ^ sounds.c:481: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: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] domonnoise(mtmp) ^ 8 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o sp_lev.o sp_lev.c In file included from sp_lev.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ sp_lev.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] splev_stack_init(st) ^ sp_lev.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] splev_stack_done(st) ^ sp_lev.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] splev_stack_push(st, v) ^ sp_lev.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] splev_stack_pop(st) ^ sp_lev.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] splev_stack_reverse(st) ^ sp_lev.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] opvar_new_str(s) ^ sp_lev.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] opvar_new_int(i) ^ sp_lev.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] opvar_new_coord(x,y) ^ sp_lev.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] opvar_new_region(x1,y1,x2,y2) ^ sp_lev.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] opvar_free_x(ov) ^ sp_lev.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] opvar_clone(ov) ^ sp_lev.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] opvar_var_conversion(coder, ov) ^ sp_lev.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] opvar_var_defined(coder, name) ^ sp_lev.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] splev_stack_getdat(coder, typ) ^ sp_lev.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] splev_stack_getdat_any(coder) ^ sp_lev.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] variable_list_del(varlist) ^ sp_lev.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] lvlfill_maze_grid(x1,y1,x2,y2,filling) ^ sp_lev.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lvlfill_solid(filling,lit) ^ sp_lev.c:448: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 flip_drawbridge_horizontal(lev) ^ sp_lev.c:462: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 flip_drawbridge_vertical(lev) ^ sp_lev.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] set_wall_property(x1,y1,x2,y2, prop) ^ sp_lev.c:860: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: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] is_ok_location(x, y, humidity) ^ sp_lev.c:949: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: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_location_coord(x, y, humidity, croom, crd) ^ 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_room_loc(x,y, croom) ^ sp_lev.c:1020: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: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] check_room(lowx, ddx, lowy, ddy, vault) ^ sp_lev.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_room(x,y,w,h,xal,yal,rtype,rlit) ^ sp_lev.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] create_subroom(proom, x, y, w, h, rtype, rlit) ^ sp_lev.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_door(dd, broom) ^ sp_lev.c:1430: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:1472: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:1496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spill_terrain(sp, croom) ^ sp_lev.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] noncoalignment(alignment) ^ sp_lev.c:1590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_monster(m,croom) ^ sp_lev.c:1806: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:2013: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: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] replace_terrain(terr, croom) ^ sp_lev.c:2096: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:2149: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: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] create_corridor(c) ^ sp_lev.c:2341: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: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] build_room(r, mkr) ^ sp_lev.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] light_region(tmpregion) ^ sp_lev.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] wallify_map(x1,y1,x2,y2) ^ sp_lev.c:2504: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:2585: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:2655: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:2676: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:2706: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:2721: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:2758:43: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case COREFUNC_ROLE: s = opvar_new_str(urole.name.m); splev_stack_push(coder->stack, s); break; ^~~~~~~~~~~~ sp_lev.c:2759:43: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case COREFUNC_RACE: s = opvar_new_str(urace.noun); splev_stack_push(coder->stack, s); break; ^~~~~~~~~~ sp_lev.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] spo_corefunc(coder, fn) ^ sp_lev.c:2904: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:2913: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:2925: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:2932: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:2958: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:2982: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:2991: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:3002: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:3028: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: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] spo_object(coder) ^ sp_lev.c:3324: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: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_initlevel(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_mon_generation(coder) ^ sp_lev.c:3415:6: warning: variable 'mon' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] if (!OV_pop_i(is_sym) || ^~~~~~~~~~~~~~~~~ sp_lev.c:3432:13: note: uninitialized use occurs here opvar_free(mon); ^~~ sp_lev.c:286:30: note: expanded from macro 'opvar_free' #define opvar_free(ov) { if (ov) { opvar_free_x(ov); ov = NULL; } else impossible("opvar_free(), %s", __FUNCTION__); } ^~ sp_lev.c:3415:6: note: remove the '||' if its condition is always false if (!OV_pop_i(is_sym) || ^~~~~~~~~~~~~~~~~~~~ sp_lev.c:3412:36: note: initialize the variable 'mon' to silence this warning struct opvar *mfreq, *is_sym, *mon; ^ = NULL sp_lev.c:3415:6: warning: variable 'mfreq' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] if (!OV_pop_i(is_sym) || ^~~~~~~~~~~~~~~~~~~~ sp_lev.c:3421:23: note: uninitialized use occurs here mgtuple->freq = OV_i(mfreq); ^~~~~ sp_lev.c:200:18: note: expanded from macro 'OV_i' #define OV_i(o) (o->vardata.l) ^ sp_lev.c:3415:6: note: remove the '||' if its condition is always false if (!OV_pop_i(is_sym) || ^~~~~~~~~~~~~~~~~~~~ sp_lev.c:3415:6: warning: variable 'mfreq' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] if (!OV_pop_i(is_sym) || ^~~~~~~~~~~~~~~~~ sp_lev.c:3421:23: note: uninitialized use occurs here mgtuple->freq = OV_i(mfreq); ^~~~~ sp_lev.c:200:18: note: expanded from macro 'OV_i' #define OV_i(o) (o->vardata.l) ^ sp_lev.c:3415:6: note: remove the '||' if its condition is always false if (!OV_pop_i(is_sym) || ^~~~~~~~~~~~~~~~~~~~ sp_lev.c:3412:21: note: initialize the variable 'mfreq' to silence this warning struct opvar *mfreq, *is_sym, *mon; ^ = NULL sp_lev.c:3440: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_sounds(coder) ^ sp_lev.c:3465:6: warning: variable 'msg' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] if (!OV_pop_i(flags) || !OV_pop_s(msg)) { ^~~~~~~~~~~~~~~~ sp_lev.c:3470:47: note: uninitialized use occurs here mg->sounds[OV_i(n_tuples)].msg = strdup(OV_s(msg)); ^~~ sp_lev.c:201:18: note: expanded from macro 'OV_s' #define OV_s(o) (o->vardata.str) ^ sp_lev.c:3465:6: note: remove the '||' if its condition is always false if (!OV_pop_i(flags) || !OV_pop_s(msg)) { ^~~~~~~~~~~~~~~~~~~ sp_lev.c:3463:27: note: initialize the variable 'msg' to silence this warning struct opvar *flags, *msg; ^ = NULL sp_lev.c:3487: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:3506: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:3525: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:3593: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:3616: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: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] spo_ladder(coder) ^ sp_lev.c:3667: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:3693: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:3715: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_wallwalk(coder) ^ sp_lev.c:3740: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:3759: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:3775: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:3807: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:3825: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:3836: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:3848: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:3865: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:3894: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: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] selection_filter_percent(ov, percent) ^ sp_lev.c:3934: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) ^ sp_lev.c:3964: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:3996: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) ^ sp_lev.c:4028: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:4091: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:4115: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:4166: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) /* bresenham line algo */ ^ sp_lev.c:4218: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:4261: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: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] sel_set_ter(x,y,arg) ^ sp_lev.c:4292: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:4301: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: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] spo_door(coder) ^ sp_lev.c:4353: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:4372: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:4390: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: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] spo_spill(coder) ^ sp_lev.c:4447: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:4536: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:4642: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:4663: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:4736: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:4759: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:4785: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:4793: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:4825: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:4993: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:5008: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:5041: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:5147: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_array_length(coder) ^ sp_lev.c:5179: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:5210: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:5668:7: warning: variable 'tmp2' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] if (!OV_pop_i(tmp3) || !OV_pop_c(tmp) || !OV_pop_c(tmp2)) panic("no ter sel randline"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sp_lev.c:5670:60: note: uninitialized use occurs here get_location_coord(&x2, &y2, ANY_LOC, coder->croom, OV_i(tmp2)); ^~~~ sp_lev.c:200:18: note: expanded from macro 'OV_i' #define OV_i(o) (o->vardata.l) ^ sp_lev.c:5668:7: note: remove the '||' if its condition is always false if (!OV_pop_i(tmp3) || !OV_pop_c(tmp) || !OV_pop_c(tmp2)) panic("no ter sel randline"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sp_lev.c:5668:7: warning: variable 'tmp2' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] if (!OV_pop_i(tmp3) || !OV_pop_c(tmp) || !OV_pop_c(tmp2)) panic("no ter sel randline"); ^~~~~~~~~~~~~~~ sp_lev.c:5670:60: note: uninitialized use occurs here get_location_coord(&x2, &y2, ANY_LOC, coder->croom, OV_i(tmp2)); ^~~~ sp_lev.c:200:18: note: expanded from macro 'OV_i' #define OV_i(o) (o->vardata.l) ^ sp_lev.c:5668:7: note: remove the '||' if its condition is always false if (!OV_pop_i(tmp3) || !OV_pop_c(tmp) || !OV_pop_c(tmp2)) panic("no ter sel randline"); ^~~~~~~~~~~~~~~~~~ sp_lev.c:5666:27: note: initialize the variable 'tmp2' to silence this warning struct opvar *tmp, *tmp2, *tmp3, *pt = selection_opvar(NULL); ^ = NULL sp_lev.c:5668:7: warning: variable 'tmp' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] if (!OV_pop_i(tmp3) || !OV_pop_c(tmp) || !OV_pop_c(tmp2)) panic("no ter sel randline"); ^~~~~~~~~~~~~~~ sp_lev.c:5669:60: note: uninitialized use occurs here get_location_coord(&x1, &y1, ANY_LOC, coder->croom, OV_i(tmp)); ^~~ sp_lev.c:200:18: note: expanded from macro 'OV_i' #define OV_i(o) (o->vardata.l) ^ sp_lev.c:5668:7: note: remove the '||' if its condition is always false if (!OV_pop_i(tmp3) || !OV_pop_c(tmp) || !OV_pop_c(tmp2)) panic("no ter sel randline"); ^~~~~~~~~~~~~~~~~~ sp_lev.c:5666:20: note: initialize the variable 'tmp' to silence this warning struct opvar *tmp, *tmp2, *tmp3, *pt = selection_opvar(NULL); ^ = NULL sp_lev.c:5651:7: warning: variable 'tmp2' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] if (!OV_pop_c(tmp) || !OV_pop_c(tmp2)) panic("no ter sel linecoord"); ^~~~~~~~~~~~~~ sp_lev.c:5653:60: note: uninitialized use occurs here get_location_coord(&x2, &y2, ANY_LOC, coder->croom, OV_i(tmp2)); ^~~~ sp_lev.c:200:18: note: expanded from macro 'OV_i' #define OV_i(o) (o->vardata.l) ^ sp_lev.c:5651:7: note: remove the '||' if its condition is always false if (!OV_pop_c(tmp) || !OV_pop_c(tmp2)) panic("no ter sel linecoord"); ^~~~~~~~~~~~~~~~~ sp_lev.c:5649:27: note: initialize the variable 'tmp2' to silence this warning struct opvar *tmp, *tmp2, *pt = selection_opvar(NULL); ^ = NULL sp_lev.c:5807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sp_lev_cache(fnam) ^ sp_lev.c:5820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sp_lev_savecache(fnam, lvl) ^ sp_lev.c:5833: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) ^ sp_lev.c:5841:27: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (!(lvl = sp_lev_cache(name))) { ^~~~ sp_lev.c:5853:43: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (in_mk_rndvault) sp_lev_savecache(name, lvl); ^~~~ 134 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o spell.o spell.c In file included from spell.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ spell.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] spell_let_to_idx(ilet) ^ spell.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] cursed_book(bp) ^ spell.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] confused_book(spellbook) ^ spell.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] deadbook(book2) ^ spell.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] study_book(spellbook) ^ spell.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] book_disappears(obj) ^ spell.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] book_substitution(old_obj, new_obj) ^ spell.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] getspell(spell_no) ^ spell.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] spelltypemnemonic(skill) ^ spell.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] spell_skilltype(booktype) ^ spell.c:672: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: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] spelleffects(spell, atme) ^ spell.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spellet(spell) ^ spell.c:1030: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_spellorder(str) ^ spell.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] dospellmenu(prompt, splaction, spell_no) ^ spell.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] percent_success(spell) ^ spell.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] initialspell(obj) ^ 18 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o steal.o steal.c In file included from steal.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: 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: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] stealgold(mtmp) ^ steal.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] remove_worn_item(obj, unchain_ball) ^ steal.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] steal(mtmp, objnambuf) ^ steal.c: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] mpickobj(mtmp,otmp) ^ steal.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] stealamulet(mtmp) ^ steal.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] mdrop_obj(mon, obj, verbosely) ^ steal.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] mdrop_special_objs(mon) ^ steal.c:569: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) ^ 10 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o steed.o steed.c In file included from steed.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ steed.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] can_saddle(mtmp) ^ steed.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] use_saddle(otmp) ^ steed.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] can_ride(mtmp) ^ steed.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mount_steed(mtmp, force) ^ steed.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] 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: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] place_monster(mon, x, y) ^ 8 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o teleport.o teleport.c In file included from teleport.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ teleport.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] badpos(x, y, mtmp, gpflags) ^ teleport.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] goodpos(x, y, mtmp, gpflags) ^ teleport.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] enexto(cc, xx, yy, mdat) ^ teleport.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] enexto_core(cc, xx, yy, mdat, entflags) ^ teleport.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] enexto_core_range(cc, xx, yy, mdat, entflags, start_range) ^ teleport.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] epathto(cc, nc, xx, yy, mdat) ^ teleport.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tele_jump_ok(x1, y1, x2, y2) ^ teleport.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] teleok(x, y, trapok) ^ teleport.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] teleds(nux, nuy, allow_drag) ^ teleport.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] safe_teleds(allow_drag) ^ teleport.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] teleport_pet(mtmp, force_it) ^ teleport.c:1073: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:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tele_trap(trap) ^ teleport.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] level_tele_trap(trap) ^ teleport.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] rloc_pos_ok(x, y, mtmp) ^ teleport.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] rloc_to(mtmp, x, y) ^ teleport.c:1251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rloc(mtmp, suppress_impossible) ^ teleport.c:1304: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: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] tele_restrict(mon) ^ teleport.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] mtele_trap(mtmp, trap, in_sight) ^ teleport.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] mlevel_tele_trap(mtmp, trap, force_it, in_sight) ^ teleport.c:1446: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: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] u_teleport_mon(mtmp, give_feedback) ^ 24 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o timeout.o timeout.c In file included from timeout.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ timeout.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] fall_asleep(how_long, wakeup_msg) ^ timeout.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] attach_egg_hatch_timeout(egg) ^ timeout.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kill_egg(egg) ^ timeout.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] hatch_egg(arg, timeout) ^ timeout.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] learn_egg_type(mnum) ^ timeout.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] attach_fig_transform_timeout(figurine) ^ timeout.c:757: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:774: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: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] burn_object(arg, timeout) ^ timeout.c:1098: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: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] end_burn(obj, timer_attached) ^ timeout.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] cleanup_burn(arg, expire_time) ^ timeout.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kind_name(kind) ^ timeout.c:1391: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: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] start_timer(when, kind, func_index, arg) ^ timeout.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] stop_timer(func_index, arg) ^ timeout.c:1550: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:1572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] obj_split_timers(src, dest) ^ timeout.c:1592: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:1618: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: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] remove_timer(base, func_index, arg) ^ timeout.c:1657: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: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] obj_is_local(obj) ^ 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] mon_is_local(mon) ^ timeout.c:1750: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:1769: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:1814: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:1853: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: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] relink_timers(ghostly) ^ 30 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o topten.o topten.c In file included from topten.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ topten.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] topten_print(x) ^ topten.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] topten_print_bold(x) ^ topten.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] observable_depth(lev) ^ topten.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] readentry(rfile,tt) ^ 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] writeentry(rfile,tt) ^ topten.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] munge_xlstring(dest, src, n) ^ topten.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] write_xlentry(rfile,tt) ^ topten.c: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] free_ttlist(tt) ^ topten.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] topten(how) ^ topten.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] outentry(rank, t1, so) ^ topten.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] score_wanted(current_ver, rank, t1, playerct, players, uid) ^ topten.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] prscore(argc,argv) ^ topten.c:1265: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: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] tt_oname(otmp) ^ 15 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o track.o track.c In file included from track.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ track.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gettrack(x, y) ^ 2 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o trap.o trap.c In file included from trap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ trap.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] burnarmor(victim) ^ trap.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] rust_dmg(otmp, ostr, type, print, victim) ^ trap.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] grease_protect(otmp,ostr,victim) ^ trap.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] maketrap(x,y,typ) ^ trap.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fall_through(td) ^ trap.c: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] animate_statue(statue, x, y, cause, fail_reason) ^ trap.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] activate_statue_trap(trap, x, y, shatter) ^ 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] keep_saddle_with_steedcorpse(steed_mid, objchn, saddle) ^ trap.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] dotrap(trap, trflags) ^ trap.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] steedintrap(trap, otmp) ^ trap.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] blow_up_landmine(trap) ^ trap.c:1357: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: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] seetrap(trap) ^ trap.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] mkroll_launch(ttmp, x, y, otyp, ocount) ^ trap.c:1674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isclearpath(cc,distance,dx,dy) ^ trap.c:1697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mintrap(mtmp) ^ trap.c:2287: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: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] minstapetrify(mon,byplayer) ^ trap.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] instadisintegrate(str) ^ trap.c:2343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] minstadisintegrate(mon) ^ trap.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] selftouch(arg) ^ trap.c:2391: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:2465: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:2480: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:2612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doicetrap(box) ^ trap.c:2637: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: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] fire_damage(chain, force, here, x, y) ^ trap.c:2897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] water_damage(obj, force, here) ^ trap.c: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] emergency_disrobe(lostsome) ^ trap.c:3195: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:3233: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: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] cnv_trap_obj(otyp, cnt, ttmp) ^ trap.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] move_into_trap(ttmp) ^ trap.c:3304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] try_disarm(ttmp, force_failure) ^ trap.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] reward_untrap(ttmp, mtmp) ^ trap.c:3413: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:3445: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:3461: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: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] disarm_shooting_trap(ttmp, otyp) ^ trap.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] try_lift(mtmp, ttmp, wt, stuff) ^ trap.c:3535: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: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] untrap(force) ^ trap.c:3892: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:4070: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:4082: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:4097: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:4131: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: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] thitm(tlev, mon, obj, d_override, nocorpse) ^ trap.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] decrease_mon_trapcounter(mon) ^ 50 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o tutorial.o tutorial.c In file included from tutorial.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ tutorial.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_tutorial_message(msgnum) ^ tutorial.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] check_tutorial_oclass(oclass) ^ tutorial.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] check_tutorial_location(lx, ly, from_farlook) ^ tutorial.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] check_tutorial_farlook(x, y) ^ tutorial.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] check_tutorial_command(c) ^ tutorial.c:156:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char c; ^ ../include/extern.h:2653:43: note: previous declaration is here E void FDECL(check_tutorial_command, (char)); ^ 7 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o u_init.o u_init.c In file included from u_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ u_init.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] knows_object(obj) ^ u_init.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] knows_class(sym) ^ u_init.c:1017: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:1053: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 -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o uhitm.o uhitm.c In file included from uhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ uhitm.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] hurtmarmor(mdef, attk) ^ uhitm.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] attack_checks(mtmp, wep) ^ uhitm.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] check_caitiff(mtmp) ^ uhitm.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] find_roll_to_hit(mtmp) ^ uhitm.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] attack(mtmp) ^ uhitm.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] known_hitum(mon, mhit, uattk) /* returns TRUE if monster still lives */ ^ uhitm.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] hitum(mon, tmp, uattk) /* returns TRUE if monster still lives */ ^ uhitm.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] hmon(mon, obj, thrown) /* return TRUE if mon still alive */ ^ uhitm.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hmon_hitmon(mon, obj, thrown) ^ uhitm.c: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] noisy_hit(mtmp,otmp,thrown) ^ uhitm.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] shade_aware(obj) ^ uhitm.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] m_slips_free(mdef, mattk) ^ uhitm.c:1390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] joust(mon, obj) ^ uhitm.c:1451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] steal_it(mdef, mattk) ^ uhitm.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] damageum(mdef, mattk) ^ uhitm.c:1953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] explum(mdef, mattk) ^ uhitm.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] start_engulf(mdef) ^ uhitm.c:2032: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:2224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] missum(mdef,mattk) ^ uhitm.c:2239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hmonas(mon, tmp) /* attack monster as a monster. */ ^ uhitm.c:2490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] passive(mon, mhit, malive, aatyp) ^ uhitm.c:2703: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:2762: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: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] nohandglow(mon) ^ uhitm.c:2823: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) ^ 26 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o unicode.o unicode.c In file included from unicode.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o vault.o vault.c In file included from vault.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: 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] clear_fcorr(grd, forceshow) ^ vault.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] restfakecorr(grd) ^ vault.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] grddead(grd) /* called in mon.c */ ^ vault.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] in_fcorridor(grd, x, y) ^ vault.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vault_occupied(array) ^ vault.c: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] move_gold(gold, vroom) ^ vault.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] wallify_vault(grd) ^ vault.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gd_move(grd) ^ 9 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o vision.o vision.c In file included from vision.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ vision.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] does_block(x,y,lev) ^ vision.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_unused_cs(rows, rmin, rmax) ^ vision.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] rogue_vision(next, rmin, rmax) ^ vision.c:497: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: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] block_point(x,y) ^ vision.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] unblock_point(x,y) ^ vision.c:908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dig_point(row,col) ^ vision.c:989: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: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] clear_path(col1,row1,col2,row2) ^ vision.c:2198: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, left, right_mark, limits) ^ vision.c:2378: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, left_mark, right, limits) ^ vision.c:2498: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:2593: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) ^ 14 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o vis_tab.o vis_tab.c In file included from vis_tab.c:2: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o weapon.o weapon.c In file included from weapon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ weapon.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] give_may_advance_msg(skill) ^ weapon.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] hitval(otmp, mon) ^ weapon.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] dmgval(otmp, mon) ^ weapon.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] oselect(mtmp, x) ^ weapon.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] select_rwep(mtmp) /* select a ranged weapon for the monster */ ^ 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] select_hwep(mtmp) /* select a hand to hand weapon for the monster */ ^ weapon.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] possibly_unwield(mon, polyspot) ^ weapon.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] mon_wield_item(mon) ^ weapon.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] skill_level_name(skill, buf) ^ weapon.c:759: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:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] can_advance(skill, speedy) ^ weapon.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] could_advance(skill) ^ weapon.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] peaked_skill(skill) ^ weapon.c:838: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_almost_advance(skill) ^ weapon.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] skill_advance(skill) ^ 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] unrestrict_weapon_skill(skill) ^ weapon.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] use_skill(skill,degree) ^ weapon.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] add_weapon_skill(n) ^ weapon.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] lose_weapon_skill(n) ^ weapon.c:1165: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:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] weapon_hit_bonus(weapon) ^ weapon.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] weapon_dam_bonus(weapon) ^ weapon.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] skill_init(class_skill) ^ weapon.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] setmnotwielded(mon,obj) ^ 25 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o were.o were.c In file included from were.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ were.c:8: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:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] counter_were(pm) ^ were.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] new_were(mon) ^ were.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] were_summon(ptr,yours,visible,genbuf) /* were-creature (even you) summons a horde */ ^ were.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] you_unwere(purify) ^ 6 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o wield.o wield.c In file included from wield.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ wield.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] 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] ready_weapon(wep) ^ wield.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] setuqwep(obj) ^ wield.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] setuswapwep(obj) ^ wield.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wield(prompt_for_obj) ^ wield.c:251:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'boolean' (aka 'signed char') declared in a previous prototype [-Wknr-promoted-parameter] boolean prompt_for_obj; ^ wield.c:55:26: note: previous declaration is here static int wield(boolean prompt_for_obj); ^ wield.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] wield_tool(obj, verb) ^ wield.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] erode_obj(target, acid_dmg, fade_scrolls) ^ wield.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] chwepon(otmp, amount) ^ wield.c:806: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: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] weldmsg(obj) ^ 12 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o windows.o windows.c In file included from windows.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ windows.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] def_raw_print(s) ^ windows.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] choose_windows(s) ^ windows.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] genl_message_menu(let, how, mesg) ^ windows.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] genl_preference_update(pref) ^ 5 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o wizard.o wizard.c In file included from wizard.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ wizard.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] mon_has_amulet(mtmp) ^ wizard.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] mon_has_special(mtmp) ^ wizard.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] which_arti(mask) ^ wizard.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] mon_has_arti(mtmp, otyp) ^ wizard.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] other_mon_has_arti(mtmp, otyp) ^ wizard.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] on_ground(otyp) ^ wizard.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] you_have(mask) ^ wizard.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] target_on(mask, mtmp) ^ wizard.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] strategy(mtmp) ^ wizard.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tactics(mtmp) ^ wizard.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] nasty(mcast) ^ wizard.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cuss(mtmp) ^ 13 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o worm.o worm.c In file included from worm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: 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: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] toss_wsegs(curr, display_update) ^ worm.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] shrink_worm(wnum) ^ worm.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] worm_move(worm) ^ worm.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] worm_nomove(worm) ^ worm.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] wormgone(worm) ^ worm.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] wormhitu(worm) ^ worm.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] cutoff(worm, tail) ^ worm.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cutworm(worm, x, y, weap) ^ worm.c: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] see_wsegs(worm) ^ worm.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] detect_wsegs(worm, use_detection_glyph) ^ worm.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] save_worm(fd, mode) ^ worm.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] rest_worm(fd) ^ worm.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] place_wsegs(worm) ^ worm.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] remove_worm(worm) ^ worm.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] place_worm_tail_randomly(worm, x, y) ^ worm.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] random_dir(x, y, nx, ny) ^ worm.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] count_wsegs(mtmp) ^ worm.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] create_worm_tail(num_segs) ^ worm.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] worm_known(worm) ^ worm.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flip_worm_segs_vertical(worm, y) ^ worm.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] flip_worm_segs_horizontal(worm, x) ^ 23 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o worn.o worn.c In file included from worn.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ worn.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] setworn(obj, mask) ^ worn.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setnotworn(obj) ^ worn.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] mon_set_minvis(mon) ^ worn.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] mon_adjust_speed(mon, adjust, obj) ^ worn.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_mon_intrinsics(mon, obj, on, silently) ^ worn.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] find_mac(mon) ^ worn.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] m_dowear(mon, creation) ^ worn.c:444: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: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] which_armor(mon, flag) ^ worn.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] m_lose_armor(mon, obj) ^ worn.c:631: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: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] mon_break_armor(mon, polyspot) ^ worn.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extra_pref(mon, obj) ^ worn.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] racial_exception(mon, obj) ^ 15 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o write.o write.c In file included from write.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ write.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cost(otmp) ^ write.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dowrite(pen) ^ 3 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o zap.o zap.c In file included from zap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ zap.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] bhitm(mtmp, otmp) ^ zap.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] probe_monster(mtmp) ^ zap.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] get_obj_location(obj, xp, yp, locflags) ^ zap.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] get_mon_location(mon, xp, yp, locflags) ^ zap.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] montraits(obj,cc) ^ zap.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] get_container_location(obj, loc, container_nesting) ^ zap.c:578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] revive(obj) ^ zap.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] revive_egg(obj) ^ zap.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] unturn_dead(mon) ^ zap.c:789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] costly_cancel(obj) ^ zap.c:819:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] boolean cancellable(obj) ^ zap.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cancel_item(obj) ^ zap.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] drain_item(obj) ^ zap.c: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] obj_resists(obj, ochance, achance) ^ zap.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] obj_shudders(obj) ^ zap.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] polyuse(objhdr, mat, minwt) ^ zap.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_polymon(obj, okind) ^ zap.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] do_osshock(obj) ^ zap.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] poly_obj(obj, id) ^ zap.c:1518: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: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] bhitpile(obj,fhito,tx,ty) ^ zap.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] zappable(wand) ^ zap.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] zapnodir(obj) ^ zap.c:1885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] backfire(otmp) ^ zap.c:1952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zapyourself(obj, ordinary) ^ zap.c:2247: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: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] cancel_monst(mdef, obj, youattack, allow_cancel_kill, self_cancel) ^ zap.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] zap_updown(obj) ^ zap.c:2640: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:2724: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:2753: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:2763: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:2777: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:2806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bhit(ddx,ddy,range,weapon,fhitm,fhito,obj,obj_destroyed) ^ zap.c:3036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] boomhit(dx, dy) ^ zap.c:3095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zhitm(mon, type, nd, ootmp) /* returns damage to mon */ ^ zap.c:3266: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:3395: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_icewall(x, y) ^ zap.c:3412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] melt_ice(x, y) ^ zap.c:3450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] burn_floor_paper(x, y, give_feedback, u_caused) ^ zap.c:3500: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:3524: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:3822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zap_over_floor(x, y, type, shopdamage) ^ zap.c:4061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fracture_rock(obj) /* fractured by pick-axe or wand of striking */ ^ zap.c:4088: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:4122: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:4247: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:4345: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:4392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makewish(magical) ^ 50 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../sys/share/ioctl.c In file included from ./../sys/share/ioctl.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../sys/unix/unixmain.c In file included from ./../sys/unix/unixmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./../sys/unix/unixmain.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc,argv) ^ ./../sys/unix/unixmain.c: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] process_options(argc, argv) ^ ./../sys/unix/unixmain.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] chdirx(dir, wr) ^ ./../sys/unix/unixmain.c:546: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) ^ 5 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../sys/share/unixtty.c In file included from ./../sys/share/unixtty.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./../sys/share/unixtty.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] speednum(speed) ^ ./../sys/share/unixtty.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] settty(s) ^ 3 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../sys/unix/unixunix.c In file included from ./../sys/unix/unixunix.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./../sys/unix/unixunix.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] veryold(fd) ^ ./../sys/unix/unixunix.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regularize(s) /* normalize file name - we don't like .'s, /'s, spaces */ ^ ./../sys/unix/unixunix.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] make_file_name(filearea, filename) ^ ./../sys/unix/unixunix.c:401: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_area(filearea, filename, mode, use_scoreprefix) ^ ./../sys/unix/unixunix.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] chmod_area(filearea, filename, mode) ^ ./../sys/unix/unixunix.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] open_area(filearea, filename, flags, mode) ^ ./../sys/unix/unixunix.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creat_area(filearea, filename, mode) ^ ./../sys/unix/unixunix.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] rename_area(filearea, oldfilename, newfilename) ^ ./../sys/unix/unixunix.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] remove_area(filearea, filename) ^ ./../sys/unix/unixunix.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] freopen_area(filearea, filename, mode, stream) ^ 11 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../sys/unix/unixres.c In file included from ./../sys/unix/unixres.c:17: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNO_MAIN -c ./../util/recover.c In file included from ./../util/recover.c:10: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./../util/recover.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] set_levelfile_name(lev) ^ ./../util/recover.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] open_levelfile(lev, directory) ^ ./../util/recover.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] copy_bytes(ifd, ofd) ^ ./../util/recover.c:223: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, directory) ^ 5 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../win/tty/getline.c In file included from ./../win/tty/getline.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./../win/tty/getline.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] 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: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] xwaitforspace(s) ^ ./../win/tty/getline.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] ext_cmd_getlin_hook(base) ^ 5 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../win/tty/termcap.c In file included from ./../win/tty/termcap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./../win/tty/termcap.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] convert_uchars(bufp,list,size) ^ ./../win/tty/termcap.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] tty_startup(wid, hgt) ^ ./../win/tty/termcap.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] tty_number_pad(state) ^ ./../win/tty/termcap.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] nocmov(x, y) ^ ./../win/tty/termcap.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] cmov(x, y) ^ ./../win/tty/termcap.c:680: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:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xputs(s) ^ ./../win/tty/termcap.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s_atr2str(n) ^ ./../win/tty/termcap.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] e_atr2str(n) ^ ./../win/tty/termcap.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] term_start_attr(attr) ^ ./../win/tty/termcap.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] term_end_attr(attr) ^ ./../win/tty/termcap.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] term_start_color(color) ^ ./../win/tty/termcap.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] has_color(color) ^ 14 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../win/tty/topl.c In file included from ./../win/tty/topl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./../win/tty/topl.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redotoplin(str) ^ ./../win/tty/topl.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] addtopl(s) ^ ./../win/tty/topl.c:214: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:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] topl_putsym(c) ^ ./../win/tty/topl.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] putsyms(str) ^ ./../win/tty/topl.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] removetopl(n) ^ ./../win/tty/topl.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] tty_yn_function(query,resp, def) ^ 8 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../win/tty/wintty.c In file included from ./../win/tty/wintty.c:11: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./../win/tty/wintty.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] bail(mesg) ^ ./../win/tty/wintty.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] tty_init_nhwindows(argcp,argv) ^ ./../win/tty/wintty.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tty_suspend_nhwindows(str) ^ ./../win/tty/wintty.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] tty_exit_nhwindows(str) ^ ./../win/tty/wintty.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] tty_create_nhwindow(type) ^ ./../win/tty/wintty.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_menu_or_text(window, cw, clear) ^ ./../win/tty/wintty.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_window_info(cw, free_data) ^ ./../win/tty/wintty.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] tty_clear_nhwindow(window) ^ ./../win/tty/wintty.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] dmore(cw, s) ^ ./../win/tty/wintty.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] set_item_state(window, lineno, item) ^ ./../win/tty/wintty.c:1211: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: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] unset_all_on_page(window, page_start, page_end) ^ ./../win/tty/wintty.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] invert_all_on_page(window, page_start, page_end, acc) ^ ./../win/tty/wintty.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] invert_all(window, page_start, page_end, acc) ^ ./../win/tty/wintty.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] strip_brackets(str) ^ ./../win/tty/wintty.c:1320: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(line, color, attr) ^ ./../win/tty/wintty.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] process_menu_window(window, cw) ^ ./../win/tty/wintty.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] process_text_window(window, cw) ^ ./../win/tty/wintty.c:1764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tty_display_nhwindow(window, blocking) ^ ./../win/tty/wintty.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] tty_dismiss_nhwindow(window) ^ ./../win/tty/wintty.c:1883: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:1904: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:1980: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: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] compress_str(str) ^ ./../win/tty/wintty.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] tty_putstr(window, attr, str) ^ ./../win/tty/wintty.c:2188: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(farea, fname, complain) ^ ./../win/tty/wintty.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] tty_start_menu(window) ^ ./../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_add_menu(window, glyph, cnt, identifier, ch, gch, attr, str, preselected) ^ ./../win/tty/wintty.c:2331: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:2352: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:2458: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:2501: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:2569: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:2629: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:2672: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:2713: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) ^ ./../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_raw_print(str) ^ ./../win/tty/wintty.c:2807: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:2869: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: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] copy_of(s) ^ 41 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o version.o version.c In file included from version.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ version.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] version_string(buf) ^ version.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] getversionstring(buf) ^ version.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] check_version(version_data, filename, complain) ^ version.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uptodate(fd, name) ^ version.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] store_version(fd) ^ version.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_feature_notice_ver(str) ^ 7 warnings generated. cc -DAUTOCONF -Wall -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o livelog.o livelog.c In file included from livelog.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. Loading ... cc -DAUTOCONF -fstack-protector-strong -o unnethack monst.o objects.o alloc.o allmain.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 dump.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 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 mksheol.o mon.o mondata.o monmove.o monstr.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 steal.o steed.o teleport.o timeout.o topten.o track.o trap.o tutorial.o u_init.o uhitm.o unicode.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 ioctl.o unixmain.o unixtty.o unixunix.o unixres.o recover.o getline.o termcap.o topl.o wintty.o version.o livelog.o -lncurses unnethack is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' ( cd util ; gmake recover ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[3]: '../include/date.h' is up to date. gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o recover.o recover.c In file included from recover.c:10: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: 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: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] set_levelfile_name(lev) ^ recover.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] open_levelfile(lev, directory) ^ recover.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] copy_bytes(ifd, ofd) ^ recover.c:223: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, directory) ^ 6 warnings generated. cc -DAUTOCONF -fstack-protector-strong -o recover recover.o gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd doc ; gmake Guidebook ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc' tbl ./tmac.n ./Guidebook.mn | nroff -c -Tascii | col -bx > Guidebook troff:./tmac.n:762: error: cannot load font 'S' for emboldening ./Guidebook.mn:199: warning: table wider than line length minus indentation troff:./Guidebook.mn:1969: warning [p 39, 7.8i]: cannot adjust line ./Guidebook.mn:2775: warning: table wider than line length minus indentation gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc' ( cd dat ; gmake data ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ../util/makedefs -d gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; gmake oracles ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ../util/makedefs -h gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; gmake options ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[2]: 'options' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; gmake quest.dat ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ../util/makedefs -q gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; gmake rumors ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ../util/makedefs -r gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd util ; gmake lev_comp ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' byacc -b lev -d ./lev_comp.y mv lev.tab.c lev_yacc.c mv lev.tab.h ../include/lev_comp.h cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o lev_yacc.o lev_yacc.c In file included from ./lev_comp.y:24: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./lev_comp.y:1182:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value] add_opvars(splev, "mio", SP_MAPCHAR_PACK(ROOM,-2), yystack.l_mark[0].i, SPO_WALLWALK); ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/sp_lev.h:295:44: note: expanded from macro 'SP_MAPCHAR_PACK' #define SP_MAPCHAR_PACK(typ,lit) ((( lit ) << 8) + ((char)( typ ))) ~~~~~~~ ^ ./lev_comp.y:2234:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] yyval.i = SP_MAPCHAR_PACK(what_map_char((char) yystack.l_mark[0].i), -2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/sp_lev.h:295:44: note: expanded from macro 'SP_MAPCHAR_PACK' #define SP_MAPCHAR_PACK(typ,lit) ((( lit ) << 8) + ((char)( typ ))) ~~~~~~~ ^ ./lev_comp.y:2237:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] yyval.i = SP_MAPCHAR_PACK(STONE, -2); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/sp_lev.h:295:44: note: expanded from macro 'SP_MAPCHAR_PACK' #define SP_MAPCHAR_PACK(typ,lit) ((( lit ) << 8) + ((char)( typ ))) ~~~~~~~ ^ ./lev_comp.y:2283:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value] yyval.i = SP_MONST_PACK(-1, yystack.l_mark[0].i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/sp_lev.h:287:36: note: expanded from macro 'SP_MONST_PACK' #define SP_MONST_PACK(m,c) ((( m ) << 8) + ((char)( c ))) ~~~~~ ^ ./lev_comp.y:2378:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value] yyval.i = SP_OBJ_PACK(-1, yystack.l_mark[0].i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/sp_lev.h:291:35: note: expanded from macro 'SP_OBJ_PACK' #define SP_OBJ_PACK(o,c) ((( o ) << 8) + ((char)( c ))) ~~~~~ ^ 6 warnings generated. rm -f lev_lex.yy.c flex -t ./lev_comp.l > lev_lex.yy.c mv lev_lex.yy.c lev_lex.c cc -DAUTOCONF -c -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lev_lex.c In file included from ./lev_comp.l:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./lev_comp.l:331:4: warning: call to undeclared function 'lc_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] lc_error("Unexpected percentile '%li%%'", yylval.i); ^ ./lev_comp.l:337:8: warning: call to undeclared function 'lc_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] lc_error("Unexpected percentile '%li%%'", yylval.i); ^ ./lev_comp.l:374: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 init_yyin( input_f ) ^ ./lev_comp.l:386: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 init_yyout( output_f ) ^ ./lev_comp.l: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] include_push(fname) ^ ./lev_comp.l:397:5: warning: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yyerror("Too deep includes"); ^ ./lev_comp.l:411:8: warning: call to undeclared function 'yyparse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] yyparse(); ^ ./lev_comp.l:498:5: warning: call to undeclared function 'lc_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] lc_error("Trying to use a method of unknown variable '%s'.", yylval); ^ ./lev_comp.l: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] corefunc_str_check(s, retval) ^ ./lev_comp.l:510:11: warning: call to undeclared function 'is_core_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] int f = is_core_func(s); ^ ./lev_comp.l:512:13: warning: call to undeclared function 'core_func_idx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] int i = core_func_idx(s); ^ ./lev_comp.l:515:2: warning: call to undeclared function 'lc_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] lc_error("Core function '%s' has unknown return type '%c'.", yylval.map, core_func_retval(i)); ^ ./lev_comp.l: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] savetoken(s) ^ ./lev_comp.l:545: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) ^ 15 warnings generated. gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[3]: '../include/date.h' is up to date. gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o lev_main.o lev_main.c In file included from lev_main.c:14: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ lev_main.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] main(argc, argv) ^ lev_main.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] yyerror(s) ^ lev_main.c:388:10: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] token_start_pos-strlen(curr_token), s); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lev_main.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] yywarning(s) ^ lev_main.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] decode_parm_chr(chr) ^ lev_main.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] decode_parm_str(str) ^ lev_main.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] handle_corefunc(splev, funcname, parmlist, retc) ^ lev_main.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] set_opvar_int(ov, val) ^ lev_main.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] set_opvar_coord(ov, val) ^ lev_main.c:573: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: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] set_opvar_mapchar(ov, val) ^ lev_main.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] set_opvar_monst(ov, val) ^ lev_main.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_opvar_obj(ov, val) ^ lev_main.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] set_opvar_str(ov, val) ^ lev_main.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] set_opvar_var(ov, val) ^ lev_main.c:718:61: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stderr, "add_opvars: unknown opcode '%i'.\n", i); ~~ ^ %li lev_main.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] break_stmt_end(splev) ^ lev_main.c:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] break_stmt_new(splev,i) ^ lev_main.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] funcdef_new(addr, name) ^ lev_main.c:797: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: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] funcdef_paramtypes(f) ^ lev_main.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] funcdef_defined(f, name, casesense) ^ lev_main.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vardef_new(typ, name) ^ lev_main.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vardef_free_all(fchain) ^ lev_main.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] vardef_defined(f, name, casesense) ^ lev_main.c:903: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:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vardef_used(vd, varname) ^ lev_main.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] check_vardef_type(vd, varname, vartype) ^ lev_main.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] add_vardef_type(vd, varname, vartype) ^ lev_main.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] reverse_jmp_opcode(opcode) ^ lev_main.c:989: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:1030: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:1045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_floor_type(c) ^ lev_main.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] get_room_type(s) ^ lev_main.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] get_trap_type(s) ^ lev_main.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] get_monster_id(s, c) ^ lev_main.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] get_object_id(s, c) ^ lev_main.c:1173: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:1183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_object_char(c) ^ lev_main.c:1193: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:1235: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: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] scan_map(map, sp) ^ lev_main.c:1349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_common_data(fd, lvl) ^ lev_main.c:1369: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:1543:60: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] snprintf(debuf, 127, "%li:\t%s\tcoord:(%i,%i)\n", i, opcodestr[tmpo.opcode], ~~~ ^ %i lev_main.c:1544:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (ov->vardata.l & 0xff), ((ov->vardata.l >> 16) & 0xff)); ^~~~~~~~~~~~~~~~~~~~~~ lev_main.c:1544:29: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (ov->vardata.l & 0xff), ((ov->vardata.l >> 16) & 0xff)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lev_main.c:1548:67: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] snprintf(debuf, 127, "%li:\t%s\tregion:(%i,%i,%i,%i)\n", i, opcodestr[tmpo.opcode], ~~~ ^ %i lev_main.c:1549:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (ov->vardata.l & 0xff), ((ov->vardata.l >> 8) & 0xff), ^~~~~~~~~~~~~~~~~~~~~~ lev_main.c:1549:29: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (ov->vardata.l & 0xff), ((ov->vardata.l >> 8) & 0xff), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lev_main.c:1550:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ((ov->vardata.l >> 16) & 0xff), ((ov->vardata.l >> 24) & 0xff)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lev_main.c:1550:37: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ((ov->vardata.l >> 16) & 0xff), ((ov->vardata.l >> 24) & 0xff)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lev_main.c:1555:5: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] i, opcodestr[tmpo.opcode], ^ lev_main.c:1556:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] SP_OBJ_TYP(ov->vardata.l), SP_OBJ_CLASS(ov->vardata.l)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/sp_lev.h:290:25: note: expanded from macro 'SP_OBJ_TYP' #define SP_OBJ_TYP(l) ((l >> 8) & 0xffff) ^~~~~~~~~~~~~~~~~~~ lev_main.c:1556:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] SP_OBJ_TYP(ov->vardata.l), SP_OBJ_CLASS(ov->vardata.l)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/sp_lev.h:289:27: note: expanded from macro 'SP_OBJ_CLASS' #define SP_OBJ_CLASS(l) (l & 0xff) ^~~~~~~~~~ lev_main.c:1560:74: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] snprintf(debuf, 127, "%li:\t%s\tmonster:(pm=%i, class='%c')\n", i, opcodestr[tmpo.opcode], ~~~ ^ %i lev_main.c:1561:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] SP_MONST_PM(ov->vardata.l), SP_MONST_CLASS(ov->vardata.l)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/sp_lev.h:286:26: note: expanded from macro 'SP_MONST_PM' #define SP_MONST_PM(l) ((l >> 8) & 0xffff) ^~~~~~~~~~~~~~~~~~~ lev_main.c:1561:33: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] SP_MONST_PM(ov->vardata.l), SP_MONST_CLASS(ov->vardata.l)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/sp_lev.h:285:27: note: expanded from macro 'SP_MONST_CLASS' #define SP_MONST_CLASS(l) (l & 0xff) ^~~~~~~~~~ lev_main.c:1565:63: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] snprintf(debuf, 127, "%li:\t%s\tmapchar:(%li,%i)\n", i, opcodestr[tmpo.opcode], ~~~ ^ %i lev_main.c:1566:5: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] (int)SP_MAPCHAR_TYP(ov->vardata.l), (schar)SP_MAPCHAR_LIT(ov->vardata.l)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lev_main.c:1571:59: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] snprintf(debuf, 127, "%li:\t%s\tint:%li\t# '%c'\n", i, opcodestr[tmpo.opcode], ov->vardata.l, (char)ov->vardata.l); ~~~ ^ %i lev_main.c:1573:51: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] snprintf(debuf, 127, "%li:\t%s\tint:%li\n", i, opcodestr[tmpo.opcode], ov->vardata.l); ~~~ ^ %i lev_main.c:1592:52: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] snprintf(debuf, 127, "%li:\t%s\tvar:$%s\n", i, opcodestr[tmpo.opcode], ov->vardata.str); ~~~ ^ %i lev_main.c:1594:55: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] snprintf(debuf, 127, "%li:\t%s\tstr:\"%s\"\n", i, opcodestr[tmpo.opcode], ov->vardata.str); ~~~ ^ %i lev_main.c:1597:50: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] snprintf(debuf, 127, "%li:\t%s\tstr:", i, opcodestr[tmpo.opcode]); ~~~ ^ %i lev_main.c:1616:44: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] snprintf(debuf, 127, "%li:\t%s\n", i, opcodestr[tmpo.opcode]); ~~~ ^ %i lev_main.c:1438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] decompile_maze(fd, maze) ^ lev_main.c:1625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mangle_fname(fname) ^ lev_main.c:1652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_level_file(filename, lvl) ^ 70 warnings generated. cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../src/drawing.c -o ../src/drawing_util.o In file included from ./../src/drawing.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./../src/drawing.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] def_char_to_objclass(ch) ^ ./../src/drawing.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] def_char_to_monclass(ch) ^ ./../src/drawing.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] assign_graphics(graph_chars, glth, maxlen, offset) ^ ./../src/drawing.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] switch_graphics(gr_set_flag) ^ ./../src/drawing.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] assign_utf8graphics_symbol(position, value) ^ ./../src/drawing.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] assign_rogue_graphics(is_rlevel) ^ 7 warnings generated. cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../src/decl.c -o ../src/decl_util.o In file included from ./../src/decl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 1 warning generated. cc -DAUTOCONF -fstack-protector-strong -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc_util.o panic.o ../src/drawing_util.o ../src/decl_util.o ../src/monst_util.o ../src/objects_util.o gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; gmake spec_levs ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' rm -f vaults.dat ../util/lev_comp ./vaults.des ../util/lev_comp ./advcal.des ../util/lev_comp ./bigroom.des ../util/lev_comp ./blkmar.des ../util/lev_comp ./castle.des ../util/lev_comp ./dragons.des ./dragons.des: line 100 : WARNING : Unknown room type "dragon shop"! Making ordinary room... ../util/lev_comp ./endgame.des ../util/lev_comp ./gehennom.des ../util/lev_comp ./heck.des ../util/lev_comp ./knox.des ../util/lev_comp ./medusa.des ../util/lev_comp ./nymph.des ../util/lev_comp ./town-?.des ../util/lev_comp ./moria.des ../util/lev_comp ./mines.des ../util/lev_comp ./oracle.des ../util/lev_comp ./sokoban.des ../util/lev_comp ./sheol.des ../util/lev_comp ./tower.des ../util/lev_comp ./yendor.des touch spec_levs gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; gmake quest_levs ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ../util/lev_comp ./Arch.des ../util/lev_comp ./Barb.des ../util/lev_comp ./Caveman.des ../util/lev_comp ./Convict.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 gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd util ; gmake dgn_comp ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' byacc -b dgn -d ./dgn_comp.y mv dgn.tab.c dgn_yacc.c mv dgn.tab.h ../include/dgn_comp.h gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[3]: '../include/date.h' is up to date. gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o dgn_yacc.o dgn_yacc.c In file included from ./dgn_comp.y:25: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: 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. rm -f dgn_lex.yy.c flex -t ./dgn_comp.l > dgn_lex.yy.c mv dgn_lex.yy.c dgn_lex.c cc -DAUTOCONF -c -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing dgn_lex.c In file included from ./dgn_comp.l:9: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./dgn_comp.l:120: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 init_yyin( input_f ) ^ ./dgn_comp.l:131: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 init_yyout( output_f ) ^ 3 warnings generated. cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o dgn_main.o dgn_main.c In file included from dgn_main.c:11: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: 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: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 yyerror(s) ^ dgn_main.c:175: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 yywarning(s) ^ 4 warnings generated. cc -DAUTOCONF -fstack-protector-strong -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc_util.o panic.o gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; gmake dungeon ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' data file compression, data librarian, debug mode, gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' ( cd src ; gmake ) gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[3]: 'unnethack' is up to date. gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' ( cd util ; gmake lev_comp ) gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[4]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[4]: '../include/date.h' is up to date. gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; gmake spec_levs ) gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[3]: 'spec_levs' is up to date. gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; gmake quest_levs ) gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[3]: 'quest_levs' is up to date. gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd util ; gmake dlb ) gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[4]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[4]: '../include/date.h' is up to date. gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./dlb_main.c In file included from ./dlb_main.c:7: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./dlb_main.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] realloc_ld(ld, len) ^ ./dlb_main.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] Write(out,buf,len) ^ ./dlb_main.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] eos(s) ^ ./dlb_main.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] fopen_datafile_area(filearea, filename, mode) ^ ./dlb_main.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] main(argc, argv) ^ ./dlb_main.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] write_dlb_directory(out, nfiles, ld, slen, dir_size, flen) ^ ./dlb_main.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] xexit(retcd) ^ 8 warnings generated. cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./../src/dlb.c -o ../src/dlb_util.o In file included from ./../src/dlb.c:5: In file included from ../include/config.h:477: In file included from ../include/global.h:184: In file included from ../include/unixconf.h:282: ../include/system.h:367: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:364:15: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ./../src/dlb.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] readlibdir(lp) ^ ./../src/dlb.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] find_file(name, lib, startp, sizep) ^ ./../src/dlb.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] open_library(lib_area, lib_name, lp) ^ ./../src/dlb.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] close_library(lp) ^ ./../src/dlb.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] lib_dlb_fopen(dp, name, mode) ^ ./../src/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_fclose(dp) ^ ./../src/dlb.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lib_dlb_fread(buf, size, quan, dp) ^ ./../src/dlb.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] lib_dlb_fseek(dp, pos, whence) ^ ./../src/dlb.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] lib_dlb_fgets(buf, len, dp) ^ ./../src/dlb.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] lib_dlb_fgetc(dp) ^ ./../src/dlb.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] lib_dlb_ftell(dp) ^ ./../src/dlb.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] dlb_fopen_area(area, name, mode) ^ ./../src/dlb.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dlb_fclose(dp) ^ ./../src/dlb.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dlb_fread(buf, size, quan, dp) ^ ./../src/dlb.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] dlb_fseek(dp, pos, whence) ^ ./../src/dlb.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] dlb_fgets(buf, len, dp) ^ ./../src/dlb.c:543: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) ^ ./../src/dlb.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dlb_ftell(dp) ^ 19 warnings generated. cc -DAUTOCONF -fstack-protector-strong -o dlb dlb_main.o ../src/dlb_util.o ../src/alloc_util.o panic.o gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; ../util/dlb cf nhdat help hh cmdhelp history opthelp wizhelp data oracles options quest.dat rumors vaults.dat dungeon asmod-?.lev baalz-?.lev bigrm-*.lev blkmar-?.lev castle-?.lev fakewiz?.lev vlt-*.lev juiblex.lev knox-?.lev town*.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus-?.lev sanctum.lev soko?-*.lev hellfill.lev nymph.lev drgn?.lev tower?.lev valley-?.lev wizard?.lev heck-?-?.lev sheolfil.lev palace_f.lev palace_e.lev sheolmid.lev advcal.lev moria?-*.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev ) gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' Done. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for unnethack-5.1.0.20131208_1 ===> Generating temporary packing list gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' ( cd src ; gmake ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[2]: 'unnethack' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' ( cd util ; gmake recover ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[3]: '../include/date.h' is up to date. gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; gmake data ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[2]: 'data' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; gmake oracles ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[2]: 'oracles' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; gmake options ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[2]: 'options' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; gmake quest.dat ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[2]: 'quest.dat' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; gmake rumors ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[2]: 'rumors' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd util ; gmake lev_comp ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[3]: '../include/date.h' is up to date. gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; gmake spec_levs ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[2]: 'spec_levs' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; gmake quest_levs ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[2]: 'quest_levs' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd util ; gmake dgn_comp ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[3]: '../include/date.h' is up to date. gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; gmake dungeon ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[2]: 'dungeon' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd doc; gmake Guidebook.txt ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc' tbl ./tmac.n ./Guidebook.mn | nroff -c -Tascii | col -bx > Guidebook.txt troff:./tmac.n:762: error: cannot load font 'S' for emboldening ./Guidebook.mn:199: warning: table wider than line length minus indentation troff:./Guidebook.mn:1969: warning [p 39, 7.8i]: cannot adjust line ./Guidebook.mn:2775: warning: table wider than line length minus indentation gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc' mkdir -p /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack mkdir -p /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/bin mkdir -p /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack/bones /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack/saves mkdir -p /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack/level /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack mkdir -p /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/doc/unnethack rmdir ./-p rmdir: ./-p: No such file or directory gmake[1]: [Makefile:316: install] Error 1 (ignored) true /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack/bones /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack/saves /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack/level true /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack/bones /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack/saves /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack/level chmod 0755 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack/bones /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack/saves /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack/level true /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack true /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack chmod 0755 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack ( gmake dofiles ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' target=`sed -n \ -e '/librarian/{' \ -e 's/.*/dlb/p' \ -e 'q' \ -e '}' \ -e '$s/.*/nodlb/p' < dat/options` ; \ gmake dofiles-${target-nodlb} gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' ( cd src ; gmake ) gmake[4]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[4]: 'unnethack' is up to date. gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' ( cd dat ; gmake options ) gmake[4]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[4]: 'options' is up to date. gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' data file compression, data librarian, debug mode, gmake[4]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' ( cd src ; gmake ) gmake[5]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[5]: 'unnethack' is up to date. gmake[5]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' ( cd util ; gmake lev_comp ) gmake[5]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[6]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[6]: '../include/date.h' is up to date. gmake[6]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[5]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; gmake spec_levs ) gmake[5]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[5]: 'spec_levs' is up to date. gmake[5]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; gmake quest_levs ) gmake[5]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[5]: 'quest_levs' is up to date. gmake[5]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd util ; gmake dlb ) gmake[5]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[6]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[6]: '../include/date.h' is up to date. gmake[6]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[5]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; ../util/dlb cf nhdat help hh cmdhelp history opthelp wizhelp data oracles options quest.dat rumors vaults.dat dungeon asmod-?.lev baalz-?.lev bigrm-*.lev blkmar-?.lev castle-?.lev fakewiz?.lev vlt-*.lev juiblex.lev knox-?.lev town*.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus-?.lev sanctum.lev soko?-*.lev hellfill.lev nymph.lev drgn?.lev tower?.lev valley-?.lev wizard?.lev heck-?-?.lev sheolfil.lev palace_f.lev palace_e.lev sheolmid.lev advcal.lev moria?-*.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev ) gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' ( cd dat ; cp nhdat /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack ) ( cd /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack ; \ true nhdat ; \ true nhdat ; \ chmod 0644 nhdat ) gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' (cd src; cp unnethack /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack) #cp ./sys/winnt/defaults.nh /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack cp ./sys/unix/defaults.nh /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack/unnethackrc.default cp util/recover /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack if test -f ./doc/Guidebook.txt ; then \ cp ./doc/Guidebook.txt /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/doc/unnethack; \ fi cp ./dat/license /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/doc/unnethack rm -f /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/bin/unnethack sed -e 's;/usr/games/lib/nethackdir;/usr/local/share/unnethack;' \ -e 's;HACKDIR/nethack;HACKDIR/unnethack;' \ < ./sys/unix/nethack.sh \ > /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/bin/unnethack ( cd /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack ; true unnethack recover ; \ true unnethack recover ) chmod 04755 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack/unnethack chmod 0755 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/unnethack/recover ( cd /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/doc/unnethack ; \ true license Guidebook.txt ; \ true license Guidebook.txt ; \ chmod 0644 license Guidebook.txt ) true /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/bin/unnethack true /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/bin/unnethack chmod 0755 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/bin/unnethack gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' ( cd /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack ; touch perm record logfile xlogfile ) ( cd /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/var/games/unnethack ; true perm record logfile xlogfile ; \ true perm record logfile xlogfile ; \ chmod 0644 perm record logfile xlogfile ) You may also want to reinstall the man pages via the doc Makefile. ( cd doc ; gmake manpages ) gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc' install -m 444 unnethack.6 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/man/man6/unnethack.6 install -m 444 lev_comp.6 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/man/man6/lev_comp.6 install -m 444 dgn_comp.6 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/man/man6/dgn_comp.6 install -m 444 recover.6 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/man/man6/recover.6 install -m 444 dlb.6 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/man/man6/dlb.6 gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' cd /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/man/man6; for f in /wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc/*.6; do fn=${f##*/}; case $fn in unnethack.6) ;; *) /bin/mv $fn unnethack_$fn ;; esac; done install -m 0644 /usr/ports/games/unnethack/files/sample.unnethackrc /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/doc/unnethack ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for unnethack-5.1.0.20131208_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for unnethack-5.1.0.20131208_1 build of games/unnethack | unnethack-5.1.0.20131208_1 ended at Fri Nov 17 03:46:22 CST 2023 build time: 00:01:01