=>> Building games/unnethack build started at 2025-06-08T17:27:40-05:00 port directory: /usr/ports/games/unnethack package name: unnethack-5.1.0.20131208_2 building for: FreeBSD 143amd64-current-job-06 14.3-RELEASE FreeBSD 14.3-RELEASE amd64 maintained by: ports@FreeBSD.org port version: 5.1.0.20131208 port revision: 2 Makefile datestamp: -rw-r--r-- 1 root wheel 1365 Jan 9 2024 /usr/ports/games/unnethack/Makefile Ports top last git commit: 9845af890dd7 Ports top unclean checkout: no =>> Inspecting /poudriere/data/.m/143amd64-current/06//usr/ports/games/unnethack for modifications to git checkout... no Port dir last git commit: a36cd930e200 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20250209 Host OSVERSION: 1403000 Jail OSVERSION: 1403000 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE UNAME_r=14.3-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 MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git USE_COLORS=no POUDRIERE_VERSION=3.4.99.20250209 MASTERMNT=/poudriere/data/.m/143amd64-current/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/poudriere/data/.m/143amd64-current/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=143amd64-current OLDPWD=/poudriere/data/.m/143amd64-current/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20250209 PREFIX=/usr/local POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for unnethack-5.1.0.20131208_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --PORTVERSION-- 5.1.0.20131208 --End PORTVERSION-- --PORTREVISION-- 2 --End PORTREVISION-- --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=/usr/local/bin/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 " 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.3 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 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) 8192 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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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 ===> License nethack accepted by the user =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> unnethack-5.1.0.20131208_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.1.4.pkg [143amd64-current-job-06] Installing pkg-2.1.4... [143amd64-current-job-06] Extracting pkg-2.1.4: .......... done ===> unnethack-5.1.0.20131208_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of unnethack-5.1.0.20131208_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =>> Debug: gather_distfiles: missing '/poudriere/data/.m/143amd64-current/06/portdistfiles//unnethack-5.1.0-20131208.tar.gz'=================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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 ===> License nethack accepted by the user ===> Fetching all distfiles required by unnethack-5.1.0.20131208_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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 ===> License nethack accepted by the user ===> Fetching all distfiles required by unnethack-5.1.0.20131208_2 for building => SHA256 Checksum OK for unnethack-5.1.0-20131208.tar.gz. =========================================================================== =>> Debug: gather_distfiles: skipping copy '/poudriere/distfiles//unnethack-5.1.0-20131208.tar.gz'=================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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 ===> License nethack accepted by the user ===> Fetching all distfiles required by unnethack-5.1.0.20131208_2 for building ===> Extracting for unnethack-5.1.0.20131208_2 => SHA256 Checksum OK for unnethack-5.1.0-20131208.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for unnethack-5.1.0.20131208_2 ===> Applying FreeBSD patches for unnethack-5.1.0.20131208_2 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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> unnethack-5.1.0.20131208_2 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [143amd64-current-job-06] Installing gmake-4.4.1... [143amd64-current-job-06] `-- Installing gettext-runtime-0.23.1... [143amd64-current-job-06] | `-- Installing indexinfo-0.3.1_1... [143amd64-current-job-06] | `-- Extracting indexinfo-0.3.1_1: .... done [143amd64-current-job-06] `-- Extracting gettext-runtime-0.23.1: .......... done [143amd64-current-job-06] Extracting gmake-4.4.1: .......... done ===> unnethack-5.1.0.20131208_2 depends on package: gmake>=4.4.1 - found ===> Returning to build of unnethack-5.1.0.20131208_2 ===> unnethack-5.1.0.20131208_2 depends on executable: groff - not found ===> Installing existing package /packages/All/groff-1.23.0_4.pkg [143amd64-current-job-06] Installing groff-1.23.0_4... [143amd64-current-job-06] `-- Installing libiconv-1.17_1... [143amd64-current-job-06] `-- Extracting libiconv-1.17_1: .......... done [143amd64-current-job-06] `-- Installing perl5-5.40.2_2... [143amd64-current-job-06] | `-- Installing gdbm-1.25... [143amd64-current-job-06] | | `-- Installing readline-8.2.13_2... [143amd64-current-job-06] | | `-- Extracting readline-8.2.13_2: .......... done [143amd64-current-job-06] | `-- Extracting gdbm-1.25: .......... done [143amd64-current-job-06] `-- Extracting perl5-5.40.2_2: .......... done [143amd64-current-job-06] `-- Installing psutils-1.17_6... [143amd64-current-job-06] | `-- Installing libpaper-1.1.28_1... [143amd64-current-job-06] | `-- Extracting libpaper-1.1.28_1: .......... done [143amd64-current-job-06] `-- Extracting psutils-1.17_6: .......... done [143amd64-current-job-06] `-- Installing uchardet-0.0.8_1... [143amd64-current-job-06] `-- Extracting uchardet-0.0.8_1: .......... done [143amd64-current-job-06] Extracting groff-1.23.0_4: .......... done ===== Message from groff-1.23.0_4: -- In order to be able to use the html driver, you need to install the following packages: - ghostscript - netpbm -- ===> NOTICE: The groff 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_2 depends on executable: groff - found ===> Returning to build of unnethack-5.1.0.20131208_2 ===> unnethack-5.1.0.20131208_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [143amd64-current-job-06] Installing ccache-3.7.12_8... [143amd64-current-job-06] Extracting ccache-3.7.12_8: .......... 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_8: -- 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_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of unnethack-5.1.0.20131208_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for unnethack-5.1.0.20131208_2 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.3 checking host system type... amd64-portbld-freebsd14.3 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 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for unnethack-5.1.0.20131208_2 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 ; /usr/local/bin/gmake ) gmake[1]: 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 32 | 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 C23 [-Wdeprecated-non-prototype] 80 | fmt_ptr(ptr, buf) | ^ 3 warnings generated. gmake[2]: 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 232 | 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 C23 [-Wdeprecated-non-prototype] 261 | 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 C23 [-Wdeprecated-non-prototype] 329 | 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 C23 [-Wdeprecated-non-prototype] 515 | 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 C23 [-Wdeprecated-non-prototype] 529 | 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 C23 [-Wdeprecated-non-prototype] 932 | 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 C23 [-Wdeprecated-non-prototype] 1061 | 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 C23 [-Wdeprecated-non-prototype] 1253 | 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 C23 [-Wdeprecated-non-prototype] 1268 | 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 C23 [-Wdeprecated-non-prototype] 1324 | 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 C23 [-Wdeprecated-non-prototype] 1343 | 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 C23 [-Wdeprecated-non-prototype] 1494 | 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 C23 [-Wdeprecated-non-prototype] 1502 | 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 C23 [-Wdeprecated-non-prototype] 1509 | 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 C23 [-Wdeprecated-non-prototype] 1521 | 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 C23 [-Wdeprecated-non-prototype] 1536 | 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 C23 [-Wdeprecated-non-prototype] 1549 | 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 C23 [-Wdeprecated-non-prototype] 1568 | 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 C23 [-Wdeprecated-non-prototype] 1607 | 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 C23 [-Wdeprecated-non-prototype] 1743 | 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 C23 [-Wdeprecated-non-prototype] 1873 | 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 C23 [-Wdeprecated-non-prototype] 1884 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 32 | 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 C23 [-Wdeprecated-non-prototype] 80 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ./makedefs -p gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ./makedefs -o gmake[2]: 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ allmain.c:255:4: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 255 | monclock = 70; | ^ allmain.c:231:7: note: previous statement is here 231 | 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 C23 [-Wdeprecated-non-prototype] 796 | 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 C23 [-Wdeprecated-non-prototype] 937 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 52 | 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 C23 [-Wdeprecated-non-prototype] 91 | 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 C23 [-Wdeprecated-non-prototype] 161 | 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 C23 [-Wdeprecated-non-prototype] 229 | 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 C23 [-Wdeprecated-non-prototype] 339 | 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 C23 [-Wdeprecated-non-prototype] 347 | 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 C23 [-Wdeprecated-non-prototype] 377 | 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 C23 [-Wdeprecated-non-prototype] 395 | 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 C23 [-Wdeprecated-non-prototype] 407 | 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 C23 [-Wdeprecated-non-prototype] 442 | 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 C23 [-Wdeprecated-non-prototype] 517 | 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 C23 [-Wdeprecated-non-prototype] 562 | 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 C23 [-Wdeprecated-non-prototype] 624 | use_mirror(obj) | ^ apply.c:749:4: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 749 | mtmp->mcanmove = 0; | ^ apply.c:747:3: note: previous statement is here 747 | 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 C23 [-Wdeprecated-non-prototype] 771 | 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 C23 [-Wdeprecated-non-prototype] 889 | 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 C23 [-Wdeprecated-non-prototype] 949 | 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 C23 [-Wdeprecated-non-prototype] 1013 | 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 C23 [-Wdeprecated-non-prototype] 1040 | 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 C23 [-Wdeprecated-non-prototype] 1062 | 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 C23 [-Wdeprecated-non-prototype] 1098 | 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 C23 [-Wdeprecated-non-prototype] 1149 | 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 C23 [-Wdeprecated-non-prototype] 1248 | 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 C23 [-Wdeprecated-non-prototype] 1405 | 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 C23 [-Wdeprecated-non-prototype] 1416 | 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 C23 [-Wdeprecated-non-prototype] 1484 | 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 C23 [-Wdeprecated-non-prototype] 1634 | 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 C23 [-Wdeprecated-non-prototype] 1723 | 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 C23 [-Wdeprecated-non-prototype] 1758 | 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 C23 [-Wdeprecated-non-prototype] 1797 | 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 C23 [-Wdeprecated-non-prototype] 1876 | 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 C23 [-Wdeprecated-non-prototype] 2015 | 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 C23 [-Wdeprecated-non-prototype] 2150 | 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 C23 [-Wdeprecated-non-prototype] 2407 | 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 C23 [-Wdeprecated-non-prototype] 2474 | 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 C23 [-Wdeprecated-non-prototype] 2513 | 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 C23 [-Wdeprecated-non-prototype] 2640 | 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 C23 [-Wdeprecated-non-prototype] 2954 | 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 C23 [-Wdeprecated-non-prototype] 3010 | 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 C23 [-Wdeprecated-non-prototype] 3365 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 80 | 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 C23 [-Wdeprecated-non-prototype] 88 | 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 C23 [-Wdeprecated-non-prototype] 97 | 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 C23 [-Wdeprecated-non-prototype] 115 | 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 C23 [-Wdeprecated-non-prototype] 166 | 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 C23 [-Wdeprecated-non-prototype] 188 | 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 C23 [-Wdeprecated-non-prototype] 203 | 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 C23 [-Wdeprecated-non-prototype] 237 | 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 C23 [-Wdeprecated-non-prototype] 248 | 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 C23 [-Wdeprecated-non-prototype] 259 | 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 C23 [-Wdeprecated-non-prototype] 275 | 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 C23 [-Wdeprecated-non-prototype] 303 | 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 C23 [-Wdeprecated-non-prototype] 315 | 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 C23 [-Wdeprecated-non-prototype] 381 | 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 C23 [-Wdeprecated-non-prototype] 397 | 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 C23 [-Wdeprecated-non-prototype] 611 | 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 C23 [-Wdeprecated-non-prototype] 691 | 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 C23 [-Wdeprecated-non-prototype] 748 | 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 C23 [-Wdeprecated-non-prototype] 759 | 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 C23 [-Wdeprecated-non-prototype] 775 | 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 C23 [-Wdeprecated-non-prototype] 799 | 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 C23 [-Wdeprecated-non-prototype] 818 | 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 C23 [-Wdeprecated-non-prototype] 835 | 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 C23 [-Wdeprecated-non-prototype] 885 | 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 C23 [-Wdeprecated-non-prototype] 1064 | 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 C23 [-Wdeprecated-non-prototype] 1458 | 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 C23 [-Wdeprecated-non-prototype] 1738 | 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 C23 [-Wdeprecated-non-prototype] 1746 | 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 C23 [-Wdeprecated-non-prototype] 1767 | 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 C23 [-Wdeprecated-non-prototype] 1778 | 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 C23 [-Wdeprecated-non-prototype] 1790 | 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 C23 [-Wdeprecated-non-prototype] 1810 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 112 | 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 C23 [-Wdeprecated-non-prototype] 171 | 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 C23 [-Wdeprecated-non-prototype] 186 | 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 C23 [-Wdeprecated-non-prototype] 206 | 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 C23 [-Wdeprecated-non-prototype] 215 | 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 C23 [-Wdeprecated-non-prototype] 272 | 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 C23 [-Wdeprecated-non-prototype] 474 | 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 C23 [-Wdeprecated-non-prototype] 544 | 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 C23 [-Wdeprecated-non-prototype] 553 | 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 C23 [-Wdeprecated-non-prototype] 683 | 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 C23 [-Wdeprecated-non-prototype] 734 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 173 | 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 C23 [-Wdeprecated-non-prototype] 231 | 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 C23 [-Wdeprecated-non-prototype] 360 | 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 C23 [-Wdeprecated-non-prototype] 643 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 19 | 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 C23 [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 57 | resetobjs(ochain,restore) | ^ bones.c:137:6: warning: variable 'disappeared' set but not used [-Wunused-but-set-variable] 137 | 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 C23 [-Wdeprecated-non-prototype] 130 | 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 C23 [-Wdeprecated-non-prototype] 168 | 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 C23 [-Wdeprecated-non-prototype] 248 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 28 | 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 C23 [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 74 | 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 C23 [-Wdeprecated-non-prototype] 88 | 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 C23 [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 116 | 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 C23 [-Wdeprecated-non-prototype] 156 | 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 C23 [-Wdeprecated-non-prototype] 173 | 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 C23 [-Wdeprecated-non-prototype] 209 | title_to_mon(str, rank_indx, title_length) | ^ botl.c:282:6: warning: unused variable 'save_botlx' [-Wunused-variable] 282 | 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 C23 [-Wdeprecated-non-prototype] 387 | 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 C23 [-Wdeprecated-non-prototype] 419 | void bot2str(newbot2) | ^ botl.c:433:6: warning: unused variable 'save_botlx' [-Wunused-variable] 433 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 225 | 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 C23 [-Wdeprecated-non-prototype] 277 | 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 C23 [-Wdeprecated-non-prototype] 291 | 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 C23 [-Wdeprecated-non-prototype] 860 | 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 C23 [-Wdeprecated-non-prototype] 874 | 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 C23 [-Wdeprecated-non-prototype] 910 | 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 C23 [-Wdeprecated-non-prototype] 1372 | 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 C23 [-Wdeprecated-non-prototype] 1484 | 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 C23 [-Wdeprecated-non-prototype] 1926 | 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 C23 [-Wdeprecated-non-prototype] 1949 | 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 C23 [-Wdeprecated-non-prototype] 1967 | 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 C23 [-Wdeprecated-non-prototype] 1987 | 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 C23 [-Wdeprecated-non-prototype] 2014 | 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 C23 [-Wdeprecated-non-prototype] 2162 | 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 C23 [-Wdeprecated-non-prototype] 2377 | 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 C23 [-Wdeprecated-non-prototype] 2389 | 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 C23 [-Wdeprecated-non-prototype] 2399 | 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 C23 [-Wdeprecated-non-prototype] 2428 | 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 C23 [-Wdeprecated-non-prototype] 2451 | 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 C23 [-Wdeprecated-non-prototype] 2493 | 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 C23 [-Wdeprecated-non-prototype] 2582 | 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 C23 [-Wdeprecated-non-prototype] 2595 | 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 C23 [-Wdeprecated-non-prototype] 2941 | 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 C23 [-Wdeprecated-non-prototype] 2965 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 33 | 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 C23 [-Wdeprecated-non-prototype] 47 | 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 C23 [-Wdeprecated-non-prototype] 61 | 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 C23 [-Wdeprecated-non-prototype] 71 | 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 C23 [-Wdeprecated-non-prototype] 85 | 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 C23 [-Wdeprecated-non-prototype] 106 | 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 C23 [-Wdeprecated-non-prototype] 137 | 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 C23 [-Wdeprecated-non-prototype] 149 | 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 C23 [-Wdeprecated-non-prototype] 173 | 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 C23 [-Wdeprecated-non-prototype] 191 | 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 C23 [-Wdeprecated-non-prototype] 253 | 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 C23 [-Wdeprecated-non-prototype] 272 | 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 C23 [-Wdeprecated-non-prototype] 290 | 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 C23 [-Wdeprecated-non-prototype] 300 | 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 C23 [-Wdeprecated-non-prototype] 323 | 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 C23 [-Wdeprecated-non-prototype] 348 | 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 C23 [-Wdeprecated-non-prototype] 369 | 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 C23 [-Wdeprecated-non-prototype] 392 | 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 C23 [-Wdeprecated-non-prototype] 457 | 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 C23 [-Wdeprecated-non-prototype] 469 | 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 C23 [-Wdeprecated-non-prototype] 510 | 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 C23 [-Wdeprecated-non-prototype] 536 | 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 C23 [-Wdeprecated-non-prototype] 762 | 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 C23 [-Wdeprecated-non-prototype] 824 | 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 C23 [-Wdeprecated-non-prototype] 862 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 25 | 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 C23 [-Wdeprecated-non-prototype] 45 | 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 C23 [-Wdeprecated-non-prototype] 64 | 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 C23 [-Wdeprecated-non-prototype] 78 | 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 C23 [-Wdeprecated-non-prototype] 144 | 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 C23 [-Wdeprecated-non-prototype] 163 | 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 C23 [-Wdeprecated-non-prototype] 294 | 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 C23 [-Wdeprecated-non-prototype] 400 | 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 C23 [-Wdeprecated-non-prototype] 586 | 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 C23 [-Wdeprecated-non-prototype] 648 | 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 C23 [-Wdeprecated-non-prototype] 683 | 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 C23 [-Wdeprecated-non-prototype] 753 | 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 C23 [-Wdeprecated-non-prototype] 795 | 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 C23 [-Wdeprecated-non-prototype] 916 | 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 C23 [-Wdeprecated-non-prototype] 987 | 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 C23 [-Wdeprecated-non-prototype] 1007 | 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 C23 [-Wdeprecated-non-prototype] 1053 | 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 C23 [-Wdeprecated-non-prototype] 1134 | 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 C23 [-Wdeprecated-non-prototype] 1164 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 46 | 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 C23 [-Wdeprecated-non-prototype] 85 | 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 C23 [-Wdeprecated-non-prototype] 132 | 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 C23 [-Wdeprecated-non-prototype] 162 | 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 C23 [-Wdeprecated-non-prototype] 483 | 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 C23 [-Wdeprecated-non-prototype] 523 | 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 C23 [-Wdeprecated-non-prototype] 693 | 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 C23 [-Wdeprecated-non-prototype] 863 | 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 C23 [-Wdeprecated-non-prototype] 916 | 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 C23 [-Wdeprecated-non-prototype] 1070 | 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 C23 [-Wdeprecated-non-prototype] 1119 | 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 C23 [-Wdeprecated-non-prototype] 1367 | 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 C23 [-Wdeprecated-non-prototype] 1424 | 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 C23 [-Wdeprecated-non-prototype] 1443 | 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 C23 [-Wdeprecated-non-prototype] 1476 | 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 C23 [-Wdeprecated-non-prototype] 1499 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 168 | 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 C23 [-Wdeprecated-non-prototype] 214 | 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 C23 [-Wdeprecated-non-prototype] 232 | 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 C23 [-Wdeprecated-non-prototype] 251 | 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 C23 [-Wdeprecated-non-prototype] 273 | 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 C23 [-Wdeprecated-non-prototype] 293 | 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 C23 [-Wdeprecated-non-prototype] 338 | 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 C23 [-Wdeprecated-non-prototype] 360 | 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 C23 [-Wdeprecated-non-prototype] 457 | 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 C23 [-Wdeprecated-non-prototype] 494 | 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 C23 [-Wdeprecated-non-prototype] 633 | 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 C23 [-Wdeprecated-non-prototype] 782 | 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 C23 [-Wdeprecated-non-prototype] 833 | 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 C23 [-Wdeprecated-non-prototype] 926 | 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 C23 [-Wdeprecated-non-prototype] 984 | 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 C23 [-Wdeprecated-non-prototype] 1029 | 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 C23 [-Wdeprecated-non-prototype] 1219 | 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 C23 [-Wdeprecated-non-prototype] 1321 | 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 C23 [-Wdeprecated-non-prototype] 1345 | 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 C23 [-Wdeprecated-non-prototype] 1380 | 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 C23 [-Wdeprecated-non-prototype] 1601 | 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 C23 [-Wdeprecated-non-prototype] 1705 | 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 C23 [-Wdeprecated-non-prototype] 1731 | 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 C23 [-Wdeprecated-non-prototype] 1751 | 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 C23 [-Wdeprecated-non-prototype] 1810 | 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 C23 [-Wdeprecated-non-prototype] 1839 | 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 C23 [-Wdeprecated-non-prototype] 1857 | 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 C23 [-Wdeprecated-non-prototype] 1880 | 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 C23 [-Wdeprecated-non-prototype] 1909 | 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 C23 [-Wdeprecated-non-prototype] 2027 | 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 C23 [-Wdeprecated-non-prototype] 2094 | 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 C23 [-Wdeprecated-non-prototype] 2123 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 130 | 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 C23 [-Wdeprecated-non-prototype] 178 | 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 C23 [-Wdeprecated-non-prototype] 207 | 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 C23 [-Wdeprecated-non-prototype] 226 | 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 C23 [-Wdeprecated-non-prototype] 268 | 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 C23 [-Wdeprecated-non-prototype] 288 | 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 C23 [-Wdeprecated-non-prototype] 296 | 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 C23 [-Wdeprecated-non-prototype] 323 | 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 C23 [-Wdeprecated-non-prototype] 343 | 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 C23 [-Wdeprecated-non-prototype] 375 | 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 C23 [-Wdeprecated-non-prototype] 386 | 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 C23 [-Wdeprecated-non-prototype] 467 | 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 C23 [-Wdeprecated-non-prototype] 495 | 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 C23 [-Wdeprecated-non-prototype] 510 | 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 C23 [-Wdeprecated-non-prototype] 521 | 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 C23 [-Wdeprecated-non-prototype] 532 | 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 C23 [-Wdeprecated-non-prototype] 543 | 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 C23 [-Wdeprecated-non-prototype] 552 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 50 | 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 C23 [-Wdeprecated-non-prototype] 126 | 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 C23 [-Wdeprecated-non-prototype] 242 | 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 C23 [-Wdeprecated-non-prototype] 347 | 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 C23 [-Wdeprecated-non-prototype] 509 | 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 C23 [-Wdeprecated-non-prototype] 555 | 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 C23 [-Wdeprecated-non-prototype] 618 | 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 C23 [-Wdeprecated-non-prototype] 642 | 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 C23 [-Wdeprecated-non-prototype] 703 | 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 C23 [-Wdeprecated-non-prototype] 744 | 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 C23 [-Wdeprecated-non-prototype] 1079 | 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 C23 [-Wdeprecated-non-prototype] 1622 | 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 C23 [-Wdeprecated-non-prototype] 1678 | 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 C23 [-Wdeprecated-non-prototype] 1764 | 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 C23 [-Wdeprecated-non-prototype] 1823 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 13 | 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 C23 [-Wdeprecated-non-prototype] 58 | 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 C23 [-Wdeprecated-non-prototype] 132 | 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 C23 [-Wdeprecated-non-prototype] 315 | 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 C23 [-Wdeprecated-non-prototype] 410 | 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 C23 [-Wdeprecated-non-prototype] 452 | 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 C23 [-Wdeprecated-non-prototype] 522 | 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 C23 [-Wdeprecated-non-prototype] 611 | 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 C23 [-Wdeprecated-non-prototype] 689 | 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 C23 [-Wdeprecated-non-prototype] 885 | 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 C23 [-Wdeprecated-non-prototype] 893 | 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 C23 [-Wdeprecated-non-prototype] 905 | 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 C23 [-Wdeprecated-non-prototype] 914 | 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 C23 [-Wdeprecated-non-prototype] 924 | 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 C23 [-Wdeprecated-non-prototype] 935 | 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 C23 [-Wdeprecated-non-prototype] 943 | 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 C23 [-Wdeprecated-non-prototype] 960 | 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 C23 [-Wdeprecated-non-prototype] 972 | 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 C23 [-Wdeprecated-non-prototype] 980 | 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 C23 [-Wdeprecated-non-prototype] 992 | 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 C23 [-Wdeprecated-non-prototype] 1300 | 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 C23 [-Wdeprecated-non-prototype] 1333 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 58 | off_msg(otmp) | ^ do_wear.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | on_msg(otmp) | ^ do_wear.c:814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | 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 C23 [-Wdeprecated-non-prototype] 938 | 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 C23 [-Wdeprecated-non-prototype] 1053 | 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 C23 [-Wdeprecated-non-prototype] 1060 | 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 C23 [-Wdeprecated-non-prototype] 1067 | 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 C23 [-Wdeprecated-non-prototype] 1100 | 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 C23 [-Wdeprecated-non-prototype] 1152 | 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 C23 [-Wdeprecated-non-prototype] 1325 | 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 C23 [-Wdeprecated-non-prototype] 1341 | 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 C23 [-Wdeprecated-non-prototype] 1415 | 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 C23 [-Wdeprecated-non-prototype] 1422 | 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 C23 [-Wdeprecated-non-prototype] 1436 | 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 C23 [-Wdeprecated-non-prototype] 1870 | 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 C23 [-Wdeprecated-non-prototype] 1896 | 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 C23 [-Wdeprecated-non-prototype] 1910 | 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 C23 [-Wdeprecated-non-prototype] 1944 | 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 C23 [-Wdeprecated-non-prototype] 2245 | 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 C23 [-Wdeprecated-non-prototype] 2288 | 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 C23 [-Wdeprecated-non-prototype] 2347 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ dog.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | 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 C23 [-Wdeprecated-non-prototype] 60 | 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 C23 [-Wdeprecated-non-prototype] 269 | 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 C23 [-Wdeprecated-non-prototype] 450 | 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 C23 [-Wdeprecated-non-prototype] 531 | 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 C23 [-Wdeprecated-non-prototype] 640 | 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 C23 [-Wdeprecated-non-prototype] 698 | 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 C23 [-Wdeprecated-non-prototype] 803 | 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 C23 [-Wdeprecated-non-prototype] 921 | 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 C23 [-Wdeprecated-non-prototype] 987 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 22 | 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 C23 [-Wdeprecated-non-prototype] 57 | 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 C23 [-Wdeprecated-non-prototype] 68 | 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 C23 [-Wdeprecated-non-prototype] 118 | 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 C23 [-Wdeprecated-non-prototype] 236 | 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 C23 [-Wdeprecated-non-prototype] 284 | 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 C23 [-Wdeprecated-non-prototype] 355 | 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 C23 [-Wdeprecated-non-prototype] 503 | 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 C23 [-Wdeprecated-non-prototype] 831 | 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 C23 [-Wdeprecated-non-prototype] 850 | 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 C23 [-Wdeprecated-non-prototype] 884 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 30 | 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 C23 [-Wdeprecated-non-prototype] 121 | 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 C23 [-Wdeprecated-non-prototype] 257 | 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 C23 [-Wdeprecated-non-prototype] 393 | 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 C23 [-Wdeprecated-non-prototype] 406 | 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 C23 [-Wdeprecated-non-prototype] 464 | 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 C23 [-Wdeprecated-non-prototype] 665 | 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 C23 [-Wdeprecated-non-prototype] 1241 | 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 C23 [-Wdeprecated-non-prototype] 1274 | 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 C23 [-Wdeprecated-non-prototype] 1397 | 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 C23 [-Wdeprecated-non-prototype] 1557 | 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 C23 [-Wdeprecated-non-prototype] 1586 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 37 | 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 C23 [-Wdeprecated-non-prototype] 364 | 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 C23 [-Wdeprecated-non-prototype] 390 | 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 C23 [-Wdeprecated-non-prototype] 474 | 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 C23 [-Wdeprecated-non-prototype] 593 | 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 C23 [-Wdeprecated-non-prototype] 622 | 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 C23 [-Wdeprecated-non-prototype] 682 | 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 C23 [-Wdeprecated-non-prototype] 713 | 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 C23 [-Wdeprecated-non-prototype] 754 | 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 C23 [-Wdeprecated-non-prototype] 864 | 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 C23 [-Wdeprecated-non-prototype] 877 | 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 C23 [-Wdeprecated-non-prototype] 895 | 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 C23 [-Wdeprecated-non-prototype] 1193 | 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 C23 [-Wdeprecated-non-prototype] 1234 | 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 C23 [-Wdeprecated-non-prototype] 1262 | 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 C23 [-Wdeprecated-non-prototype] 1543 | 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 C23 [-Wdeprecated-non-prototype] 1647 | 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 C23 [-Wdeprecated-non-prototype] 1665 | 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 C23 [-Wdeprecated-non-prototype] 1682 | 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 C23 [-Wdeprecated-non-prototype] 1789 | 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 C23 [-Wdeprecated-non-prototype] 1814 | 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 C23 [-Wdeprecated-non-prototype] 1858 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 752 | 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 C23 [-Wdeprecated-non-prototype] 766 | 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 C23 [-Wdeprecated-non-prototype] 776 | 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 C23 [-Wdeprecated-non-prototype] 788 | 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 C23 [-Wdeprecated-non-prototype] 865 | 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 C23 [-Wdeprecated-non-prototype] 955 | assign_rogue_graphics(is_rlevel) | ^ 7 warnings generated. gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ./makedefs -m gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ./makedefs -z gmake[2]: 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 83 | 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 C23 [-Wdeprecated-non-prototype] 118 | 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 C23 [-Wdeprecated-non-prototype] 131 | 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 C23 [-Wdeprecated-non-prototype] 142 | 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 C23 [-Wdeprecated-non-prototype] 153 | 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 C23 [-Wdeprecated-non-prototype] 171 | 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 C23 [-Wdeprecated-non-prototype] 183 | 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] 184 | const char c; | ^ ../include/extern.h:499:38: note: previous declaration is here 499 | 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 C23 [-Wdeprecated-non-prototype] 211 | 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 C23 [-Wdeprecated-non-prototype] 222 | 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 C23 [-Wdeprecated-non-prototype] 249 | 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 C23 [-Wdeprecated-non-prototype] 263 | 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 C23 [-Wdeprecated-non-prototype] 289 | 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 C23 [-Wdeprecated-non-prototype] 339 | 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 C23 [-Wdeprecated-non-prototype] 356 | 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 C23 [-Wdeprecated-non-prototype] 400 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 128 | 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 C23 [-Wdeprecated-non-prototype] 181 | 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 C23 [-Wdeprecated-non-prototype] 227 | 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 C23 [-Wdeprecated-non-prototype] 243 | 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 C23 [-Wdeprecated-non-prototype] 257 | 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 C23 [-Wdeprecated-non-prototype] 267 | 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 C23 [-Wdeprecated-non-prototype] 283 | 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 C23 [-Wdeprecated-non-prototype] 321 | 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 C23 [-Wdeprecated-non-prototype] 353 | 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 C23 [-Wdeprecated-non-prototype] 385 | 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 C23 [-Wdeprecated-non-prototype] 418 | 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 C23 [-Wdeprecated-non-prototype] 446 | 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 C23 [-Wdeprecated-non-prototype] 466 | 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 C23 [-Wdeprecated-non-prototype] 513 | 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 C23 [-Wdeprecated-non-prototype] 544 | 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 C23 [-Wdeprecated-non-prototype] 566 | 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 C23 [-Wdeprecated-non-prototype] 601 | 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 C23 [-Wdeprecated-non-prototype] 633 | 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 C23 [-Wdeprecated-non-prototype] 663 | 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 C23 [-Wdeprecated-non-prototype] 1067 | 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 C23 [-Wdeprecated-non-prototype] 1074 | 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 C23 [-Wdeprecated-non-prototype] 1081 | 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 C23 [-Wdeprecated-non-prototype] 1116 | 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 C23 [-Wdeprecated-non-prototype] 1141 | 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 C23 [-Wdeprecated-non-prototype] 1159 | 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 C23 [-Wdeprecated-non-prototype] 1168 | 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 C23 [-Wdeprecated-non-prototype] 1175 | 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 C23 [-Wdeprecated-non-prototype] 1183 | 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 C23 [-Wdeprecated-non-prototype] 1199 | 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 C23 [-Wdeprecated-non-prototype] 1213 | 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 C23 [-Wdeprecated-non-prototype] 1231 | 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 C23 [-Wdeprecated-non-prototype] 1250 | 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 C23 [-Wdeprecated-non-prototype] 1309 | 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 C23 [-Wdeprecated-non-prototype] 1320 | 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 C23 [-Wdeprecated-non-prototype] 1327 | 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 C23 [-Wdeprecated-non-prototype] 1340 | 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 C23 [-Wdeprecated-non-prototype] 1353 | 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 C23 [-Wdeprecated-non-prototype] 1379 | 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 C23 [-Wdeprecated-non-prototype] 1427 | 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 C23 [-Wdeprecated-non-prototype] 1434 | 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 C23 [-Wdeprecated-non-prototype] 1441 | 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 C23 [-Wdeprecated-non-prototype] 1456 | 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 C23 [-Wdeprecated-non-prototype] 1482 | 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 C23 [-Wdeprecated-non-prototype] 1492 | 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 C23 [-Wdeprecated-non-prototype] 1499 | 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 C23 [-Wdeprecated-non-prototype] 1508 | 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 C23 [-Wdeprecated-non-prototype] 1527 | 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 C23 [-Wdeprecated-non-prototype] 1534 | 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 C23 [-Wdeprecated-non-prototype] 1542 | 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 C23 [-Wdeprecated-non-prototype] 1552 | 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 C23 [-Wdeprecated-non-prototype] 1560 | 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 C23 [-Wdeprecated-non-prototype] 1574 | 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 C23 [-Wdeprecated-non-prototype] 1591 | 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 C23 [-Wdeprecated-non-prototype] 1617 | 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 C23 [-Wdeprecated-non-prototype] 1696 | 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 C23 [-Wdeprecated-non-prototype] 1710 | 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 C23 [-Wdeprecated-non-prototype] 1750 | 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 C23 [-Wdeprecated-non-prototype] 1912 | 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 C23 [-Wdeprecated-non-prototype] 1980 | 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 C23 [-Wdeprecated-non-prototype] 1992 | 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 C23 [-Wdeprecated-non-prototype] 2018 | 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 C23 [-Wdeprecated-non-prototype] 2042 | 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 C23 [-Wdeprecated-non-prototype] 2076 | 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 C23 [-Wdeprecated-non-prototype] 2095 | 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 C23 [-Wdeprecated-non-prototype] 2147 | 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 C23 [-Wdeprecated-non-prototype] 2366 | 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] 2367 | xchar x; | ^ dungeon.c:69:43: note: previous declaration is here 69 | 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 C23 [-Wdeprecated-non-prototype] 2384 | 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 C23 [-Wdeprecated-non-prototype] 2403 | 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 C23 [-Wdeprecated-non-prototype] 2458 | 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] 2461 | boolean printdun; | ^ dungeon.c:67:63: note: previous declaration is here 67 | 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] 2462 | boolean dump; /**< if information should be dumped to file */ | ^ dungeon.c:67:72: note: previous declaration is here 67 | 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] 2463 | boolean final; /**< if game is finished */ | ^ dungeon.c:67:81: note: previous declaration is here 67 | 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 C23 [-Wdeprecated-non-prototype] 2622 | 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 C23 [-Wdeprecated-non-prototype] 2637 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 89 | 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 C23 [-Wdeprecated-non-prototype] 197 | 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 C23 [-Wdeprecated-non-prototype] 225 | 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 C23 [-Wdeprecated-non-prototype] 315 | 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 C23 [-Wdeprecated-non-prototype] 362 | 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 C23 [-Wdeprecated-non-prototype] 373 | 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 C23 [-Wdeprecated-non-prototype] 433 | 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 C23 [-Wdeprecated-non-prototype] 464 | 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 C23 [-Wdeprecated-non-prototype] 482 | 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 C23 [-Wdeprecated-non-prototype] 561 | 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 C23 [-Wdeprecated-non-prototype] 614 | 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 C23 [-Wdeprecated-non-prototype] 710 | 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 C23 [-Wdeprecated-non-prototype] 857 | 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 C23 [-Wdeprecated-non-prototype] 1083 | 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 C23 [-Wdeprecated-non-prototype] 1239 | 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 C23 [-Wdeprecated-non-prototype] 1306 | 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 C23 [-Wdeprecated-non-prototype] 1344 | 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 C23 [-Wdeprecated-non-prototype] 1506 | 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 C23 [-Wdeprecated-non-prototype] 1546 | 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 C23 [-Wdeprecated-non-prototype] 1640 | 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 C23 [-Wdeprecated-non-prototype] 1648 | 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 C23 [-Wdeprecated-non-prototype] 1860 | 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 C23 [-Wdeprecated-non-prototype] 1872 | 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 C23 [-Wdeprecated-non-prototype] 1943 | 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 C23 [-Wdeprecated-non-prototype] 2417 | 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 C23 [-Wdeprecated-non-prototype] 2426 | 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 C23 [-Wdeprecated-non-prototype] 2510 | 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 C23 [-Wdeprecated-non-prototype] 2643 | 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 C23 [-Wdeprecated-non-prototype] 2763 | 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 C23 [-Wdeprecated-non-prototype] 2785 | 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 C23 [-Wdeprecated-non-prototype] 2836 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 110 | 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 C23 [-Wdeprecated-non-prototype] 177 | 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 C23 [-Wdeprecated-non-prototype] 190 | 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 C23 [-Wdeprecated-non-prototype] 202 | 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 C23 [-Wdeprecated-non-prototype] 341 | 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 C23 [-Wdeprecated-non-prototype] 379 | 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 C23 [-Wdeprecated-non-prototype] 443 | 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 C23 [-Wdeprecated-non-prototype] 473 | 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 C23 [-Wdeprecated-non-prototype] 506 | 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 C23 [-Wdeprecated-non-prototype] 529 | 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 C23 [-Wdeprecated-non-prototype] 571 | 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 C23 [-Wdeprecated-non-prototype] 1102 | 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 C23 [-Wdeprecated-non-prototype] 1204 | 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 C23 [-Wdeprecated-non-prototype] 1293 | 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 C23 [-Wdeprecated-non-prototype] 1302 | 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 C23 [-Wdeprecated-non-prototype] 1404 | list_genocided(defquery, ask, want_disp) | ^ end.c:1444:2: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 1444 | if (c == 'q') done_stopprint++; | ^ end.c:1440:8: note: previous statement is here 1440 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 110 | 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 C23 [-Wdeprecated-non-prototype] 145 | 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 C23 [-Wdeprecated-non-prototype] 217 | 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 C23 [-Wdeprecated-non-prototype] 251 | 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 C23 [-Wdeprecated-non-prototype] 280 | 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 C23 [-Wdeprecated-non-prototype] 299 | 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 C23 [-Wdeprecated-non-prototype] 319 | 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 C23 [-Wdeprecated-non-prototype] 341 | 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 C23 [-Wdeprecated-non-prototype] 349 | 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 C23 [-Wdeprecated-non-prototype] 369 | 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 C23 [-Wdeprecated-non-prototype] 449 | 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 C23 [-Wdeprecated-non-prototype] 475 | 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 C23 [-Wdeprecated-non-prototype] 553 | 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] 555 | boolean fingers; | ^ engrave.c:529:41: note: previous declaration is here 529 | static int engrave(const char *, boolean); | ^ engrave.c:884:8: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 884 | doknown = TRUE; | ^ engrave.c:882:4: note: previous statement is here 882 | 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 C23 [-Wdeprecated-non-prototype] 1304 | 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 C23 [-Wdeprecated-non-prototype] 1328 | 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 C23 [-Wdeprecated-non-prototype] 1351 | 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 C23 [-Wdeprecated-non-prototype] 1374 | 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 C23 [-Wdeprecated-non-prototype] 1517 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 11 | 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 C23 [-Wdeprecated-non-prototype] 20 | 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 C23 [-Wdeprecated-non-prototype] 39 | 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 C23 [-Wdeprecated-non-prototype] 105 | 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 C23 [-Wdeprecated-non-prototype] 121 | 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 C23 [-Wdeprecated-non-prototype] 189 | 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 C23 [-Wdeprecated-non-prototype] 234 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 23 | 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 C23 [-Wdeprecated-non-prototype] 408 | 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 C23 [-Wdeprecated-non-prototype] 573 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 32 | 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 C23 [-Wdeprecated-non-prototype] 64 | 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 C23 [-Wdeprecated-non-prototype] 149 | 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 C23 [-Wdeprecated-non-prototype] 278 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 211 | 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 C23 [-Wdeprecated-non-prototype] 257 | 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 C23 [-Wdeprecated-non-prototype] 299 | 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 C23 [-Wdeprecated-non-prototype] 329 | 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 C23 [-Wdeprecated-non-prototype] 373 | 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 C23 [-Wdeprecated-non-prototype] 428 | 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 C23 [-Wdeprecated-non-prototype] 444 | 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 C23 [-Wdeprecated-non-prototype] 499 | 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 C23 [-Wdeprecated-non-prototype] 546 | 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 C23 [-Wdeprecated-non-prototype] 754 | 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 C23 [-Wdeprecated-non-prototype] 803 | 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 C23 [-Wdeprecated-non-prototype] 882 | 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 C23 [-Wdeprecated-non-prototype] 926 | 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 C23 [-Wdeprecated-non-prototype] 953 | 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 C23 [-Wdeprecated-non-prototype] 1039 | 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 C23 [-Wdeprecated-non-prototype] 1275 | 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 C23 [-Wdeprecated-non-prototype] 1294 | 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 C23 [-Wdeprecated-non-prototype] 1318 | 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 C23 [-Wdeprecated-non-prototype] 1469 | 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 C23 [-Wdeprecated-non-prototype] 1484 | 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 C23 [-Wdeprecated-non-prototype] 1552 | 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 C23 [-Wdeprecated-non-prototype] 1714 | 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 C23 [-Wdeprecated-non-prototype] 1732 | 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 C23 [-Wdeprecated-non-prototype] 1779 | 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 C23 [-Wdeprecated-non-prototype] 1837 | 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 C23 [-Wdeprecated-non-prototype] 1964 | 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 C23 [-Wdeprecated-non-prototype] 2042 | 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 C23 [-Wdeprecated-non-prototype] 2403 | 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 C23 [-Wdeprecated-non-prototype] 2581 | 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 C23 [-Wdeprecated-non-prototype] 2699 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 16 | 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 C23 [-Wdeprecated-non-prototype] 90 | 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 C23 [-Wdeprecated-non-prototype] 105 | 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 C23 [-Wdeprecated-non-prototype] 149 | 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 C23 [-Wdeprecated-non-prototype] 351 | 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 C23 [-Wdeprecated-non-prototype] 497 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 27 | 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 C23 [-Wdeprecated-non-prototype] 53 | 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 C23 [-Wdeprecated-non-prototype] 74 | 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 C23 [-Wdeprecated-non-prototype] 93 | 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 C23 [-Wdeprecated-non-prototype] 115 | 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 C23 [-Wdeprecated-non-prototype] 175 | 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 C23 [-Wdeprecated-non-prototype] 220 | 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 C23 [-Wdeprecated-non-prototype] 275 | 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 C23 [-Wdeprecated-non-prototype] 319 | 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 C23 [-Wdeprecated-non-prototype] 337 | 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 C23 [-Wdeprecated-non-prototype] 348 | revive_nasty(x, y, msg) | ^ hack.c:588:6: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 588 | if (Blind) feel_location(sx, sy); | ^ hack.c:585:4: note: previous statement is here 585 | else | ^ hack.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | 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 C23 [-Wdeprecated-non-prototype] 769 | 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 C23 [-Wdeprecated-non-prototype] 836 | 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 C23 [-Wdeprecated-non-prototype] 847 | 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 C23 [-Wdeprecated-non-prototype] 855 | 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 C23 [-Wdeprecated-non-prototype] 866 | 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 C23 [-Wdeprecated-non-prototype] 873 | 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 C23 [-Wdeprecated-non-prototype] 888 | 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 C23 [-Wdeprecated-non-prototype] 1098 | 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 C23 [-Wdeprecated-non-prototype] 1146 | 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 C23 [-Wdeprecated-non-prototype] 1167 | 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 C23 [-Wdeprecated-non-prototype] 1339 | 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] 1351 | 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] 1351 | 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 C23 [-Wdeprecated-non-prototype] 1351 | 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 C23 [-Wdeprecated-non-prototype] 2111 | 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 C23 [-Wdeprecated-non-prototype] 2183 | 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 C23 [-Wdeprecated-non-prototype] 2191 | 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 C23 [-Wdeprecated-non-prototype] 2230 | 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 C23 [-Wdeprecated-non-prototype] 2365 | 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 C23 [-Wdeprecated-non-prototype] 2379 | 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 C23 [-Wdeprecated-non-prototype] 2448 | 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 C23 [-Wdeprecated-non-prototype] 2472 | 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 C23 [-Wdeprecated-non-prototype] 2514 | 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 C23 [-Wdeprecated-non-prototype] 2914 | 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 C23 [-Wdeprecated-non-prototype] 2931 | 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 C23 [-Wdeprecated-non-prototype] 2981 | 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 C23 [-Wdeprecated-non-prototype] 3011 | 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 C23 [-Wdeprecated-non-prototype] 3026 | 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 C23 [-Wdeprecated-non-prototype] 3035 | 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 C23 [-Wdeprecated-non-prototype] 3155 | 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 C23 [-Wdeprecated-non-prototype] 3181 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 63 | 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 C23 [-Wdeprecated-non-prototype] 70 | 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 C23 [-Wdeprecated-non-prototype] 77 | 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 C23 [-Wdeprecated-non-prototype] 84 | 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 C23 [-Wdeprecated-non-prototype] 91 | 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 C23 [-Wdeprecated-non-prototype] 102 | 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 C23 [-Wdeprecated-non-prototype] 111 | 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 C23 [-Wdeprecated-non-prototype] 128 | 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 C23 [-Wdeprecated-non-prototype] 137 | 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 C23 [-Wdeprecated-non-prototype] 150 | 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 C23 [-Wdeprecated-non-prototype] 162 | 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 C23 [-Wdeprecated-non-prototype] 178 | 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 C23 [-Wdeprecated-non-prototype] 196 | 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 C23 [-Wdeprecated-non-prototype] 205 | 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 C23 [-Wdeprecated-non-prototype] 227 | 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 C23 [-Wdeprecated-non-prototype] 249 | 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 C23 [-Wdeprecated-non-prototype] 259 | 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 C23 [-Wdeprecated-non-prototype] 269 | 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 C23 [-Wdeprecated-non-prototype] 276 | 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 C23 [-Wdeprecated-non-prototype] 299 | 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 C23 [-Wdeprecated-non-prototype] 312 | 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 C23 [-Wdeprecated-non-prototype] 320 | 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 C23 [-Wdeprecated-non-prototype] 334 | 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 C23 [-Wdeprecated-non-prototype] 345 | 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 C23 [-Wdeprecated-non-prototype] 368 | 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 C23 [-Wdeprecated-non-prototype] 388 | 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 C23 [-Wdeprecated-non-prototype] 428 | 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 C23 [-Wdeprecated-non-prototype] 569 | 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 C23 [-Wdeprecated-non-prototype] 685 | 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 C23 [-Wdeprecated-non-prototype] 696 | 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 C23 [-Wdeprecated-non-prototype] 705 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 44 | 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 C23 [-Wdeprecated-non-prototype] 117 | 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 C23 [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 237 | 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 C23 [-Wdeprecated-non-prototype] 322 | 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 C23 [-Wdeprecated-non-prototype] 337 | 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 C23 [-Wdeprecated-non-prototype] 387 | 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 C23 [-Wdeprecated-non-prototype] 409 | 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 C23 [-Wdeprecated-non-prototype] 478 | 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 C23 [-Wdeprecated-non-prototype] 487 | 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 C23 [-Wdeprecated-non-prototype] 504 | 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 C23 [-Wdeprecated-non-prototype] 521 | 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 C23 [-Wdeprecated-non-prototype] 564 | 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 C23 [-Wdeprecated-non-prototype] 573 | 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 C23 [-Wdeprecated-non-prototype] 591 | 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 C23 [-Wdeprecated-non-prototype] 614 | 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 C23 [-Wdeprecated-non-prototype] 626 | 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 C23 [-Wdeprecated-non-prototype] 664 | 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 C23 [-Wdeprecated-non-prototype] 688 | 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 C23 [-Wdeprecated-non-prototype] 704 | 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 C23 [-Wdeprecated-non-prototype] 716 | 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 C23 [-Wdeprecated-non-prototype] 730 | 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 C23 [-Wdeprecated-non-prototype] 745 | 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 C23 [-Wdeprecated-non-prototype] 776 | 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 C23 [-Wdeprecated-non-prototype] 784 | 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 C23 [-Wdeprecated-non-prototype] 816 | getobj(let,word) | ^ invent.c:839:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 839 | if (otmp = getnextgetobj()) { | ~~~~~^~~~~~~~~~~~~~~~~ invent.c:839:11: note: place parentheses around the assignment to silence this warning 839 | if (otmp = getnextgetobj()) { | ^ | ( ) invent.c:839:11: note: use '==' to turn this assignment into an equality comparison 839 | 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 C23 [-Wdeprecated-non-prototype] 1199 | 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 C23 [-Wdeprecated-non-prototype] 1235 | 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 C23 [-Wdeprecated-non-prototype] 1243 | 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 C23 [-Wdeprecated-non-prototype] 1260 | 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 C23 [-Wdeprecated-non-prototype] 1277 | 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 C23 [-Wdeprecated-non-prototype] 1471 | 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 C23 [-Wdeprecated-non-prototype] 1629 | 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 C23 [-Wdeprecated-non-prototype] 1645 | 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 C23 [-Wdeprecated-non-prototype] 1655 | 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 C23 [-Wdeprecated-non-prototype] 1685 | 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 C23 [-Wdeprecated-non-prototype] 1724 | 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 C23 [-Wdeprecated-non-prototype] 1743 | 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 C23 [-Wdeprecated-non-prototype] 1755 | 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 C23 [-Wdeprecated-non-prototype] 1822 | 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 C23 [-Wdeprecated-non-prototype] 2163 | 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 C23 [-Wdeprecated-non-prototype] 2188 | 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 C23 [-Wdeprecated-non-prototype] 2248 | 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 C23 [-Wdeprecated-non-prototype] 2450 | 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 C23 [-Wdeprecated-non-prototype] 2459 | 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 C23 [-Wdeprecated-non-prototype] 2471 | 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 C23 [-Wdeprecated-non-prototype] 2490 | 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 C23 [-Wdeprecated-non-prototype] 2509 | 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 C23 [-Wdeprecated-non-prototype] 2528 | 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 C23 [-Wdeprecated-non-prototype] 2655 | 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 C23 [-Wdeprecated-non-prototype] 2778 | 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 C23 [-Wdeprecated-non-prototype] 2848 | 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 C23 [-Wdeprecated-non-prototype] 2971 | 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 C23 [-Wdeprecated-non-prototype] 2982 | 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 C23 [-Wdeprecated-non-prototype] 3001 | 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 C23 [-Wdeprecated-non-prototype] 3013 | 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 C23 [-Wdeprecated-non-prototype] 3177 | 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 C23 [-Wdeprecated-non-prototype] 3228 | 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 C23 [-Wdeprecated-non-prototype] 3275 | let_to_name(let,unpaid) | ^ invent.c:3442:5: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 3442 | otmp->invlet = obj->invlet; | ^ invent.c:3437:7: note: previous statement is here 3437 | } else | ^ invent.c:3471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3471 | 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 C23 [-Wdeprecated-non-prototype] 3493 | 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 C23 [-Wdeprecated-non-prototype] 3515 | 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 C23 [-Wdeprecated-non-prototype] 3601 | 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 C23 [-Wdeprecated-non-prototype] 3630 | 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 C23 [-Wdeprecated-non-prototype] 3643 | 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 C23 [-Wdeprecated-non-prototype] 3671 | 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 C23 [-Wdeprecated-non-prototype] 3688 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 58 | 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 C23 [-Wdeprecated-non-prototype] 89 | 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 C23 [-Wdeprecated-non-prototype] 126 | 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 C23 [-Wdeprecated-non-prototype] 208 | 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 C23 [-Wdeprecated-non-prototype] 230 | 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 C23 [-Wdeprecated-non-prototype] 280 | 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 C23 [-Wdeprecated-non-prototype] 299 | 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 C23 [-Wdeprecated-non-prototype] 338 | 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 C23 [-Wdeprecated-non-prototype] 375 | 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 C23 [-Wdeprecated-non-prototype] 416 | 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 C23 [-Wdeprecated-non-prototype] 440 | 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 C23 [-Wdeprecated-non-prototype] 474 | 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 C23 [-Wdeprecated-non-prototype] 483 | 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 C23 [-Wdeprecated-non-prototype] 492 | 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 C23 [-Wdeprecated-non-prototype] 522 | 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 C23 [-Wdeprecated-non-prototype] 541 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 22 | 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 C23 [-Wdeprecated-non-prototype] 36 | 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 C23 [-Wdeprecated-non-prototype] 228 | 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 C23 [-Wdeprecated-non-prototype] 557 | 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 C23 [-Wdeprecated-non-prototype] 656 | 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 C23 [-Wdeprecated-non-prototype] 772 | 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 C23 [-Wdeprecated-non-prototype] 808 | 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 C23 [-Wdeprecated-non-prototype] 969 | 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 C23 [-Wdeprecated-non-prototype] 1017 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 39 | 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 C23 [-Wdeprecated-non-prototype] 56 | 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 C23 [-Wdeprecated-non-prototype] 77 | 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 C23 [-Wdeprecated-non-prototype] 145 | 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 C23 [-Wdeprecated-non-prototype] 159 | 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 C23 [-Wdeprecated-non-prototype] 177 | 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 C23 [-Wdeprecated-non-prototype] 539 | 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 C23 [-Wdeprecated-non-prototype] 819 | 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 C23 [-Wdeprecated-non-prototype] 936 | 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 C23 [-Wdeprecated-non-prototype] 972 | 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 C23 [-Wdeprecated-non-prototype] 1268 | 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 C23 [-Wdeprecated-non-prototype] 1279 | 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 C23 [-Wdeprecated-non-prototype] 1314 | 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 C23 [-Wdeprecated-non-prototype] 1373 | 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 C23 [-Wdeprecated-non-prototype] 1426 | 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 C23 [-Wdeprecated-non-prototype] 1550 | 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 C23 [-Wdeprecated-non-prototype] 1570 | 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 C23 [-Wdeprecated-non-prototype] 1621 | 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 C23 [-Wdeprecated-non-prototype] 1649 | 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 C23 [-Wdeprecated-non-prototype] 1738 | 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 C23 [-Wdeprecated-non-prototype] 1785 | 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 C23 [-Wdeprecated-non-prototype] 1812 | 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 C23 [-Wdeprecated-non-prototype] 1855 | 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 C23 [-Wdeprecated-non-prototype] 1911 | 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 C23 [-Wdeprecated-non-prototype] 2022 | 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 C23 [-Wdeprecated-non-prototype] 2152 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 65 | 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 C23 [-Wdeprecated-non-prototype] 80 | 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 C23 [-Wdeprecated-non-prototype] 94 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 63 | 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 C23 [-Wdeprecated-non-prototype] 95 | 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 C23 [-Wdeprecated-non-prototype] 140 | 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 C23 [-Wdeprecated-non-prototype] 192 | 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 C23 [-Wdeprecated-non-prototype] 372 | 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 C23 [-Wdeprecated-non-prototype] 536 | 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 C23 [-Wdeprecated-non-prototype] 550 | 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 C23 [-Wdeprecated-non-prototype] 735 | 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 C23 [-Wdeprecated-non-prototype] 785 | 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 C23 [-Wdeprecated-non-prototype] 827 | 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 C23 [-Wdeprecated-non-prototype] 895 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 42 | 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 C23 [-Wdeprecated-non-prototype] 57 | 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 C23 [-Wdeprecated-non-prototype] 74 | 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 C23 [-Wdeprecated-non-prototype] 107 | 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 C23 [-Wdeprecated-non-prototype] 196 | 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 C23 [-Wdeprecated-non-prototype] 402 | 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 C23 [-Wdeprecated-non-prototype] 470 | 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 C23 [-Wdeprecated-non-prototype] 532 | 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 C23 [-Wdeprecated-non-prototype] 600 | 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 C23 [-Wdeprecated-non-prototype] 629 | 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 C23 [-Wdeprecated-non-prototype] 764 | 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 C23 [-Wdeprecated-non-prototype] 1484 | 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 C23 [-Wdeprecated-non-prototype] 1497 | 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 C23 [-Wdeprecated-non-prototype] 1519 | 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 C23 [-Wdeprecated-non-prototype] 1530 | 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 C23 [-Wdeprecated-non-prototype] 1567 | 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 C23 [-Wdeprecated-non-prototype] 1584 | 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 C23 [-Wdeprecated-non-prototype] 1741 | 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 C23 [-Wdeprecated-non-prototype] 1782 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 38 | 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 C23 [-Wdeprecated-non-prototype] 83 | 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 C23 [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 116 | 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 C23 [-Wdeprecated-non-prototype] 145 | 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 C23 [-Wdeprecated-non-prototype] 214 | expels(mtmp, mdat, message) | ^ mhitu.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | getmattk(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 C23 [-Wdeprecated-non-prototype] 294 | 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 C23 [-Wdeprecated-non-prototype] 700 | 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 C23 [-Wdeprecated-non-prototype] 759 | 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 C23 [-Wdeprecated-non-prototype] 774 | 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 C23 [-Wdeprecated-non-prototype] 811 | 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 C23 [-Wdeprecated-non-prototype] 861 | 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 C23 [-Wdeprecated-non-prototype] 1770 | 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 C23 [-Wdeprecated-non-prototype] 1994 | 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 C23 [-Wdeprecated-non-prototype] 2078 | 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 C23 [-Wdeprecated-non-prototype] 2291 | 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 C23 [-Wdeprecated-non-prototype] 2307 | 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 C23 [-Wdeprecated-non-prototype] 2345 | 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 C23 [-Wdeprecated-non-prototype] 2398 | 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 C23 [-Wdeprecated-non-prototype] 2650 | 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 C23 [-Wdeprecated-non-prototype] 2689 | 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 C23 [-Wdeprecated-non-prototype] 2723 | 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 C23 [-Wdeprecated-non-prototype] 2766 | 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 C23 [-Wdeprecated-non-prototype] 2927 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 10 | 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 C23 [-Wdeprecated-non-prototype] 87 | 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 C23 [-Wdeprecated-non-prototype] 143 | 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 C23 [-Wdeprecated-non-prototype] 224 | 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 C23 [-Wdeprecated-non-prototype] 268 | 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 C23 [-Wdeprecated-non-prototype] 283 | 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 C23 [-Wdeprecated-non-prototype] 323 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 60 | 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 C23 [-Wdeprecated-non-prototype] 81 | 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 C23 [-Wdeprecated-non-prototype] 119 | 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 C23 [-Wdeprecated-non-prototype] 193 | 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 C23 [-Wdeprecated-non-prototype] 210 | 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 C23 [-Wdeprecated-non-prototype] 328 | 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 C23 [-Wdeprecated-non-prototype] 402 | 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 C23 [-Wdeprecated-non-prototype] 482 | 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 C23 [-Wdeprecated-non-prototype] 503 | 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 C23 [-Wdeprecated-non-prototype] 561 | 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 C23 [-Wdeprecated-non-prototype] 620 | 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 C23 [-Wdeprecated-non-prototype] 684 | 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 C23 [-Wdeprecated-non-prototype] 1090 | 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] 1092 | boolean skip_lvl_checks; | ^ ../include/extern.h:1123:54: note: previous declaration is here 1123 | 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 C23 [-Wdeprecated-non-prototype] 1177 | 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 C23 [-Wdeprecated-non-prototype] 1272 | 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 C23 [-Wdeprecated-non-prototype] 1335 | 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 C23 [-Wdeprecated-non-prototype] 1364 | 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 C23 [-Wdeprecated-non-prototype] 1378 | 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 C23 [-Wdeprecated-non-prototype] 1436 | 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 C23 [-Wdeprecated-non-prototype] 1462 | 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 C23 [-Wdeprecated-non-prototype] 1472 | 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 C23 [-Wdeprecated-non-prototype] 1485 | 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 C23 [-Wdeprecated-non-prototype] 1499 | mktrap(num, mazeflag, croom, tm) | ^ mklev.c:1544:24: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 1544 | kind = NO_TRAP; break; | ^ mklev.c:1543:4: note: previous statement is here 1543 | 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 C23 [-Wdeprecated-non-prototype] 1588 | 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 C23 [-Wdeprecated-non-prototype] 1623 | 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 C23 [-Wdeprecated-non-prototype] 1644 | 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 C23 [-Wdeprecated-non-prototype] 1661 | 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 C23 [-Wdeprecated-non-prototype] 1681 | 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 C23 [-Wdeprecated-non-prototype] 1787 | 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 C23 [-Wdeprecated-non-prototype] 1867 | 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 C23 [-Wdeprecated-non-prototype] 1910 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ mkmap.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | init_map(bg_typ) | ^ mkmap.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | 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 C23 [-Wdeprecated-non-prototype] 67 | 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 C23 [-Wdeprecated-non-prototype] 88 | 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 C23 [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 139 | pass_two(bg_typ, fg_typ) | ^ mkmap.c:151:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 151 | if (count == 5) | ^ mkmap.c:147:3: note: previous statement is here 147 | 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 C23 [-Wdeprecated-non-prototype] 164 | 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 C23 [-Wdeprecated-non-prototype] 189 | 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 C23 [-Wdeprecated-non-prototype] 205 | 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 C23 [-Wdeprecated-non-prototype] 312 | 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 C23 [-Wdeprecated-non-prototype] 383 | 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 C23 [-Wdeprecated-non-prototype] 419 | 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 C23 [-Wdeprecated-non-prototype] 449 | 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 C23 [-Wdeprecated-non-prototype] 482 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 30 | 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 C23 [-Wdeprecated-non-prototype] 42 | 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 C23 [-Wdeprecated-non-prototype] 57 | 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 C23 [-Wdeprecated-non-prototype] 83 | 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 C23 [-Wdeprecated-non-prototype] 122 | 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 C23 [-Wdeprecated-non-prototype] 155 | 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 C23 [-Wdeprecated-non-prototype] 210 | 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 C23 [-Wdeprecated-non-prototype] 222 | 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 C23 [-Wdeprecated-non-prototype] 231 | 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 C23 [-Wdeprecated-non-prototype] 256 | 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 C23 [-Wdeprecated-non-prototype] 303 | 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 C23 [-Wdeprecated-non-prototype] 570 | 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] 571 | boolean init; | ^ ../include/extern.h:1177:44: note: previous declaration is here 1177 | 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 C23 [-Wdeprecated-non-prototype] 634 | 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 C23 [-Wdeprecated-non-prototype] 855 | 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 C23 [-Wdeprecated-non-prototype] 892 | 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 C23 [-Wdeprecated-non-prototype] 906 | 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 C23 [-Wdeprecated-non-prototype] 1031 | 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 C23 [-Wdeprecated-non-prototype] 1238 | 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 C23 [-Wdeprecated-non-prototype] 1261 | 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 C23 [-Wdeprecated-non-prototype] 1294 | 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 C23 [-Wdeprecated-non-prototype] 1376 | 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 C23 [-Wdeprecated-non-prototype] 1433 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 78 | 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 C23 [-Wdeprecated-non-prototype] 91 | 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 C23 [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 134 | 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 C23 [-Wdeprecated-non-prototype] 233 | 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 C23 [-Wdeprecated-non-prototype] 278 | 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 C23 [-Wdeprecated-non-prototype] 335 | 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 C23 [-Wdeprecated-non-prototype] 366 | 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 C23 [-Wdeprecated-non-prototype] 658 | 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 C23 [-Wdeprecated-non-prototype] 709 | 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 C23 [-Wdeprecated-non-prototype] 727 | 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 C23 [-Wdeprecated-non-prototype] 738 | 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 C23 [-Wdeprecated-non-prototype] 767 | 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 C23 [-Wdeprecated-non-prototype] 781 | 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 C23 [-Wdeprecated-non-prototype] 798 | 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 C23 [-Wdeprecated-non-prototype] 813 | 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 C23 [-Wdeprecated-non-prototype] 878 | 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 C23 [-Wdeprecated-non-prototype] 885 | 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 C23 [-Wdeprecated-non-prototype] 894 | 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 C23 [-Wdeprecated-non-prototype] 928 | 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 C23 [-Wdeprecated-non-prototype] 976 | 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 C23 [-Wdeprecated-non-prototype] 999 | 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 C23 [-Wdeprecated-non-prototype] 1027 | 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 C23 [-Wdeprecated-non-prototype] 1053 | 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 C23 [-Wdeprecated-non-prototype] 1071 | 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 C23 [-Wdeprecated-non-prototype] 1087 | 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 C23 [-Wdeprecated-non-prototype] 1100 | 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 C23 [-Wdeprecated-non-prototype] 1116 | 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 C23 [-Wdeprecated-non-prototype] 1156 | 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 C23 [-Wdeprecated-non-prototype] 1182 | 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 C23 [-Wdeprecated-non-prototype] 1202 | 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 C23 [-Wdeprecated-non-prototype] 1271 | 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 C23 [-Wdeprecated-non-prototype] 1287 | 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 C23 [-Wdeprecated-non-prototype] 1315 | 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 C23 [-Wdeprecated-non-prototype] 1352 | 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 C23 [-Wdeprecated-non-prototype] 1379 | 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 C23 [-Wdeprecated-non-prototype] 1404 | 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 C23 [-Wdeprecated-non-prototype] 1430 | 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 C23 [-Wdeprecated-non-prototype] 1452 | 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 C23 [-Wdeprecated-non-prototype] 1464 | 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 C23 [-Wdeprecated-non-prototype] 1477 | 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 C23 [-Wdeprecated-non-prototype] 1494 | 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 C23 [-Wdeprecated-non-prototype] 1624 | 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 C23 [-Wdeprecated-non-prototype] 1632 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 34 | 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 C23 [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 205 | 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 C23 [-Wdeprecated-non-prototype] 234 | 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 C23 [-Wdeprecated-non-prototype] 246 | 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 C23 [-Wdeprecated-non-prototype] 443 | 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 C23 [-Wdeprecated-non-prototype] 499 | 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 C23 [-Wdeprecated-non-prototype] 588 | 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 C23 [-Wdeprecated-non-prototype] 624 | 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 C23 [-Wdeprecated-non-prototype] 639 | 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 C23 [-Wdeprecated-non-prototype] 650 | 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 C23 [-Wdeprecated-non-prototype] 661 | 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 C23 [-Wdeprecated-non-prototype] 668 | 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 C23 [-Wdeprecated-non-prototype] 675 | 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 C23 [-Wdeprecated-non-prototype] 684 | 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 C23 [-Wdeprecated-non-prototype] 735 | 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 C23 [-Wdeprecated-non-prototype] 764 | 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 C23 [-Wdeprecated-non-prototype] 833 | 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 C23 [-Wdeprecated-non-prototype] 853 | 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 C23 [-Wdeprecated-non-prototype] 865 | 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 C23 [-Wdeprecated-non-prototype] 885 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 76 | 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 C23 [-Wdeprecated-non-prototype] 179 | 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 C23 [-Wdeprecated-non-prototype] 208 | 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 C23 [-Wdeprecated-non-prototype] 320 | 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 C23 [-Wdeprecated-non-prototype] 607 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 51 | 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 C23 [-Wdeprecated-non-prototype] 64 | 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 C23 [-Wdeprecated-non-prototype] 101 | 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 C23 [-Wdeprecated-non-prototype] 137 | 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 C23 [-Wdeprecated-non-prototype] 176 | 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 C23 [-Wdeprecated-non-prototype] 409 | 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 C23 [-Wdeprecated-non-prototype] 524 | 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 C23 [-Wdeprecated-non-prototype] 693 | 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 C23 [-Wdeprecated-non-prototype] 782 | 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 C23 [-Wdeprecated-non-prototype] 874 | 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 C23 [-Wdeprecated-non-prototype] 899 | 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 C23 [-Wdeprecated-non-prototype] 939 | 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 C23 [-Wdeprecated-non-prototype] 971 | 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 C23 [-Wdeprecated-non-prototype] 986 | 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 C23 [-Wdeprecated-non-prototype] 1015 | 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 C23 [-Wdeprecated-non-prototype] 1059 | 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 C23 [-Wdeprecated-non-prototype] 1275 | 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 C23 [-Wdeprecated-non-prototype] 1351 | 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 C23 [-Wdeprecated-non-prototype] 1386 | 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 C23 [-Wdeprecated-non-prototype] 1433 | 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 C23 [-Wdeprecated-non-prototype] 1452 | 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 C23 [-Wdeprecated-non-prototype] 1475 | 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 C23 [-Wdeprecated-non-prototype] 1489 | 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] 1491 | uchar adtyp; | ^ mon.c:46:64: note: previous declaration is here 46 | 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 C23 [-Wdeprecated-non-prototype] 1544 | 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 C23 [-Wdeprecated-non-prototype] 1551 | 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] 1553 | uchar adtyp; | ^ ../include/extern.h:1278:52: note: previous declaration is here 1278 | 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 C23 [-Wdeprecated-non-prototype] 1660 | 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 C23 [-Wdeprecated-non-prototype] 1743 | 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 C23 [-Wdeprecated-non-prototype] 1769 | 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 C23 [-Wdeprecated-non-prototype] 1849 | 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 C23 [-Wdeprecated-non-prototype] 1862 | 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 C23 [-Wdeprecated-non-prototype] 1885 | 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 C23 [-Wdeprecated-non-prototype] 1983 | 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 C23 [-Wdeprecated-non-prototype] 2033 | 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 C23 [-Wdeprecated-non-prototype] 2051 | 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 C23 [-Wdeprecated-non-prototype] 2059 | 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 C23 [-Wdeprecated-non-prototype] 2246 | 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 C23 [-Wdeprecated-non-prototype] 2265 | 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 C23 [-Wdeprecated-non-prototype] 2291 | 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 C23 [-Wdeprecated-non-prototype] 2342 | 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 C23 [-Wdeprecated-non-prototype] 2350 | 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 C23 [-Wdeprecated-non-prototype] 2414 | 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 C23 [-Wdeprecated-non-prototype] 2442 | 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 C23 [-Wdeprecated-non-prototype] 2501 | 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 C23 [-Wdeprecated-non-prototype] 2531 | 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 C23 [-Wdeprecated-non-prototype] 2545 | 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 C23 [-Wdeprecated-non-prototype] 2613 | 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 C23 [-Wdeprecated-non-prototype] 2633 | 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 C23 [-Wdeprecated-non-prototype] 2657 | 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 C23 [-Wdeprecated-non-prototype] 2690 | 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 C23 [-Wdeprecated-non-prototype] 2742 | 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 C23 [-Wdeprecated-non-prototype] 2941 | 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 C23 [-Wdeprecated-non-prototype] 2963 | 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 C23 [-Wdeprecated-non-prototype] 2977 | 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 C23 [-Wdeprecated-non-prototype] 2997 | 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 C23 [-Wdeprecated-non-prototype] 3071 | 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 C23 [-Wdeprecated-non-prototype] 3089 | 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 C23 [-Wdeprecated-non-prototype] 3119 | 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 C23 [-Wdeprecated-non-prototype] 3174 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 12 | 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 C23 [-Wdeprecated-non-prototype] 28 | 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 C23 [-Wdeprecated-non-prototype] 42 | 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 C23 [-Wdeprecated-non-prototype] 50 | 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 C23 [-Wdeprecated-non-prototype] 59 | 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 C23 [-Wdeprecated-non-prototype] 71 | 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 C23 [-Wdeprecated-non-prototype] 96 | 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 C23 [-Wdeprecated-non-prototype] 127 | 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 C23 [-Wdeprecated-non-prototype] 208 | 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 C23 [-Wdeprecated-non-prototype] 230 | 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 C23 [-Wdeprecated-non-prototype] 241 | 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 C23 [-Wdeprecated-non-prototype] 251 | 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 C23 [-Wdeprecated-non-prototype] 261 | 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 C23 [-Wdeprecated-non-prototype] 269 | 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 C23 [-Wdeprecated-non-prototype] 279 | 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 C23 [-Wdeprecated-non-prototype] 288 | 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 C23 [-Wdeprecated-non-prototype] 309 | 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 C23 [-Wdeprecated-non-prototype] 323 | 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 C23 [-Wdeprecated-non-prototype] 333 | 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 C23 [-Wdeprecated-non-prototype] 359 | 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 C23 [-Wdeprecated-non-prototype] 378 | 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 C23 [-Wdeprecated-non-prototype] 497 | 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 C23 [-Wdeprecated-non-prototype] 507 | 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 C23 [-Wdeprecated-non-prototype] 517 | 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 C23 [-Wdeprecated-non-prototype] 607 | 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 C23 [-Wdeprecated-non-prototype] 634 | 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 C23 [-Wdeprecated-non-prototype] 650 | 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 C23 [-Wdeprecated-non-prototype] 666 | 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 C23 [-Wdeprecated-non-prototype] 686 | 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 C23 [-Wdeprecated-non-prototype] 707 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 21 | 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 C23 [-Wdeprecated-non-prototype] 44 | 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 C23 [-Wdeprecated-non-prototype] 84 | 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 C23 [-Wdeprecated-non-prototype] 128 | 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 C23 [-Wdeprecated-non-prototype] 155 | 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 C23 [-Wdeprecated-non-prototype] 184 | 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 C23 [-Wdeprecated-non-prototype] 223 | 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 C23 [-Wdeprecated-non-prototype] 263 | 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 C23 [-Wdeprecated-non-prototype] 306 | 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 C23 [-Wdeprecated-non-prototype] 319 | 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 C23 [-Wdeprecated-non-prototype] 706 | 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 C23 [-Wdeprecated-non-prototype] 723 | 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 C23 [-Wdeprecated-non-prototype] 1400 | 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 C23 [-Wdeprecated-non-prototype] 1408 | 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 C23 [-Wdeprecated-non-prototype] 1416 | 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 C23 [-Wdeprecated-non-prototype] 1488 | 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 C23 [-Wdeprecated-non-prototype] 1544 | 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 C23 [-Wdeprecated-non-prototype] 1562 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 67 | 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 C23 [-Wdeprecated-non-prototype] 92 | 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 C23 [-Wdeprecated-non-prototype] 112 | 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 C23 [-Wdeprecated-non-prototype] 295 | 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 C23 [-Wdeprecated-non-prototype] 324 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 31 | 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 C23 [-Wdeprecated-non-prototype] 90 | 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 C23 [-Wdeprecated-non-prototype] 132 | 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 C23 [-Wdeprecated-non-prototype] 248 | 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 C23 [-Wdeprecated-non-prototype] 467 | 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 C23 [-Wdeprecated-non-prototype] 487 | 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 C23 [-Wdeprecated-non-prototype] 625 | 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 C23 [-Wdeprecated-non-prototype] 671 | 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 C23 [-Wdeprecated-non-prototype] 716 | 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 C23 [-Wdeprecated-non-prototype] 735 | 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 C23 [-Wdeprecated-non-prototype] 744 | 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 C23 [-Wdeprecated-non-prototype] 758 | 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 C23 [-Wdeprecated-non-prototype] 824 | 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] 827 | boolean your_fault, from_invent; | ^ ../include/extern.h:1441:62: note: previous declaration is here 1441 | 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] 827 | boolean your_fault, from_invent; | ^ ../include/extern.h:1441:70: note: previous declaration is here 1441 | 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 C23 [-Wdeprecated-non-prototype] 856 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 57 | 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 C23 [-Wdeprecated-non-prototype] 149 | 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 C23 [-Wdeprecated-non-prototype] 170 | 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 C23 [-Wdeprecated-non-prototype] 209 | 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 C23 [-Wdeprecated-non-prototype] 258 | 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 C23 [-Wdeprecated-non-prototype] 542 | 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 C23 [-Wdeprecated-non-prototype] 939 | 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 C23 [-Wdeprecated-non-prototype] 1004 | 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 C23 [-Wdeprecated-non-prototype] 1142 | 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 C23 [-Wdeprecated-non-prototype] 1219 | 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 C23 [-Wdeprecated-non-prototype] 1310 | 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 C23 [-Wdeprecated-non-prototype] 1483 | 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 C23 [-Wdeprecated-non-prototype] 1531 | 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 C23 [-Wdeprecated-non-prototype] 1644 | 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 C23 [-Wdeprecated-non-prototype] 1659 | 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 C23 [-Wdeprecated-non-prototype] 1849 | 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 C23 [-Wdeprecated-non-prototype] 1874 | 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 C23 [-Wdeprecated-non-prototype] 1910 | 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 C23 [-Wdeprecated-non-prototype] 1998 | 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 C23 [-Wdeprecated-non-prototype] 2048 | 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 C23 [-Wdeprecated-non-prototype] 2090 | 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 C23 [-Wdeprecated-non-prototype] 2111 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 59 | 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 C23 [-Wdeprecated-non-prototype] 87 | 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 C23 [-Wdeprecated-non-prototype] 107 | 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 C23 [-Wdeprecated-non-prototype] 141 | 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 C23 [-Wdeprecated-non-prototype] 187 | 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 C23 [-Wdeprecated-non-prototype] 214 | 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 C23 [-Wdeprecated-non-prototype] 353 | 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 C23 [-Wdeprecated-non-prototype] 476 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ o_init.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | setgemprobs(dlev) | ^ o_init.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | shuffle(o_low, o_high, domaterial) | ^ o_init.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | 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 C23 [-Wdeprecated-non-prototype] 289 | 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 C23 [-Wdeprecated-non-prototype] 319 | 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 C23 [-Wdeprecated-non-prototype] 340 | 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 C23 [-Wdeprecated-non-prototype] 371 | 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 C23 [-Wdeprecated-non-prototype] 400 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 54 | 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 C23 [-Wdeprecated-non-prototype] 81 | 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 C23 [-Wdeprecated-non-prototype] 158 | 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 C23 [-Wdeprecated-non-prototype] 174 | 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 C23 [-Wdeprecated-non-prototype] 186 | 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 C23 [-Wdeprecated-non-prototype] 203 | 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 C23 [-Wdeprecated-non-prototype] 219 | 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 C23 [-Wdeprecated-non-prototype] 235 | 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 C23 [-Wdeprecated-non-prototype] 242 | 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] 244 | boolean ignore_oquan; | ^ objnam.c:17:44: note: previous declaration is here 17 | 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 C23 [-Wdeprecated-non-prototype] 520 | 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 C23 [-Wdeprecated-non-prototype] 539 | 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 C23 [-Wdeprecated-non-prototype] 552 | 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 C23 [-Wdeprecated-non-prototype] 591 | 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 C23 [-Wdeprecated-non-prototype] 1040 | 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 C23 [-Wdeprecated-non-prototype] 1048 | 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 C23 [-Wdeprecated-non-prototype] 1056 | 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 C23 [-Wdeprecated-non-prototype] 1092 | 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 C23 [-Wdeprecated-non-prototype] 1108 | 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 C23 [-Wdeprecated-non-prototype] 1117 | 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 C23 [-Wdeprecated-non-prototype] 1128 | 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 C23 [-Wdeprecated-non-prototype] 1171 | 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 C23 [-Wdeprecated-non-prototype] 1200 | 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 C23 [-Wdeprecated-non-prototype] 1228 | 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 C23 [-Wdeprecated-non-prototype] 1241 | 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 C23 [-Wdeprecated-non-prototype] 1288 | 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 C23 [-Wdeprecated-non-prototype] 1298 | 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 C23 [-Wdeprecated-non-prototype] 1319 | 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 C23 [-Wdeprecated-non-prototype] 1334 | 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 C23 [-Wdeprecated-non-prototype] 1368 | 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 C23 [-Wdeprecated-non-prototype] 1463 | 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 C23 [-Wdeprecated-non-prototype] 1474 | 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 C23 [-Wdeprecated-non-prototype] 1486 | 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 C23 [-Wdeprecated-non-prototype] 1500 | 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 C23 [-Wdeprecated-non-prototype] 1512 | 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 C23 [-Wdeprecated-non-prototype] 1545 | 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 C23 [-Wdeprecated-non-prototype] 1807 | 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 C23 [-Wdeprecated-non-prototype] 1913 | 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 C23 [-Wdeprecated-non-prototype] 2023 | readobjnam(bp, no_wish, from_user) | ^ objnam.c:2061:10: warning: variable 'found_by_descr' set but not used [-Wunused-but-set-variable] 2061 | 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 C23 [-Wdeprecated-non-prototype] 3068 | 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 C23 [-Wdeprecated-non-prototype] 3087 | 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 C23 [-Wdeprecated-non-prototype] 3101 | 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 C23 [-Wdeprecated-non-prototype] 3121 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 594 | 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 C23 [-Wdeprecated-non-prototype] 621 | 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 C23 [-Wdeprecated-non-prototype] 765 | 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 C23 [-Wdeprecated-non-prototype] 787 | 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 C23 [-Wdeprecated-non-prototype] 847 | 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 C23 [-Wdeprecated-non-prototype] 859 | 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 C23 [-Wdeprecated-non-prototype] 882 | 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 C23 [-Wdeprecated-non-prototype] 900 | 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 C23 [-Wdeprecated-non-prototype] 913 | 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 C23 [-Wdeprecated-non-prototype] 932 | 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 C23 [-Wdeprecated-non-prototype] 970 | 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 C23 [-Wdeprecated-non-prototype] 991 | 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 C23 [-Wdeprecated-non-prototype] 1012 | 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 C23 [-Wdeprecated-non-prototype] 1021 | 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 C23 [-Wdeprecated-non-prototype] 1090 | 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 C23 [-Wdeprecated-non-prototype] 1100 | 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] 1140 | 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 C23 [-Wdeprecated-non-prototype] 1130 | 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] 1170 | 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] 1174 | 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 C23 [-Wdeprecated-non-prototype] 1145 | 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 C23 [-Wdeprecated-non-prototype] 1201 | 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 C23 [-Wdeprecated-non-prototype] 1220 | 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 C23 [-Wdeprecated-non-prototype] 1249 | 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 C23 [-Wdeprecated-non-prototype] 1333 | 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 C23 [-Wdeprecated-non-prototype] 1426 | 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 C23 [-Wdeprecated-non-prototype] 1480 | 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 C23 [-Wdeprecated-non-prototype] 1535 | 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 C23 [-Wdeprecated-non-prototype] 1563 | 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 C23 [-Wdeprecated-non-prototype] 1593 | 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 C23 [-Wdeprecated-non-prototype] 1623 | 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 C23 [-Wdeprecated-non-prototype] 1662 | 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 C23 [-Wdeprecated-non-prototype] 1730 | 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 C23 [-Wdeprecated-non-prototype] 3296 | 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 C23 [-Wdeprecated-non-prototype] 3315 | 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 C23 [-Wdeprecated-non-prototype] 3334 | 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 C23 [-Wdeprecated-non-prototype] 3356 | 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 C23 [-Wdeprecated-non-prototype] 3583 | 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 C23 [-Wdeprecated-non-prototype] 4004 | 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 C23 [-Wdeprecated-non-prototype] 4374 | 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 C23 [-Wdeprecated-non-prototype] 4410 | 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 C23 [-Wdeprecated-non-prototype] 4432 | 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 C23 [-Wdeprecated-non-prototype] 4541 | 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 C23 [-Wdeprecated-non-prototype] 4579 | 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 C23 [-Wdeprecated-non-prototype] 4681 | 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 C23 [-Wdeprecated-non-prototype] 4816 | 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 C23 [-Wdeprecated-non-prototype] 4849 | 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 C23 [-Wdeprecated-non-prototype] 4868 | 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 C23 [-Wdeprecated-non-prototype] 4881 | 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 C23 [-Wdeprecated-non-prototype] 4905 | 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 C23 [-Wdeprecated-non-prototype] 4924 | 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 C23 [-Wdeprecated-non-prototype] 4937 | 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 C23 [-Wdeprecated-non-prototype] 4952 | 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 C23 [-Wdeprecated-non-prototype] 4986 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 22 | 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 C23 [-Wdeprecated-non-prototype] 37 | 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 C23 [-Wdeprecated-non-prototype] 56 | 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 C23 [-Wdeprecated-non-prototype] 306 | 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 C23 [-Wdeprecated-non-prototype] 462 | 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 C23 [-Wdeprecated-non-prototype] 814 | 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 C23 [-Wdeprecated-non-prototype] 907 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 67 | 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 C23 [-Wdeprecated-non-prototype] 93 | 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 C23 [-Wdeprecated-non-prototype] 143 | 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 C23 [-Wdeprecated-non-prototype] 257 | 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 C23 [-Wdeprecated-non-prototype] 284 | 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 C23 [-Wdeprecated-non-prototype] 295 | 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 C23 [-Wdeprecated-non-prototype] 309 | 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 C23 [-Wdeprecated-non-prototype] 318 | 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 C23 [-Wdeprecated-non-prototype] 325 | 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 C23 [-Wdeprecated-non-prototype] 368 | 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 C23 [-Wdeprecated-non-prototype] 389 | 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 C23 [-Wdeprecated-non-prototype] 604 | 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 C23 [-Wdeprecated-non-prototype] 631 | 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 C23 [-Wdeprecated-non-prototype] 700 | 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 C23 [-Wdeprecated-non-prototype] 840 | 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 C23 [-Wdeprecated-non-prototype] 1013 | 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 C23 [-Wdeprecated-non-prototype] 1044 | 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 C23 [-Wdeprecated-non-prototype] 1208 | 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 C23 [-Wdeprecated-non-prototype] 1278 | 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 C23 [-Wdeprecated-non-prototype] 1304 | 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 C23 [-Wdeprecated-non-prototype] 1452 | 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 C23 [-Wdeprecated-non-prototype] 1524 | 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 C23 [-Wdeprecated-non-prototype] 1551 | 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 C23 [-Wdeprecated-non-prototype] 1584 | 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 C23 [-Wdeprecated-non-prototype] 1821 | 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 C23 [-Wdeprecated-non-prototype] 1943 | 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 C23 [-Wdeprecated-non-prototype] 2003 | 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 C23 [-Wdeprecated-non-prototype] 2032 | 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 C23 [-Wdeprecated-non-prototype] 2193 | 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 C23 [-Wdeprecated-non-prototype] 2201 | 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 C23 [-Wdeprecated-non-prototype] 2280 | 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 C23 [-Wdeprecated-non-prototype] 2302 | 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] 2304 | boolean past; | ^ ../include/extern.h:1646:57: note: previous declaration is here 1646 | 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 C23 [-Wdeprecated-non-prototype] 2346 | 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] 2348 | boolean past; | ^ ../include/extern.h:1647:49: note: previous declaration is here 1647 | 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 C23 [-Wdeprecated-non-prototype] 2378 | 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 C23 [-Wdeprecated-non-prototype] 2612 | 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 C23 [-Wdeprecated-non-prototype] 2685 | 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 C23 [-Wdeprecated-non-prototype] 2739 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 24 | 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 C23 [-Wdeprecated-non-prototype] 51 | msgpline_type(msg) | ^ pline.c:117:22: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 117 | 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 C23 [-Wdeprecated-non-prototype] 152 | 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 C23 [-Wdeprecated-non-prototype] 343 | 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 C23 [-Wdeprecated-non-prototype] 356 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 82 | 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 C23 [-Wdeprecated-non-prototype] 268 | 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 C23 [-Wdeprecated-non-prototype] 377 | 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 C23 [-Wdeprecated-non-prototype] 747 | 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 C23 [-Wdeprecated-non-prototype] 1204 | 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 C23 [-Wdeprecated-non-prototype] 1217 | 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 C23 [-Wdeprecated-non-prototype] 1330 | 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 C23 [-Wdeprecated-non-prototype] 1347 | 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 C23 [-Wdeprecated-non-prototype] 1375 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 24 | itimeout(val) | ^ potion.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | itimeout_incr(old, incr) | ^ potion.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | set_itimeout(which, val) | ^ potion.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | incr_itimeout(which, incr) | ^ potion.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | make_confused(xtime,talk) | ^ potion.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | 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 C23 [-Wdeprecated-non-prototype] 105 | 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 C23 [-Wdeprecated-non-prototype] 152 | 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 C23 [-Wdeprecated-non-prototype] 168 | 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 C23 [-Wdeprecated-non-prototype] 246 | 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 C23 [-Wdeprecated-non-prototype] 402 | 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 C23 [-Wdeprecated-non-prototype] 428 | 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 C23 [-Wdeprecated-non-prototype] 985 | 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 C23 [-Wdeprecated-non-prototype] 1007 | 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 C23 [-Wdeprecated-non-prototype] 1038 | 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 C23 [-Wdeprecated-non-prototype] 1295 | 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 C23 [-Wdeprecated-non-prototype] 1556 | 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 C23 [-Wdeprecated-non-prototype] 1650 | 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 C23 [-Wdeprecated-non-prototype] 1818 | 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 C23 [-Wdeprecated-non-prototype] 2209 | 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 C23 [-Wdeprecated-non-prototype] 2257 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 264 | 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 C23 [-Wdeprecated-non-prototype] 470 | 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 C23 [-Wdeprecated-non-prototype] 544 | 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 C23 [-Wdeprecated-non-prototype] 557 | 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 C23 [-Wdeprecated-non-prototype] 625 | 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 C23 [-Wdeprecated-non-prototype] 828 | 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 C23 [-Wdeprecated-non-prototype] 1077 | 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 C23 [-Wdeprecated-non-prototype] 1106 | 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 C23 [-Wdeprecated-non-prototype] 1121 | 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 C23 [-Wdeprecated-non-prototype] 1129 | 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 C23 [-Wdeprecated-non-prototype] 1140 | 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 C23 [-Wdeprecated-non-prototype] 1660 | 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 C23 [-Wdeprecated-non-prototype] 1914 | 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 C23 [-Wdeprecated-non-prototype] 1929 | 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 C23 [-Wdeprecated-non-prototype] 1949 | 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 C23 [-Wdeprecated-non-prototype] 1959 | 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 C23 [-Wdeprecated-non-prototype] 1980 | 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 C23 [-Wdeprecated-non-prototype] 1996 | 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 C23 [-Wdeprecated-non-prototype] 2014 | 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 C23 [-Wdeprecated-non-prototype] 2044 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 22 | 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 C23 [-Wdeprecated-non-prototype] 109 | 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 C23 [-Wdeprecated-non-prototype] 121 | 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 C23 [-Wdeprecated-non-prototype] 133 | 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 C23 [-Wdeprecated-non-prototype] 176 | 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 C23 [-Wdeprecated-non-prototype] 235 | 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 C23 [-Wdeprecated-non-prototype] 284 | 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 C23 [-Wdeprecated-non-prototype] 291 | 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 C23 [-Wdeprecated-non-prototype] 305 | 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 C23 [-Wdeprecated-non-prototype] 321 | 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 C23 [-Wdeprecated-non-prototype] 399 | 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 C23 [-Wdeprecated-non-prototype] 529 | 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 C23 [-Wdeprecated-non-prototype] 561 | 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 C23 [-Wdeprecated-non-prototype] 576 | 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 C23 [-Wdeprecated-non-prototype] 600 | 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 C23 [-Wdeprecated-non-prototype] 704 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 118 | 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 C23 [-Wdeprecated-non-prototype] 154 | 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 C23 [-Wdeprecated-non-prototype] 188 | 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 C23 [-Wdeprecated-non-prototype] 288 | 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 C23 [-Wdeprecated-non-prototype] 350 | 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 C23 [-Wdeprecated-non-prototype] 372 | 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 C23 [-Wdeprecated-non-prototype] 388 | 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 C23 [-Wdeprecated-non-prototype] 403 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 56 | 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 C23 [-Wdeprecated-non-prototype] 71 | 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 C23 [-Wdeprecated-non-prototype] 152 | 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 C23 [-Wdeprecated-non-prototype] 183 | 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 C23 [-Wdeprecated-non-prototype] 215 | 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 C23 [-Wdeprecated-non-prototype] 228 | 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 C23 [-Wdeprecated-non-prototype] 362 | 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 C23 [-Wdeprecated-non-prototype] 373 | 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 C23 [-Wdeprecated-non-prototype] 389 | 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 C23 [-Wdeprecated-non-prototype] 408 | 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 C23 [-Wdeprecated-non-prototype] 429 | 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 C23 [-Wdeprecated-non-prototype] 447 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 345 | 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 C23 [-Wdeprecated-non-prototype] 360 | 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 C23 [-Wdeprecated-non-prototype] 368 | 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 C23 [-Wdeprecated-non-prototype] 382 | 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 C23 [-Wdeprecated-non-prototype] 402 | 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 C23 [-Wdeprecated-non-prototype] 656 | 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 C23 [-Wdeprecated-non-prototype] 695 | 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 C23 [-Wdeprecated-non-prototype] 712 | 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 C23 [-Wdeprecated-non-prototype] 740 | 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 C23 [-Wdeprecated-non-prototype] 777 | 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 C23 [-Wdeprecated-non-prototype] 868 | 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 C23 [-Wdeprecated-non-prototype] 888 | 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 C23 [-Wdeprecated-non-prototype] 906 | 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 C23 [-Wdeprecated-non-prototype] 940 | 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 C23 [-Wdeprecated-non-prototype] 1625 | 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 C23 [-Wdeprecated-non-prototype] 1640 | 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 C23 [-Wdeprecated-non-prototype] 1653 | 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 C23 [-Wdeprecated-non-prototype] 1906 | 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 C23 [-Wdeprecated-non-prototype] 2097 | 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 C23 [-Wdeprecated-non-prototype] 2158 | 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 C23 [-Wdeprecated-non-prototype] 2264 | 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 C23 [-Wdeprecated-non-prototype] 2312 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ rect.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | get_rect_ind(r) | ^ rect.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | 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 C23 [-Wdeprecated-non-prototype] 97 | 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 C23 [-Wdeprecated-non-prototype] 119 | 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 C23 [-Wdeprecated-non-prototype] 134 | 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 C23 [-Wdeprecated-non-prototype] 158 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 60 | 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 C23 [-Wdeprecated-non-prototype] 71 | 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 C23 [-Wdeprecated-non-prototype] 89 | 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 C23 [-Wdeprecated-non-prototype] 144 | 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 C23 [-Wdeprecated-non-prototype] 174 | 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 C23 [-Wdeprecated-non-prototype] 199 | 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 C23 [-Wdeprecated-non-prototype] 219 | 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 C23 [-Wdeprecated-non-prototype] 271 | 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 C23 [-Wdeprecated-non-prototype] 288 | 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 C23 [-Wdeprecated-non-prototype] 328 | 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 C23 [-Wdeprecated-non-prototype] 422 | 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 C23 [-Wdeprecated-non-prototype] 473 | 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 C23 [-Wdeprecated-non-prototype] 536 | 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 C23 [-Wdeprecated-non-prototype] 594 | 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 C23 [-Wdeprecated-non-prototype] 607 | 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 C23 [-Wdeprecated-non-prototype] 618 | 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 C23 [-Wdeprecated-non-prototype] 668 | 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 C23 [-Wdeprecated-non-prototype] 757 | 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 C23 [-Wdeprecated-non-prototype] 879 | 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 C23 [-Wdeprecated-non-prototype] 900 | 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 C23 [-Wdeprecated-non-prototype] 939 | 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 C23 [-Wdeprecated-non-prototype] 996 | 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 C23 [-Wdeprecated-non-prototype] 1011 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 102 | 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 C23 [-Wdeprecated-non-prototype] 128 | 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 C23 [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 194 | 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 C23 [-Wdeprecated-non-prototype] 220 | 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 C23 [-Wdeprecated-non-prototype] 252 | 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 C23 [-Wdeprecated-non-prototype] 302 | 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 C23 [-Wdeprecated-non-prototype] 371 | 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 C23 [-Wdeprecated-non-prototype] 388 | 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 C23 [-Wdeprecated-non-prototype] 401 | 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 C23 [-Wdeprecated-non-prototype] 415 | restgamestate(fd, stuckid, steedid) | ^ restore.c:421:14: warning: unused variable 'otmp' [-Wunused-variable] 421 | 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 C23 [-Wdeprecated-non-prototype] 515 | 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 C23 [-Wdeprecated-non-prototype] 539 | 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 C23 [-Wdeprecated-non-prototype] 601 | 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 C23 [-Wdeprecated-non-prototype] 769 | 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 C23 [-Wdeprecated-non-prototype] 780 | 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 C23 [-Wdeprecated-non-prototype] 1010 | 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 C23 [-Wdeprecated-non-prototype] 1035 | 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 C23 [-Wdeprecated-non-prototype] 1061 | 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 C23 [-Wdeprecated-non-prototype] 1156 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 76 | 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 C23 [-Wdeprecated-non-prototype] 88 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 26 | 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 C23 [-Wdeprecated-non-prototype] 38 | 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 C23 [-Wdeprecated-non-prototype] 60 | 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 C23 [-Wdeprecated-non-prototype] 72 | 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 C23 [-Wdeprecated-non-prototype] 86 | 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 C23 [-Wdeprecated-non-prototype] 109 | 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 C23 [-Wdeprecated-non-prototype] 127 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 586 | 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 C23 [-Wdeprecated-non-prototype] 601 | 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 C23 [-Wdeprecated-non-prototype] 634 | 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 C23 [-Wdeprecated-non-prototype] 649 | 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 C23 [-Wdeprecated-non-prototype] 676 | 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 C23 [-Wdeprecated-non-prototype] 706 | 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 C23 [-Wdeprecated-non-prototype] 717 | 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 C23 [-Wdeprecated-non-prototype] 745 | 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 C23 [-Wdeprecated-non-prototype] 774 | 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 C23 [-Wdeprecated-non-prototype] 785 | 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 C23 [-Wdeprecated-non-prototype] 811 | 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 C23 [-Wdeprecated-non-prototype] 840 | 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 C23 [-Wdeprecated-non-prototype] 886 | 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 C23 [-Wdeprecated-non-prototype] 912 | 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 C23 [-Wdeprecated-non-prototype] 958 | 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 C23 [-Wdeprecated-non-prototype] 985 | 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 C23 [-Wdeprecated-non-prototype] 1021 | 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 C23 [-Wdeprecated-non-prototype] 1048 | 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 C23 [-Wdeprecated-non-prototype] 1084 | 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 C23 [-Wdeprecated-non-prototype] 1151 | 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 C23 [-Wdeprecated-non-prototype] 1166 | 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 C23 [-Wdeprecated-non-prototype] 1179 | 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 C23 [-Wdeprecated-non-prototype] 1192 | 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 C23 [-Wdeprecated-non-prototype] 1327 | 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 C23 [-Wdeprecated-non-prototype] 1549 | 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 C23 [-Wdeprecated-non-prototype] 1598 | 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 C23 [-Wdeprecated-non-prototype] 1691 | 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 C23 [-Wdeprecated-non-prototype] 1715 | 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 C23 [-Wdeprecated-non-prototype] 1732 | 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 C23 [-Wdeprecated-non-prototype] 1744 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 41 | 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 C23 [-Wdeprecated-non-prototype] 67 | 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 C23 [-Wdeprecated-non-prototype] 138 | 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 C23 [-Wdeprecated-non-prototype] 183 | 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 C23 [-Wdeprecated-non-prototype] 205 | 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 C23 [-Wdeprecated-non-prototype] 222 | 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 C23 [-Wdeprecated-non-prototype] 234 | 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 C23 [-Wdeprecated-non-prototype] 326 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 102 | 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 C23 [-Wdeprecated-non-prototype] 297 | 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 C23 [-Wdeprecated-non-prototype] 473 | 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 C23 [-Wdeprecated-non-prototype] 744 | 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 C23 [-Wdeprecated-non-prototype] 758 | 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 C23 [-Wdeprecated-non-prototype] 766 | 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 C23 [-Wdeprecated-non-prototype] 779 | 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 C23 [-Wdeprecated-non-prototype] 819 | 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 C23 [-Wdeprecated-non-prototype] 836 | 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 C23 [-Wdeprecated-non-prototype] 858 | 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 C23 [-Wdeprecated-non-prototype] 883 | 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 C23 [-Wdeprecated-non-prototype] 918 | 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 C23 [-Wdeprecated-non-prototype] 956 | 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 C23 [-Wdeprecated-non-prototype] 988 | 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 C23 [-Wdeprecated-non-prototype] 1018 | 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 C23 [-Wdeprecated-non-prototype] 1042 | 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 C23 [-Wdeprecated-non-prototype] 1065 | 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 C23 [-Wdeprecated-non-prototype] 1074 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 150 | 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 C23 [-Wdeprecated-non-prototype] 170 | 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 C23 [-Wdeprecated-non-prototype] 177 | 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 C23 [-Wdeprecated-non-prototype] 212 | 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 C23 [-Wdeprecated-non-prototype] 222 | 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 C23 [-Wdeprecated-non-prototype] 233 | 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 C23 [-Wdeprecated-non-prototype] 254 | 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 C23 [-Wdeprecated-non-prototype] 266 | 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 C23 [-Wdeprecated-non-prototype] 297 | 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 C23 [-Wdeprecated-non-prototype] 313 | 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 C23 [-Wdeprecated-non-prototype] 400 | 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 C23 [-Wdeprecated-non-prototype] 442 | 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 C23 [-Wdeprecated-non-prototype] 487 | 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 C23 [-Wdeprecated-non-prototype] 500 | 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 C23 [-Wdeprecated-non-prototype] 556 | 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 C23 [-Wdeprecated-non-prototype] 590 | 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 C23 [-Wdeprecated-non-prototype] 627 | 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 C23 [-Wdeprecated-non-prototype] 770 | 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 C23 [-Wdeprecated-non-prototype] 802 | 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 C23 [-Wdeprecated-non-prototype] 851 | 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 C23 [-Wdeprecated-non-prototype] 860 | 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 C23 [-Wdeprecated-non-prototype] 877 | 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 C23 [-Wdeprecated-non-prototype] 889 | 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 C23 [-Wdeprecated-non-prototype] 910 | 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 C23 [-Wdeprecated-non-prototype] 923 | 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 C23 [-Wdeprecated-non-prototype] 988 | 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 C23 [-Wdeprecated-non-prototype] 1008 | 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 C23 [-Wdeprecated-non-prototype] 1032 | 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 C23 [-Wdeprecated-non-prototype] 1064 | 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 C23 [-Wdeprecated-non-prototype] 1083 | 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 C23 [-Wdeprecated-non-prototype] 1102 | 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 C23 [-Wdeprecated-non-prototype] 1118 | 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 C23 [-Wdeprecated-non-prototype] 1163 | 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 C23 [-Wdeprecated-non-prototype] 1179 | 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 C23 [-Wdeprecated-non-prototype] 1214 | 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 C23 [-Wdeprecated-non-prototype] 1638 | 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 C23 [-Wdeprecated-non-prototype] 1745 | 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 C23 [-Wdeprecated-non-prototype] 1790 | 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 C23 [-Wdeprecated-non-prototype] 1901 | 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 C23 [-Wdeprecated-non-prototype] 1956 | 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 C23 [-Wdeprecated-non-prototype] 1975 | 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 C23 [-Wdeprecated-non-prototype] 2003 | 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 C23 [-Wdeprecated-non-prototype] 2031 | 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 C23 [-Wdeprecated-non-prototype] 2137 | 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 C23 [-Wdeprecated-non-prototype] 2170 | 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 C23 [-Wdeprecated-non-prototype] 2187 | 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 C23 [-Wdeprecated-non-prototype] 2207 | 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 C23 [-Wdeprecated-non-prototype] 2226 | 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 C23 [-Wdeprecated-non-prototype] 2264 | 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 C23 [-Wdeprecated-non-prototype] 2281 | 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 C23 [-Wdeprecated-non-prototype] 2324 | 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 C23 [-Wdeprecated-non-prototype] 2339 | 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 C23 [-Wdeprecated-non-prototype] 2359 | 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 C23 [-Wdeprecated-non-prototype] 2394 | 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 C23 [-Wdeprecated-non-prototype] 2495 | 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 C23 [-Wdeprecated-non-prototype] 2513 | 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 C23 [-Wdeprecated-non-prototype] 2551 | 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 C23 [-Wdeprecated-non-prototype] 2594 | 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 C23 [-Wdeprecated-non-prototype] 2614 | 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 C23 [-Wdeprecated-non-prototype] 2654 | 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 C23 [-Wdeprecated-non-prototype] 2736 | 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 C23 [-Wdeprecated-non-prototype] 2751 | 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 C23 [-Wdeprecated-non-prototype] 2970 | 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 C23 [-Wdeprecated-non-prototype] 3058 | 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 C23 [-Wdeprecated-non-prototype] 3096 | 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 C23 [-Wdeprecated-non-prototype] 3130 | 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 C23 [-Wdeprecated-non-prototype] 3175 | 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 C23 [-Wdeprecated-non-prototype] 3270 | 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 C23 [-Wdeprecated-non-prototype] 3400 | 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 C23 [-Wdeprecated-non-prototype] 3517 | 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 C23 [-Wdeprecated-non-prototype] 3531 | 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 C23 [-Wdeprecated-non-prototype] 3539 | 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 C23 [-Wdeprecated-non-prototype] 3631 | 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 C23 [-Wdeprecated-non-prototype] 3677 | 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 C23 [-Wdeprecated-non-prototype] 3835 | 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 C23 [-Wdeprecated-non-prototype] 3852 | 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 C23 [-Wdeprecated-non-prototype] 3872 | 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 C23 [-Wdeprecated-non-prototype] 3919 | 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 C23 [-Wdeprecated-non-prototype] 3963 | 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 C23 [-Wdeprecated-non-prototype] 3981 | 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 C23 [-Wdeprecated-non-prototype] 4053 | 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 C23 [-Wdeprecated-non-prototype] 4073 | 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 C23 [-Wdeprecated-non-prototype] 4131 | 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 C23 [-Wdeprecated-non-prototype] 4168 | 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 C23 [-Wdeprecated-non-prototype] 4175 | 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 C23 [-Wdeprecated-non-prototype] 4212 | 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 C23 [-Wdeprecated-non-prototype] 4244 | 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 C23 [-Wdeprecated-non-prototype] 4283 | 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 C23 [-Wdeprecated-non-prototype] 4293 | 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 C23 [-Wdeprecated-non-prototype] 4303 | 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 C23 [-Wdeprecated-non-prototype] 4320 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ shknam.c:193:51: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 193 | "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 C23 [-Wdeprecated-non-prototype] 302 | 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 C23 [-Wdeprecated-non-prototype] 340 | 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 C23 [-Wdeprecated-non-prototype] 440 | 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 C23 [-Wdeprecated-non-prototype] 598 | 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 C23 [-Wdeprecated-non-prototype] 677 | 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 C23 [-Wdeprecated-non-prototype] 783 | 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 C23 [-Wdeprecated-non-prototype] 801 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 355 | 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] 358 | boolean showmsg; | ^ sit.c:8:65: note: previous declaration is here 8 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 20 | 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 C23 [-Wdeprecated-non-prototype] 343 | 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 C23 [-Wdeprecated-non-prototype] 386 | 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 C23 [-Wdeprecated-non-prototype] 408 | 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 C23 [-Wdeprecated-non-prototype] 449 | 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 C23 [-Wdeprecated-non-prototype] 481 | 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 C23 [-Wdeprecated-non-prototype] 499 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 97 | 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 C23 [-Wdeprecated-non-prototype] 109 | 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 C23 [-Wdeprecated-non-prototype] 146 | 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 C23 [-Wdeprecated-non-prototype] 167 | 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 C23 [-Wdeprecated-non-prototype] 184 | 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 C23 [-Wdeprecated-non-prototype] 212 | 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 C23 [-Wdeprecated-non-prototype] 231 | 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 C23 [-Wdeprecated-non-prototype] 242 | 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 C23 [-Wdeprecated-non-prototype] 253 | 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 C23 [-Wdeprecated-non-prototype] 264 | 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 C23 [-Wdeprecated-non-prototype] 289 | 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 C23 [-Wdeprecated-non-prototype] 318 | 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 C23 [-Wdeprecated-non-prototype] 349 | 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 C23 [-Wdeprecated-non-prototype] 364 | 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 C23 [-Wdeprecated-non-prototype] 380 | 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 C23 [-Wdeprecated-non-prototype] 395 | 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 C23 [-Wdeprecated-non-prototype] 419 | 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 C23 [-Wdeprecated-non-prototype] 437 | 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 C23 [-Wdeprecated-non-prototype] 448 | 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 C23 [-Wdeprecated-non-prototype] 462 | 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 C23 [-Wdeprecated-non-prototype] 733 | 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 C23 [-Wdeprecated-non-prototype] 860 | 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 C23 [-Wdeprecated-non-prototype] 925 | 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 C23 [-Wdeprecated-non-prototype] 949 | 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 C23 [-Wdeprecated-non-prototype] 970 | 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 C23 [-Wdeprecated-non-prototype] 992 | 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 C23 [-Wdeprecated-non-prototype] 1020 | 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 C23 [-Wdeprecated-non-prototype] 1042 | 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 C23 [-Wdeprecated-non-prototype] 1111 | 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 C23 [-Wdeprecated-non-prototype] 1290 | 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 C23 [-Wdeprecated-non-prototype] 1339 | 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 C23 [-Wdeprecated-non-prototype] 1430 | 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 C23 [-Wdeprecated-non-prototype] 1472 | 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 C23 [-Wdeprecated-non-prototype] 1496 | 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 C23 [-Wdeprecated-non-prototype] 1578 | 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 C23 [-Wdeprecated-non-prototype] 1590 | 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 C23 [-Wdeprecated-non-prototype] 1806 | 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 C23 [-Wdeprecated-non-prototype] 2013 | 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 C23 [-Wdeprecated-non-prototype] 2069 | 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 C23 [-Wdeprecated-non-prototype] 2096 | 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 C23 [-Wdeprecated-non-prototype] 2149 | 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 C23 [-Wdeprecated-non-prototype] 2299 | 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 C23 [-Wdeprecated-non-prototype] 2341 | 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 C23 [-Wdeprecated-non-prototype] 2409 | 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 C23 [-Wdeprecated-non-prototype] 2444 | 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 C23 [-Wdeprecated-non-prototype] 2472 | 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 C23 [-Wdeprecated-non-prototype] 2504 | 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 C23 [-Wdeprecated-non-prototype] 2585 | 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 C23 [-Wdeprecated-non-prototype] 2655 | 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 C23 [-Wdeprecated-non-prototype] 2676 | 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 C23 [-Wdeprecated-non-prototype] 2706 | 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 C23 [-Wdeprecated-non-prototype] 2721 | frame_del(frame) | ^ sp_lev.c:2758:43: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2758 | 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] 2759 | 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 C23 [-Wdeprecated-non-prototype] 2737 | 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 C23 [-Wdeprecated-non-prototype] 2904 | 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 C23 [-Wdeprecated-non-prototype] 2913 | 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 C23 [-Wdeprecated-non-prototype] 2925 | 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 C23 [-Wdeprecated-non-prototype] 2932 | 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 C23 [-Wdeprecated-non-prototype] 2958 | 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 C23 [-Wdeprecated-non-prototype] 2982 | 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 C23 [-Wdeprecated-non-prototype] 2991 | 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 C23 [-Wdeprecated-non-prototype] 3002 | 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 C23 [-Wdeprecated-non-prototype] 3028 | 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 C23 [-Wdeprecated-non-prototype] 3172 | 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 C23 [-Wdeprecated-non-prototype] 3324 | 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 C23 [-Wdeprecated-non-prototype] 3352 | 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 C23 [-Wdeprecated-non-prototype] 3391 | spo_mon_generation(coder) | ^ sp_lev.c:3415:6: warning: variable 'mon' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] 3415 | if (!OV_pop_i(is_sym) || | ^~~~~~~~~~~~~~~~~ sp_lev.c:3432:13: note: uninitialized use occurs here 3432 | opvar_free(mon); | ^~~ sp_lev.c:286:30: note: expanded from macro 'opvar_free' 286 | #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 3415 | if (!OV_pop_i(is_sym) || | ^~~~~~~~~~~~~~~~~~~~ sp_lev.c:3412:36: note: initialize the variable 'mon' to silence this warning 3412 | struct opvar *mfreq, *is_sym, *mon; | ^ | = NULL sp_lev.c:3415:6: warning: variable 'mfreq' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] 3415 | if (!OV_pop_i(is_sym) || | ^~~~~~~~~~~~~~~~~~~~ 3416 | !OV_pop_i(mon) || | ~~~~~~~~~~~~~~ sp_lev.c:3421:23: note: uninitialized use occurs here 3421 | mgtuple->freq = OV_i(mfreq); | ^~~~~ sp_lev.c:200:18: note: expanded from macro 'OV_i' 200 | #define OV_i(o) (o->vardata.l) | ^ sp_lev.c:3415:6: note: remove the '||' if its condition is always false 3415 | if (!OV_pop_i(is_sym) || | ^~~~~~~~~~~~~~~~~~~~ 3416 | !OV_pop_i(mon) || | ~~~~~~~~~~~~~~~~~ sp_lev.c:3415:6: warning: variable 'mfreq' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] 3415 | if (!OV_pop_i(is_sym) || | ^~~~~~~~~~~~~~~~~ sp_lev.c:3421:23: note: uninitialized use occurs here 3421 | mgtuple->freq = OV_i(mfreq); | ^~~~~ sp_lev.c:200:18: note: expanded from macro 'OV_i' 200 | #define OV_i(o) (o->vardata.l) | ^ sp_lev.c:3415:6: note: remove the '||' if its condition is always false 3415 | if (!OV_pop_i(is_sym) || | ^~~~~~~~~~~~~~~~~~~~ sp_lev.c:3412:21: note: initialize the variable 'mfreq' to silence this warning 3412 | 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 C23 [-Wdeprecated-non-prototype] 3440 | spo_level_sounds(coder) | ^ sp_lev.c:3465:6: warning: variable 'msg' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] 3465 | if (!OV_pop_i(flags) || !OV_pop_s(msg)) { | ^~~~~~~~~~~~~~~~ sp_lev.c:3470:47: note: uninitialized use occurs here 3470 | mg->sounds[OV_i(n_tuples)].msg = strdup(OV_s(msg)); | ^~~ sp_lev.c:201:18: note: expanded from macro 'OV_s' 201 | #define OV_s(o) (o->vardata.str) | ^ sp_lev.c:3465:6: note: remove the '||' if its condition is always false 3465 | if (!OV_pop_i(flags) || !OV_pop_s(msg)) { | ^~~~~~~~~~~~~~~~~~~ sp_lev.c:3463:27: note: initialize the variable 'msg' to silence this warning 3463 | 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 C23 [-Wdeprecated-non-prototype] 3487 | 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 C23 [-Wdeprecated-non-prototype] 3506 | 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 C23 [-Wdeprecated-non-prototype] 3525 | 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 C23 [-Wdeprecated-non-prototype] 3593 | 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 C23 [-Wdeprecated-non-prototype] 3616 | 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 C23 [-Wdeprecated-non-prototype] 3642 | 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 C23 [-Wdeprecated-non-prototype] 3667 | 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 C23 [-Wdeprecated-non-prototype] 3693 | 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 C23 [-Wdeprecated-non-prototype] 3715 | 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 C23 [-Wdeprecated-non-prototype] 3740 | 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 C23 [-Wdeprecated-non-prototype] 3759 | 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 C23 [-Wdeprecated-non-prototype] 3775 | 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 C23 [-Wdeprecated-non-prototype] 3807 | 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 C23 [-Wdeprecated-non-prototype] 3825 | 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 C23 [-Wdeprecated-non-prototype] 3836 | 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 C23 [-Wdeprecated-non-prototype] 3848 | 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 C23 [-Wdeprecated-non-prototype] 3865 | 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 C23 [-Wdeprecated-non-prototype] 3894 | 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 C23 [-Wdeprecated-non-prototype] 3921 | 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 C23 [-Wdeprecated-non-prototype] 3934 | 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 C23 [-Wdeprecated-non-prototype] 3964 | 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 C23 [-Wdeprecated-non-prototype] 3996 | 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 C23 [-Wdeprecated-non-prototype] 4028 | 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 C23 [-Wdeprecated-non-prototype] 4091 | 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 C23 [-Wdeprecated-non-prototype] 4115 | 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 C23 [-Wdeprecated-non-prototype] 4166 | 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 C23 [-Wdeprecated-non-prototype] 4218 | 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 C23 [-Wdeprecated-non-prototype] 4261 | 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 C23 [-Wdeprecated-non-prototype] 4274 | 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 C23 [-Wdeprecated-non-prototype] 4292 | 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 C23 [-Wdeprecated-non-prototype] 4301 | 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 C23 [-Wdeprecated-non-prototype] 4335 | 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 C23 [-Wdeprecated-non-prototype] 4353 | 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 C23 [-Wdeprecated-non-prototype] 4372 | 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 C23 [-Wdeprecated-non-prototype] 4390 | 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 C23 [-Wdeprecated-non-prototype] 4420 | 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 C23 [-Wdeprecated-non-prototype] 4447 | 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 C23 [-Wdeprecated-non-prototype] 4536 | 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 C23 [-Wdeprecated-non-prototype] 4642 | 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 C23 [-Wdeprecated-non-prototype] 4663 | 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 C23 [-Wdeprecated-non-prototype] 4736 | 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 C23 [-Wdeprecated-non-prototype] 4759 | 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 C23 [-Wdeprecated-non-prototype] 4785 | 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 C23 [-Wdeprecated-non-prototype] 4793 | 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 C23 [-Wdeprecated-non-prototype] 4825 | 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 C23 [-Wdeprecated-non-prototype] 4993 | 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 C23 [-Wdeprecated-non-prototype] 5008 | 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 C23 [-Wdeprecated-non-prototype] 5041 | 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 C23 [-Wdeprecated-non-prototype] 5147 | 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 C23 [-Wdeprecated-non-prototype] 5179 | 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 C23 [-Wdeprecated-non-prototype] 5210 | sp_level_coder(lvl) | ^ sp_lev.c:5668:7: warning: variable 'tmp2' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] 5668 | 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 5670 | get_location_coord(&x2, &y2, ANY_LOC, coder->croom, OV_i(tmp2)); | ^~~~ sp_lev.c:200:18: note: expanded from macro 'OV_i' 200 | #define OV_i(o) (o->vardata.l) | ^ sp_lev.c:5668:7: note: remove the '||' if its condition is always false 5668 | 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] 5668 | 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 5670 | get_location_coord(&x2, &y2, ANY_LOC, coder->croom, OV_i(tmp2)); | ^~~~ sp_lev.c:200:18: note: expanded from macro 'OV_i' 200 | #define OV_i(o) (o->vardata.l) | ^ sp_lev.c:5668:7: note: remove the '||' if its condition is always false 5668 | 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 5666 | 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] 5668 | 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 5669 | get_location_coord(&x1, &y1, ANY_LOC, coder->croom, OV_i(tmp)); | ^~~ sp_lev.c:200:18: note: expanded from macro 'OV_i' 200 | #define OV_i(o) (o->vardata.l) | ^ sp_lev.c:5668:7: note: remove the '||' if its condition is always false 5668 | 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 5666 | 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] 5651 | if (!OV_pop_c(tmp) || !OV_pop_c(tmp2)) panic("no ter sel linecoord"); | ^~~~~~~~~~~~~~ sp_lev.c:5653:60: note: uninitialized use occurs here 5653 | get_location_coord(&x2, &y2, ANY_LOC, coder->croom, OV_i(tmp2)); | ^~~~ sp_lev.c:200:18: note: expanded from macro 'OV_i' 200 | #define OV_i(o) (o->vardata.l) | ^ sp_lev.c:5651:7: note: remove the '||' if its condition is always false 5651 | 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 5649 | 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 C23 [-Wdeprecated-non-prototype] 5807 | 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 C23 [-Wdeprecated-non-prototype] 5820 | 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 C23 [-Wdeprecated-non-prototype] 5833 | load_special(name) | ^ sp_lev.c:5841:27: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 5841 | 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] 5853 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 75 | 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 C23 [-Wdeprecated-non-prototype] 89 | 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 C23 [-Wdeprecated-non-prototype] 159 | 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 C23 [-Wdeprecated-non-prototype] 184 | 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 C23 [-Wdeprecated-non-prototype] 376 | 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 C23 [-Wdeprecated-non-prototype] 486 | 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 C23 [-Wdeprecated-non-prototype] 496 | 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 C23 [-Wdeprecated-non-prototype] 524 | 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 C23 [-Wdeprecated-non-prototype] 577 | 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 C23 [-Wdeprecated-non-prototype] 602 | 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 C23 [-Wdeprecated-non-prototype] 672 | 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 C23 [-Wdeprecated-non-prototype] 700 | 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 C23 [-Wdeprecated-non-prototype] 1018 | 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 C23 [-Wdeprecated-non-prototype] 1030 | 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 C23 [-Wdeprecated-non-prototype] 1067 | 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 C23 [-Wdeprecated-non-prototype] 1182 | 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 C23 [-Wdeprecated-non-prototype] 1286 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ steal.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | equipname(otmp) | ^ steal.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | 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 C23 [-Wdeprecated-non-prototype] 179 | 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 C23 [-Wdeprecated-non-prototype] 232 | 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 C23 [-Wdeprecated-non-prototype] 432 | 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 C23 [-Wdeprecated-non-prototype] 471 | 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 C23 [-Wdeprecated-non-prototype] 516 | 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 C23 [-Wdeprecated-non-prototype] 551 | 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 C23 [-Wdeprecated-non-prototype] 569 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 28 | 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 C23 [-Wdeprecated-non-prototype] 41 | 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 C23 [-Wdeprecated-non-prototype] 173 | 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 C23 [-Wdeprecated-non-prototype] 203 | 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 C23 [-Wdeprecated-non-prototype] 435 | landing_spot(spot, reason, forceit) | ^ steed.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | dismount_steed(reason) | ^ steed.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 22 | 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 C23 [-Wdeprecated-non-prototype] 100 | 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 C23 [-Wdeprecated-non-prototype] 176 | 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 C23 [-Wdeprecated-non-prototype] 185 | 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 C23 [-Wdeprecated-non-prototype] 195 | 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 C23 [-Wdeprecated-non-prototype] 293 | 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 C23 [-Wdeprecated-non-prototype] 410 | 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 C23 [-Wdeprecated-non-prototype] 443 | 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 C23 [-Wdeprecated-non-prototype] 455 | 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 C23 [-Wdeprecated-non-prototype] 562 | 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 C23 [-Wdeprecated-non-prototype] 593 | 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 C23 [-Wdeprecated-non-prototype] 1073 | 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 C23 [-Wdeprecated-non-prototype] 1112 | 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 C23 [-Wdeprecated-non-prototype] 1130 | 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 C23 [-Wdeprecated-non-prototype] 1154 | 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 C23 [-Wdeprecated-non-prototype] 1206 | 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 C23 [-Wdeprecated-non-prototype] 1251 | 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 C23 [-Wdeprecated-non-prototype] 1304 | 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 C23 [-Wdeprecated-non-prototype] 1319 | 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 C23 [-Wdeprecated-non-prototype] 1332 | 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 C23 [-Wdeprecated-non-prototype] 1363 | 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 C23 [-Wdeprecated-non-prototype] 1446 | 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 C23 [-Wdeprecated-non-prototype] 1556 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 415 | 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 C23 [-Wdeprecated-non-prototype] 435 | 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 C23 [-Wdeprecated-non-prototype] 460 | 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 C23 [-Wdeprecated-non-prototype] 469 | 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 C23 [-Wdeprecated-non-prototype] 641 | 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 C23 [-Wdeprecated-non-prototype] 653 | 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 C23 [-Wdeprecated-non-prototype] 757 | 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 C23 [-Wdeprecated-non-prototype] 774 | 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 C23 [-Wdeprecated-non-prototype] 799 | 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 C23 [-Wdeprecated-non-prototype] 1098 | 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 C23 [-Wdeprecated-non-prototype] 1194 | 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 C23 [-Wdeprecated-non-prototype] 1220 | 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 C23 [-Wdeprecated-non-prototype] 1378 | 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 C23 [-Wdeprecated-non-prototype] 1391 | 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 C23 [-Wdeprecated-non-prototype] 1490 | 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 C23 [-Wdeprecated-non-prototype] 1524 | 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 C23 [-Wdeprecated-non-prototype] 1550 | 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 C23 [-Wdeprecated-non-prototype] 1572 | 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 C23 [-Wdeprecated-non-prototype] 1592 | 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 C23 [-Wdeprecated-non-prototype] 1618 | 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 C23 [-Wdeprecated-non-prototype] 1635 | 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 C23 [-Wdeprecated-non-prototype] 1657 | 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 C23 [-Wdeprecated-non-prototype] 1710 | 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 C23 [-Wdeprecated-non-prototype] 1731 | 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 C23 [-Wdeprecated-non-prototype] 1750 | 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 C23 [-Wdeprecated-non-prototype] 1769 | 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 C23 [-Wdeprecated-non-prototype] 1814 | 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 C23 [-Wdeprecated-non-prototype] 1853 | 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 C23 [-Wdeprecated-non-prototype] 1878 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 106 | 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 C23 [-Wdeprecated-non-prototype] 116 | 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 C23 [-Wdeprecated-non-prototype] 126 | 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 C23 [-Wdeprecated-non-prototype] 144 | 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 C23 [-Wdeprecated-non-prototype] 207 | 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 C23 [-Wdeprecated-non-prototype] 255 | 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 C23 [-Wdeprecated-non-prototype] 330 | 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 C23 [-Wdeprecated-non-prototype] 432 | 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 C23 [-Wdeprecated-non-prototype] 446 | 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 C23 [-Wdeprecated-non-prototype] 820 | 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 C23 [-Wdeprecated-non-prototype] 999 | 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 C23 [-Wdeprecated-non-prototype] 1124 | 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 C23 [-Wdeprecated-non-prototype] 1265 | 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 C23 [-Wdeprecated-non-prototype] 1293 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 31 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 44 | 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 C23 [-Wdeprecated-non-prototype] 105 | 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 C23 [-Wdeprecated-non-prototype] 194 | 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 C23 [-Wdeprecated-non-prototype] 224 | 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 C23 [-Wdeprecated-non-prototype] 312 | 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 C23 [-Wdeprecated-non-prototype] 416 | 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 C23 [-Wdeprecated-non-prototype] 537 | 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 C23 [-Wdeprecated-non-prototype] 568 | 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 C23 [-Wdeprecated-non-prototype] 598 | 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 C23 [-Wdeprecated-non-prototype] 1238 | 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 C23 [-Wdeprecated-non-prototype] 1330 | 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 C23 [-Wdeprecated-non-prototype] 1357 | 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 C23 [-Wdeprecated-non-prototype] 1589 | 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 C23 [-Wdeprecated-non-prototype] 1599 | 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 C23 [-Wdeprecated-non-prototype] 1674 | 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 C23 [-Wdeprecated-non-prototype] 1697 | 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 C23 [-Wdeprecated-non-prototype] 2287 | 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 C23 [-Wdeprecated-non-prototype] 2300 | 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 C23 [-Wdeprecated-non-prototype] 2324 | 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 C23 [-Wdeprecated-non-prototype] 2343 | 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 C23 [-Wdeprecated-non-prototype] 2368 | 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 C23 [-Wdeprecated-non-prototype] 2391 | 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 C23 [-Wdeprecated-non-prototype] 2465 | 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 C23 [-Wdeprecated-non-prototype] 2480 | 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 C23 [-Wdeprecated-non-prototype] 2612 | 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 C23 [-Wdeprecated-non-prototype] 2637 | 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 C23 [-Wdeprecated-non-prototype] 2801 | 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 C23 [-Wdeprecated-non-prototype] 2897 | 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 C23 [-Wdeprecated-non-prototype] 2975 | 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 C23 [-Wdeprecated-non-prototype] 3195 | 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 C23 [-Wdeprecated-non-prototype] 3233 | 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 C23 [-Wdeprecated-non-prototype] 3256 | 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 C23 [-Wdeprecated-non-prototype] 3277 | 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 C23 [-Wdeprecated-non-prototype] 3304 | 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 C23 [-Wdeprecated-non-prototype] 3390 | 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 C23 [-Wdeprecated-non-prototype] 3413 | 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 C23 [-Wdeprecated-non-prototype] 3445 | 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 C23 [-Wdeprecated-non-prototype] 3461 | 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 C23 [-Wdeprecated-non-prototype] 3495 | 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 C23 [-Wdeprecated-non-prototype] 3510 | 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 C23 [-Wdeprecated-non-prototype] 3535 | 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 C23 [-Wdeprecated-non-prototype] 3662 | 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 C23 [-Wdeprecated-non-prototype] 3892 | 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 C23 [-Wdeprecated-non-prototype] 4070 | 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 C23 [-Wdeprecated-non-prototype] 4082 | 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 C23 [-Wdeprecated-non-prototype] 4097 | 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 C23 [-Wdeprecated-non-prototype] 4131 | 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 C23 [-Wdeprecated-non-prototype] 4153 | 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 C23 [-Wdeprecated-non-prototype] 4370 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 12 | 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 C23 [-Wdeprecated-non-prototype] 29 | 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 C23 [-Wdeprecated-non-prototype] 54 | 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 C23 [-Wdeprecated-non-prototype] 111 | 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 C23 [-Wdeprecated-non-prototype] 155 | 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] 156 | char c; | ^ ../include/extern.h:2653:43: note: previous declaration is here 2653 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 521 | 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 C23 [-Wdeprecated-non-prototype] 532 | 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 C23 [-Wdeprecated-non-prototype] 1017 | 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 C23 [-Wdeprecated-non-prototype] 1053 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 36 | 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 C23 [-Wdeprecated-non-prototype] 98 | 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 C23 [-Wdeprecated-non-prototype] 218 | 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 C23 [-Wdeprecated-non-prototype] 231 | 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 C23 [-Wdeprecated-non-prototype] 326 | 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 C23 [-Wdeprecated-non-prototype] 445 | 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 C23 [-Wdeprecated-non-prototype] 505 | 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 C23 [-Wdeprecated-non-prototype] 520 | 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 C23 [-Wdeprecated-non-prototype] 546 | 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 C23 [-Wdeprecated-non-prototype] 1268 | 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 C23 [-Wdeprecated-non-prototype] 1324 | 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 C23 [-Wdeprecated-non-prototype] 1347 | 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 C23 [-Wdeprecated-non-prototype] 1390 | 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 C23 [-Wdeprecated-non-prototype] 1451 | 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 C23 [-Wdeprecated-non-prototype] 1530 | 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 C23 [-Wdeprecated-non-prototype] 1953 | 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 C23 [-Wdeprecated-non-prototype] 2009 | 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 C23 [-Wdeprecated-non-prototype] 2032 | 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 C23 [-Wdeprecated-non-prototype] 2224 | 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 C23 [-Wdeprecated-non-prototype] 2239 | 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 C23 [-Wdeprecated-non-prototype] 2490 | 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 C23 [-Wdeprecated-non-prototype] 2703 | 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 C23 [-Wdeprecated-non-prototype] 2762 | 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 C23 [-Wdeprecated-non-prototype] 2801 | 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 C23 [-Wdeprecated-non-prototype] 2823 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ vault.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | 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 C23 [-Wdeprecated-non-prototype] 61 | 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 C23 [-Wdeprecated-non-prototype] 69 | 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 C23 [-Wdeprecated-non-prototype] 87 | 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 C23 [-Wdeprecated-non-prototype] 113 | 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 C23 [-Wdeprecated-non-prototype] 356 | 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 C23 [-Wdeprecated-non-prototype] 372 | 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 C23 [-Wdeprecated-non-prototype] 440 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 158 | 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 C23 [-Wdeprecated-non-prototype] 262 | 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 C23 [-Wdeprecated-non-prototype] 305 | 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 C23 [-Wdeprecated-non-prototype] 497 | 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 C23 [-Wdeprecated-non-prototype] 825 | 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 C23 [-Wdeprecated-non-prototype] 848 | 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 C23 [-Wdeprecated-non-prototype] 908 | 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 C23 [-Wdeprecated-non-prototype] 989 | 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 C23 [-Wdeprecated-non-prototype] 1509 | 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 C23 [-Wdeprecated-non-prototype] 2198 | 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 C23 [-Wdeprecated-non-prototype] 2378 | 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 C23 [-Wdeprecated-non-prototype] 2498 | 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 C23 [-Wdeprecated-non-prototype] 2593 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 76 | 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 C23 [-Wdeprecated-non-prototype] 112 | 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 C23 [-Wdeprecated-non-prototype] 183 | 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 C23 [-Wdeprecated-non-prototype] 309 | 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 C23 [-Wdeprecated-non-prototype] 343 | 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 C23 [-Wdeprecated-non-prototype] 470 | 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 C23 [-Wdeprecated-non-prototype] 519 | 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 C23 [-Wdeprecated-non-prototype] 574 | 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 C23 [-Wdeprecated-non-prototype] 737 | 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 C23 [-Wdeprecated-non-prototype] 759 | 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 C23 [-Wdeprecated-non-prototype] 785 | 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 C23 [-Wdeprecated-non-prototype] 813 | 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 C23 [-Wdeprecated-non-prototype] 826 | 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 C23 [-Wdeprecated-non-prototype] 838 | 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 C23 [-Wdeprecated-non-prototype] 858 | 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 C23 [-Wdeprecated-non-prototype] 1100 | 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 C23 [-Wdeprecated-non-prototype] 1111 | 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 C23 [-Wdeprecated-non-prototype] 1126 | 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 C23 [-Wdeprecated-non-prototype] 1141 | 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 C23 [-Wdeprecated-non-prototype] 1165 | 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 C23 [-Wdeprecated-non-prototype] 1199 | 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 C23 [-Wdeprecated-non-prototype] 1268 | 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 C23 [-Wdeprecated-non-prototype] 1338 | 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 C23 [-Wdeprecated-non-prototype] 1404 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 8 | 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 C23 [-Wdeprecated-non-prototype] 39 | 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 C23 [-Wdeprecated-non-prototype] 54 | 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 C23 [-Wdeprecated-non-prototype] 85 | 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 C23 [-Wdeprecated-non-prototype] 146 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 86 | setuwep(obj) | ^ wield.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | 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 C23 [-Wdeprecated-non-prototype] 209 | 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 C23 [-Wdeprecated-non-prototype] 217 | 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 C23 [-Wdeprecated-non-prototype] 250 | 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] 251 | boolean prompt_for_obj; | ^ wield.c:55:26: note: previous declaration is here 55 | 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 C23 [-Wdeprecated-non-prototype] 419 | 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 C23 [-Wdeprecated-non-prototype] 628 | 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 C23 [-Wdeprecated-non-prototype] 717 | 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 C23 [-Wdeprecated-non-prototype] 806 | 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 C23 [-Wdeprecated-non-prototype] 817 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 108 | 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 C23 [-Wdeprecated-non-prototype] 115 | 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 C23 [-Wdeprecated-non-prototype] 145 | 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 C23 [-Wdeprecated-non-prototype] 156 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 91 | 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 C23 [-Wdeprecated-non-prototype] 102 | 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 C23 [-Wdeprecated-non-prototype] 128 | 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 C23 [-Wdeprecated-non-prototype] 147 | 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 C23 [-Wdeprecated-non-prototype] 165 | 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 C23 [-Wdeprecated-non-prototype] 180 | 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 C23 [-Wdeprecated-non-prototype] 195 | 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 C23 [-Wdeprecated-non-prototype] 210 | 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 C23 [-Wdeprecated-non-prototype] 241 | 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 C23 [-Wdeprecated-non-prototype] 300 | 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 C23 [-Wdeprecated-non-prototype] 430 | 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 C23 [-Wdeprecated-non-prototype] 616 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ worm.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | initworm(worm, wseg_count) | ^ worm.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | 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 C23 [-Wdeprecated-non-prototype] 178 | 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 C23 [-Wdeprecated-non-prototype] 199 | 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 C23 [-Wdeprecated-non-prototype] 250 | 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 C23 [-Wdeprecated-non-prototype] 269 | 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 C23 [-Wdeprecated-non-prototype] 297 | 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 C23 [-Wdeprecated-non-prototype] 323 | 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 C23 [-Wdeprecated-non-prototype] 344 | 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 C23 [-Wdeprecated-non-prototype] 447 | 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 C23 [-Wdeprecated-non-prototype] 469 | 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 C23 [-Wdeprecated-non-prototype] 498 | 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 C23 [-Wdeprecated-non-prototype] 544 | 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 C23 [-Wdeprecated-non-prototype] 577 | 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 C23 [-Wdeprecated-non-prototype] 602 | 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 C23 [-Wdeprecated-non-prototype] 629 | 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 C23 [-Wdeprecated-non-prototype] 689 | 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 C23 [-Wdeprecated-non-prototype] 724 | 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 C23 [-Wdeprecated-non-prototype] 749 | 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 C23 [-Wdeprecated-non-prototype] 781 | 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 C23 [-Wdeprecated-non-prototype] 794 | 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 C23 [-Wdeprecated-non-prototype] 807 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 48 | 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 C23 [-Wdeprecated-non-prototype] 124 | 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 C23 [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 165 | 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 C23 [-Wdeprecated-non-prototype] 240 | 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 C23 [-Wdeprecated-non-prototype] 366 | 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 C23 [-Wdeprecated-non-prototype] 404 | 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 C23 [-Wdeprecated-non-prototype] 444 | 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 C23 [-Wdeprecated-non-prototype] 561 | 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 C23 [-Wdeprecated-non-prototype] 574 | 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 C23 [-Wdeprecated-non-prototype] 631 | 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 C23 [-Wdeprecated-non-prototype] 639 | 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 C23 [-Wdeprecated-non-prototype] 804 | 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 C23 [-Wdeprecated-non-prototype] 823 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 12 | 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 C23 [-Wdeprecated-non-prototype] 70 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 94 | 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 C23 [-Wdeprecated-non-prototype] 370 | 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 C23 [-Wdeprecated-non-prototype] 414 | 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 C23 [-Wdeprecated-non-prototype] 452 | 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 C23 [-Wdeprecated-non-prototype] 473 | 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 C23 [-Wdeprecated-non-prototype] 553 | 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 C23 [-Wdeprecated-non-prototype] 578 | 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 C23 [-Wdeprecated-non-prototype] 738 | 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 C23 [-Wdeprecated-non-prototype] 751 | 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 C23 [-Wdeprecated-non-prototype] 789 | 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 C23 [-Wdeprecated-non-prototype] 819 | 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 C23 [-Wdeprecated-non-prototype] 833 | 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 C23 [-Wdeprecated-non-prototype] 988 | 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 C23 [-Wdeprecated-non-prototype] 1057 | 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 C23 [-Wdeprecated-non-prototype] 1075 | 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 C23 [-Wdeprecated-non-prototype] 1101 | 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 C23 [-Wdeprecated-non-prototype] 1139 | 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 C23 [-Wdeprecated-non-prototype] 1226 | 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 C23 [-Wdeprecated-non-prototype] 1278 | 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 C23 [-Wdeprecated-non-prototype] 1518 | 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 C23 [-Wdeprecated-non-prototype] 1786 | 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 C23 [-Wdeprecated-non-prototype] 1825 | 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 C23 [-Wdeprecated-non-prototype] 1841 | 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 C23 [-Wdeprecated-non-prototype] 1885 | 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 C23 [-Wdeprecated-non-prototype] 1952 | 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 C23 [-Wdeprecated-non-prototype] 2247 | 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 C23 [-Wdeprecated-non-prototype] 2311 | 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 C23 [-Wdeprecated-non-prototype] 2444 | 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 C23 [-Wdeprecated-non-prototype] 2640 | 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 C23 [-Wdeprecated-non-prototype] 2724 | 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 C23 [-Wdeprecated-non-prototype] 2753 | 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 C23 [-Wdeprecated-non-prototype] 2763 | 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 C23 [-Wdeprecated-non-prototype] 2777 | 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 C23 [-Wdeprecated-non-prototype] 2806 | 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 C23 [-Wdeprecated-non-prototype] 3036 | 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 C23 [-Wdeprecated-non-prototype] 3095 | 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 C23 [-Wdeprecated-non-prototype] 3266 | 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 C23 [-Wdeprecated-non-prototype] 3395 | 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 C23 [-Wdeprecated-non-prototype] 3412 | 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 C23 [-Wdeprecated-non-prototype] 3450 | 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 C23 [-Wdeprecated-non-prototype] 3500 | 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 C23 [-Wdeprecated-non-prototype] 3524 | 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 C23 [-Wdeprecated-non-prototype] 3822 | 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 C23 [-Wdeprecated-non-prototype] 4061 | 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 C23 [-Wdeprecated-non-prototype] 4088 | 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 C23 [-Wdeprecated-non-prototype] 4122 | 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 C23 [-Wdeprecated-non-prototype] 4247 | 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 C23 [-Wdeprecated-non-prototype] 4345 | 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 C23 [-Wdeprecated-non-prototype] 4392 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 48 | 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 C23 [-Wdeprecated-non-prototype] 313 | 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 C23 [-Wdeprecated-non-prototype] 430 | 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 C23 [-Wdeprecated-non-prototype] 546 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 142 | 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 C23 [-Wdeprecated-non-prototype] 203 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 36 | 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 C23 [-Wdeprecated-non-prototype] 263 | 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 C23 [-Wdeprecated-non-prototype] 379 | 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 C23 [-Wdeprecated-non-prototype] 401 | 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 C23 [-Wdeprecated-non-prototype] 414 | 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 C23 [-Wdeprecated-non-prototype] 427 | 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 C23 [-Wdeprecated-non-prototype] 440 | 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 C23 [-Wdeprecated-non-prototype] 453 | 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 C23 [-Wdeprecated-non-prototype] 467 | 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 C23 [-Wdeprecated-non-prototype] 479 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 165 | 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 C23 [-Wdeprecated-non-prototype] 206 | 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 C23 [-Wdeprecated-non-prototype] 223 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 37 | tty_getlin(query, bufp) | ^ ./../win/tty/getline.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | hooked_tty_getlin(query, bufp, hook) | ^ ./../win/tty/getline.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | 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 C23 [-Wdeprecated-non-prototype] 228 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 159 | 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 C23 [-Wdeprecated-non-prototype] 205 | 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 C23 [-Wdeprecated-non-prototype] 476 | 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 C23 [-Wdeprecated-non-prototype] 623 | 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 C23 [-Wdeprecated-non-prototype] 670 | 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 C23 [-Wdeprecated-non-prototype] 680 | 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 C23 [-Wdeprecated-non-prototype] 691 | 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 C23 [-Wdeprecated-non-prototype] 1200 | 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 C23 [-Wdeprecated-non-prototype] 1219 | 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 C23 [-Wdeprecated-non-prototype] 1236 | 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 C23 [-Wdeprecated-non-prototype] 1246 | 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 C23 [-Wdeprecated-non-prototype] 1279 | 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 C23 [-Wdeprecated-non-prototype] 1290 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 124 | 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 C23 [-Wdeprecated-non-prototype] 161 | 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 C23 [-Wdeprecated-non-prototype] 214 | 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 C23 [-Wdeprecated-non-prototype] 263 | 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 C23 [-Wdeprecated-non-prototype] 303 | 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 C23 [-Wdeprecated-non-prototype] 311 | 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 C23 [-Wdeprecated-non-prototype] 321 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 202 | 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 C23 [-Wdeprecated-non-prototype] 269 | 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 C23 [-Wdeprecated-non-prototype] 918 | 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 C23 [-Wdeprecated-non-prototype] 934 | 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 C23 [-Wdeprecated-non-prototype] 958 | 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 C23 [-Wdeprecated-non-prototype] 1068 | 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 C23 [-Wdeprecated-non-prototype] 1086 | 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 C23 [-Wdeprecated-non-prototype] 1130 | 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 C23 [-Wdeprecated-non-prototype] 1177 | 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 C23 [-Wdeprecated-non-prototype] 1197 | 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 C23 [-Wdeprecated-non-prototype] 1211 | 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 C23 [-Wdeprecated-non-prototype] 1226 | 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 C23 [-Wdeprecated-non-prototype] 1242 | 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 C23 [-Wdeprecated-non-prototype] 1266 | 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 C23 [-Wdeprecated-non-prototype] 1299 | 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 C23 [-Wdeprecated-non-prototype] 1320 | 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 C23 [-Wdeprecated-non-prototype] 1359 | 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 C23 [-Wdeprecated-non-prototype] 1705 | 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 C23 [-Wdeprecated-non-prototype] 1764 | 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 C23 [-Wdeprecated-non-prototype] 1840 | 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 C23 [-Wdeprecated-non-prototype] 1883 | 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 C23 [-Wdeprecated-non-prototype] 1904 | 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 C23 [-Wdeprecated-non-prototype] 1980 | 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 C23 [-Wdeprecated-non-prototype] 2017 | 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 C23 [-Wdeprecated-non-prototype] 2040 | 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 C23 [-Wdeprecated-non-prototype] 2188 | 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 C23 [-Wdeprecated-non-prototype] 2278 | 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 C23 [-Wdeprecated-non-prototype] 2291 | 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 C23 [-Wdeprecated-non-prototype] 2331 | 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 C23 [-Wdeprecated-non-prototype] 2352 | 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 C23 [-Wdeprecated-non-prototype] 2458 | 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 C23 [-Wdeprecated-non-prototype] 2501 | 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 C23 [-Wdeprecated-non-prototype] 2569 | 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 C23 [-Wdeprecated-non-prototype] 2629 | 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 C23 [-Wdeprecated-non-prototype] 2672 | 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 C23 [-Wdeprecated-non-prototype] 2713 | 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 C23 [-Wdeprecated-non-prototype] 2795 | 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 C23 [-Wdeprecated-non-prototype] 2807 | 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 C23 [-Wdeprecated-non-prototype] 2869 | 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 C23 [-Wdeprecated-non-prototype] 2920 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 21 | 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 C23 [-Wdeprecated-non-prototype] 29 | 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 C23 [-Wdeprecated-non-prototype] 68 | 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 C23 [-Wdeprecated-non-prototype] 104 | 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 C23 [-Wdeprecated-non-prototype] 129 | 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 C23 [-Wdeprecated-non-prototype] 149 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' ( cd util ; /usr/local/bin/gmake recover ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[2]: '../include/date.h' is up to date. gmake[2]: 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ recover.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | main(argc, argv) | ^ recover.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 165 | 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 C23 [-Wdeprecated-non-prototype] 206 | 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 C23 [-Wdeprecated-non-prototype] 223 | restore_savefile(basename, directory) | ^ 6 warnings generated. cc -DAUTOCONF -fstack-protector-strong -o recover recover.o gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd doc ; /usr/local/bin/gmake Guidebook ) gmake[1]: 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[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc' ( cd dat ; /usr/local/bin/gmake data ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ../util/makedefs -d gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; /usr/local/bin/gmake oracles ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ../util/makedefs -h gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; /usr/local/bin/gmake options ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[1]: 'options' is up to date. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; /usr/local/bin/gmake quest.dat ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ../util/makedefs -q gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; /usr/local/bin/gmake rumors ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ../util/makedefs -r gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd util ; /usr/local/bin/gmake lev_comp ) gmake[1]: 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ./lev_comp.y:1182:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1182 | 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' 295 | #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] 2234 | 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' 295 | #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] 2237 | yyval.i = SP_MAPCHAR_PACK(STONE, -2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/sp_lev.h:295:44: note: expanded from macro 'SP_MAPCHAR_PACK' 295 | #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] 2283 | yyval.i = SP_MONST_PACK(-1, yystack.l_mark[0].i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/sp_lev.h:287:36: note: expanded from macro 'SP_MONST_PACK' 287 | #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] 2378 | yyval.i = SP_OBJ_PACK(-1, yystack.l_mark[0].i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/sp_lev.h:291:35: note: expanded from macro 'SP_OBJ_PACK' 291 | #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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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] 331 | 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] 337 | 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 C23 [-Wdeprecated-non-prototype] 374 | 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 C23 [-Wdeprecated-non-prototype] 386 | 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 C23 [-Wdeprecated-non-prototype] 393 | 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] 397 | 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] 411 | 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] 498 | 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 C23 [-Wdeprecated-non-prototype] 506 | 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] 510 | 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] 512 | 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] 515 | 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 C23 [-Wdeprecated-non-prototype] 537 | 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 C23 [-Wdeprecated-non-prototype] 545 | advancepos(s) | ^ 15 warnings generated. gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[2]: '../include/date.h' is up to date. gmake[2]: 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 285 | 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 C23 [-Wdeprecated-non-prototype] 382 | yyerror(s) | ^ lev_main.c:388:10: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 386 | (void) fprintf(stderr, "%s: line %d, pos %d : %s", | ~~ | %lu 387 | fname, line_number, 388 | 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 C23 [-Wdeprecated-non-prototype] 418 | 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 C23 [-Wdeprecated-non-prototype] 439 | 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 C23 [-Wdeprecated-non-prototype] 458 | 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 C23 [-Wdeprecated-non-prototype] 512 | 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 C23 [-Wdeprecated-non-prototype] 549 | 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 C23 [-Wdeprecated-non-prototype] 561 | 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 C23 [-Wdeprecated-non-prototype] 573 | 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 C23 [-Wdeprecated-non-prototype] 585 | 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 C23 [-Wdeprecated-non-prototype] 597 | 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 C23 [-Wdeprecated-non-prototype] 609 | 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 C23 [-Wdeprecated-non-prototype] 621 | 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 C23 [-Wdeprecated-non-prototype] 633 | set_opvar_var(ov, val) | ^ lev_main.c:718:61: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 718 | 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 C23 [-Wdeprecated-non-prototype] 738 | 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 C23 [-Wdeprecated-non-prototype] 761 | 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 C23 [-Wdeprecated-non-prototype] 776 | 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 C23 [-Wdeprecated-non-prototype] 797 | 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 C23 [-Wdeprecated-non-prototype] 819 | 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 C23 [-Wdeprecated-non-prototype] 835 | 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 C23 [-Wdeprecated-non-prototype] 853 | 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 C23 [-Wdeprecated-non-prototype] 870 | 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 C23 [-Wdeprecated-non-prototype] 886 | 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 C23 [-Wdeprecated-non-prototype] 903 | 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 C23 [-Wdeprecated-non-prototype] 931 | 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 C23 [-Wdeprecated-non-prototype] 940 | 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 C23 [-Wdeprecated-non-prototype] 954 | 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 C23 [-Wdeprecated-non-prototype] 973 | 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 C23 [-Wdeprecated-non-prototype] 989 | 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 C23 [-Wdeprecated-non-prototype] 1030 | 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 C23 [-Wdeprecated-non-prototype] 1045 | 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 C23 [-Wdeprecated-non-prototype] 1063 | 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 C23 [-Wdeprecated-non-prototype] 1079 | 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 C23 [-Wdeprecated-non-prototype] 1095 | 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 C23 [-Wdeprecated-non-prototype] 1123 | 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 C23 [-Wdeprecated-non-prototype] 1173 | 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 C23 [-Wdeprecated-non-prototype] 1183 | 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 C23 [-Wdeprecated-non-prototype] 1193 | 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 C23 [-Wdeprecated-non-prototype] 1235 | 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 C23 [-Wdeprecated-non-prototype] 1266 | 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 C23 [-Wdeprecated-non-prototype] 1349 | 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 C23 [-Wdeprecated-non-prototype] 1369 | write_maze(fd, maze) | ^ lev_main.c:1543:60: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1543 | 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] 1543 | snprintf(debuf, 127, "%li:\t%s\tcoord:(%i,%i)\n", i, opcodestr[tmpo.opcode], | ~~ | %li 1544 | (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] 1543 | snprintf(debuf, 127, "%li:\t%s\tcoord:(%i,%i)\n", i, opcodestr[tmpo.opcode], | ~~ | %li 1544 | (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] 1548 | 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] 1548 | snprintf(debuf, 127, "%li:\t%s\tregion:(%i,%i,%i,%i)\n", i, opcodestr[tmpo.opcode], | ~~ | %li 1549 | (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] 1548 | snprintf(debuf, 127, "%li:\t%s\tregion:(%i,%i,%i,%i)\n", i, opcodestr[tmpo.opcode], | ~~ | %li 1549 | (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] 1548 | snprintf(debuf, 127, "%li:\t%s\tregion:(%i,%i,%i,%i)\n", i, opcodestr[tmpo.opcode], | ~~ | %li 1549 | (ov->vardata.l & 0xff), ((ov->vardata.l >> 8) & 0xff), 1550 | ((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] 1548 | snprintf(debuf, 127, "%li:\t%s\tregion:(%i,%i,%i,%i)\n", i, opcodestr[tmpo.opcode], | ~~ | %li 1549 | (ov->vardata.l & 0xff), ((ov->vardata.l >> 8) & 0xff), 1550 | ((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] 1554 | snprintf(debuf, 127, "%li:\t%s\tobj:(id=%i,class=\'%c\')\n", | ~~~ | %i 1555 | i, opcodestr[tmpo.opcode], | ^ lev_main.c:1556:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1554 | snprintf(debuf, 127, "%li:\t%s\tobj:(id=%i,class=\'%c\')\n", | ~~ | %li 1555 | i, opcodestr[tmpo.opcode], 1556 | 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' 290 | #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] 1554 | snprintf(debuf, 127, "%li:\t%s\tobj:(id=%i,class=\'%c\')\n", | ~~ | %ld 1555 | i, opcodestr[tmpo.opcode], 1556 | 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' 289 | #define SP_OBJ_CLASS(l) (l & 0xff) | ^~~~~~~~~~ lev_main.c:1560:74: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1560 | 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] 1560 | snprintf(debuf, 127, "%li:\t%s\tmonster:(pm=%i, class='%c')\n", i, opcodestr[tmpo.opcode], | ~~ | %li 1561 | 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' 286 | #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] 1560 | snprintf(debuf, 127, "%li:\t%s\tmonster:(pm=%i, class='%c')\n", i, opcodestr[tmpo.opcode], | ~~ | %ld 1561 | 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' 285 | #define SP_MONST_CLASS(l) (l & 0xff) | ^~~~~~~~~~ lev_main.c:1565:63: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1565 | 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] 1565 | snprintf(debuf, 127, "%li:\t%s\tmapchar:(%li,%i)\n", i, opcodestr[tmpo.opcode], | ~~~ | %i 1566 | (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] 1571 | 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] 1573 | 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] 1592 | 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] 1594 | 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] 1597 | 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] 1616 | 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 C23 [-Wdeprecated-non-prototype] 1438 | 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 C23 [-Wdeprecated-non-prototype] 1625 | 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 C23 [-Wdeprecated-non-prototype] 1652 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 752 | 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 C23 [-Wdeprecated-non-prototype] 766 | 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 C23 [-Wdeprecated-non-prototype] 776 | 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 C23 [-Wdeprecated-non-prototype] 788 | 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 C23 [-Wdeprecated-non-prototype] 865 | 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 C23 [-Wdeprecated-non-prototype] 955 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; /usr/local/bin/gmake spec_levs ) gmake[1]: 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[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; /usr/local/bin/gmake quest_levs ) gmake[1]: 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[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd util ; /usr/local/bin/gmake dgn_comp ) gmake[1]: 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[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[2]: '../include/date.h' is up to date. gmake[2]: 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ./dgn_comp.y:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | getchain(s) | ^ 2 warnings generated. 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 120 | 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 C23 [-Wdeprecated-non-prototype] 131 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ dgn_main.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | main(argc, argv) | ^ dgn_main.c:161:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | 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 C23 [-Wdeprecated-non-prototype] 175 | 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[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; /usr/local/bin/gmake dungeon ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' data file compression, data librarian, debug mode, gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' ( cd src ; /usr/local/bin/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 ; /usr/local/bin/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 ; /usr/local/bin/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 ; /usr/local/bin/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 ; /usr/local/bin/gmake dlb ) 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 ./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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 120 | 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 C23 [-Wdeprecated-non-prototype] 138 | 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 C23 [-Wdeprecated-non-prototype] 163 | 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 C23 [-Wdeprecated-non-prototype] 195 | 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 C23 [-Wdeprecated-non-prototype] 228 | 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 C23 [-Wdeprecated-non-prototype] 538 | 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 C23 [-Wdeprecated-non-prototype] 572 | 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 C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 367 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | 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 C23 [-Wdeprecated-non-prototype] 130 | 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 C23 [-Wdeprecated-non-prototype] 178 | 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 C23 [-Wdeprecated-non-prototype] 207 | 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 C23 [-Wdeprecated-non-prototype] 226 | 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 C23 [-Wdeprecated-non-prototype] 268 | 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 C23 [-Wdeprecated-non-prototype] 288 | 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 C23 [-Wdeprecated-non-prototype] 296 | 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 C23 [-Wdeprecated-non-prototype] 323 | 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 C23 [-Wdeprecated-non-prototype] 343 | 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 C23 [-Wdeprecated-non-prototype] 375 | 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 C23 [-Wdeprecated-non-prototype] 386 | 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 C23 [-Wdeprecated-non-prototype] 467 | 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 C23 [-Wdeprecated-non-prototype] 495 | 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 C23 [-Wdeprecated-non-prototype] 510 | 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 C23 [-Wdeprecated-non-prototype] 521 | 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 C23 [-Wdeprecated-non-prototype] 532 | 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 C23 [-Wdeprecated-non-prototype] 543 | 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 C23 [-Wdeprecated-non-prototype] 552 | 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[2]: 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[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' Done. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for unnethack-5.1.0.20131208_2 ===> Generating temporary packing list ( cd src ; /usr/local/bin/gmake ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[1]: 'unnethack' is up to date. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' ( cd util ; /usr/local/bin/gmake recover ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[2]: '../include/date.h' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; /usr/local/bin/gmake data ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[1]: 'data' is up to date. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; /usr/local/bin/gmake oracles ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[1]: 'oracles' is up to date. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; /usr/local/bin/gmake options ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[1]: 'options' is up to date. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; /usr/local/bin/gmake quest.dat ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[1]: 'quest.dat' is up to date. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; /usr/local/bin/gmake rumors ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[1]: 'rumors' is up to date. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd util ; /usr/local/bin/gmake lev_comp ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[2]: '../include/date.h' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; /usr/local/bin/gmake spec_levs ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[1]: 'spec_levs' is up to date. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; /usr/local/bin/gmake quest_levs ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[1]: 'quest_levs' is up to date. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd util ; /usr/local/bin/gmake dgn_comp ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[2]: '../include/date.h' is up to date. gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; /usr/local/bin/gmake dungeon ) gmake[1]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[1]: 'dungeon' is up to date. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd doc; /usr/local/bin/gmake Guidebook.txt ) gmake[1]: 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[1]: 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: [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 ( /usr/local/bin/gmake dofiles ) gmake[1]: 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` ; \ /usr/local/bin/gmake dofiles-${target-nodlb} gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' ( cd src ; /usr/local/bin/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 dat ; /usr/local/bin/gmake options ) gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[3]: 'options' is up to date. gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' data file compression, data librarian, debug mode, gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208' ( cd src ; /usr/local/bin/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 util ; /usr/local/bin/gmake lev_comp ) gmake[4]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[5]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[5]: '../include/date.h' is up to date. gmake[5]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' ( cd dat ; /usr/local/bin/gmake spec_levs ) gmake[4]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[4]: 'spec_levs' is up to date. gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd dat ; /usr/local/bin/gmake quest_levs ) gmake[4]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' gmake[4]: 'quest_levs' is up to date. gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat' ( cd util ; /usr/local/bin/gmake dlb ) gmake[4]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util' gmake[5]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[5]: '../include/date.h' is up to date. gmake[5]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src' gmake[4]: 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[3]: 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[2]: 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[1]: 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 ; /usr/local/bin/gmake manpages ) gmake[1]: 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/share/man/man6/unnethack.6 install -m 444 lev_comp.6 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/man/man6/lev_comp.6 install -m 444 dgn_comp.6 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/man/man6/dgn_comp.6 install -m 444 recover.6 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/man/man6/recover.6 install -m 444 dlb.6 /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/man/man6/dlb.6 gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc' cd /wrkdirs/usr/ports/games/unnethack/work/stage/usr/local/share/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) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-06-08T22:27:40+00:00' 'PKG_NOTE_ports_top_git_hash=9845af890dd7' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=a36cd930e200' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20250209' PKG_NO_VERSION_FOR_DEPS=1 NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for unnethack-5.1.0.20131208_2 ===> Building unnethack-5.1.0.20131208_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for unnethack-5.1.0.20131208_2 build of games/unnethack | unnethack-5.1.0.20131208_2 ended at 2025-06-08T17:30:00-05:00 build time: 00:02:21