=>> Building games/omega build started at Thu Oct 2 21:17:34 EDT 2025 port directory: /usr/ports/games/omega package name: omega-0.90.4_2 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: r7st.guru@gmail.com Makefile datestamp: -rw-r--r-- 1 root wheel 973 Aug 27 2024 /usr/ports/games/omega/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: 8ce1df089a9b Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 08 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 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 LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/08/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh 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 omega-0.90.4_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- r7st.guru@gmail.com --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/omega/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/omega/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/omega/work/.cache HOME=/wrkdirs/usr/ports/games/omega/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/omega/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/omega/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/omega/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/omega/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/omega/work/.cache HOME=/wrkdirs/usr/ports/games/omega/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/omega/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/omega/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 -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -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-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/omega" EXAMPLESDIR="share/examples/omega" DATADIR="share/omega" WWWDIR="www/omega" ETCDIR="etc/omega" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/omega DOCSDIR=/usr/local/share/doc/omega EXAMPLESDIR=/usr/local/share/examples/omega WWWDIR=/usr/local/www/omega ETCDIR=/usr/local/etc/omega --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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) 89999 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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> omega-0.90.4_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.1: .......... done ===> omega-0.90.4_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of omega-0.90.4_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by omega-0.90.4_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by omega-0.90.4_2 for building => SHA256 Checksum OK for omega-0.90.4-src.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by omega-0.90.4_2 for building ===> Extracting for omega-0.90.4_2 => SHA256 Checksum OK for omega-0.90.4-src.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 omega-0.90.4_2 ===> Applying FreeBSD patches for omega-0.90.4_2 from /usr/ports/games/omega/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> omega-0.90.4_2 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.23.1... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.23.1: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> omega-0.90.4_2 depends on package: gmake>=4.4.1 - found ===> Returning to build of omega-0.90.4_2 ===> omega-0.90.4_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] 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. ===> omega-0.90.4_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of omega-0.90.4_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 omega-0.90.4_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for omega-0.90.4_2 cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o genclr.o genclr.c genclr.c:125:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 125 | for (; c = *p; p++) { | ~~^~~~ genclr.c:125:14: note: place parentheses around the assignment to silence this warning 125 | for (; c = *p; p++) { | ^ | ( ) genclr.c:125:14: note: use '==' to turn this assignment into an equality comparison 125 | for (; c = *p; p++) { | ^ | == genclr.c:128:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | for (start = p++; c = *p; p++) { | ~~^~~~ genclr.c:128:22: note: place parentheses around the assignment to silence this warning 128 | for (start = p++; c = *p; p++) { | ^ | ( ) genclr.c:128:22: note: use '==' to turn this assignment into an equality comparison 128 | for (start = p++; c = *p; p++) { | ^ | == genclr.c:229:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 229 | for (p = line; p = strstr (p, PREFIX);) { | ~~^~~~~~~~~~~~~~~~~~~~ genclr.c:229:19: note: place parentheses around the assignment to silence this warning 229 | for (p = line; p = strstr (p, PREFIX);) { | ^ | ( ) genclr.c:229:19: note: use '==' to turn this assignment into an equality comparison 229 | for (p = line; p = strstr (p, PREFIX);) { | ^ | == 3 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" genclr.o -o genclr cc -E -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -DOMEGA_CLRGEN *.[ch] | ./genclr clrgen.c clrgen.h compress.c:107:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] 107 | # endif BITS | ^ | // compress.c:350:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 350 | #endif sel | ^ | // 2 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o omega.o omega.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o abyss.o abyss.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o aux1.o aux1.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o aux2.o aux2.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o aux3.o aux3.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o char.o char.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o city.o city.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o clrgen.o clrgen.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o command1.o command1.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o command2.o command2.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o command3.o command3.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o country.o country.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o effect1.o effect1.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o effect2.o effect2.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o effect3.o effect3.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o etc.o etc.c omega.c:199:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | int game_restore(argc,argv) | ^ omega.c:231:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | int main(argc,argv) | ^ omega.c:311:3: warning: call to undeclared function 'omega_title'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | omega_title(); | ^ omega.c:399:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | void inititem(reset) | ^ 4 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o env.o env.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o file.o file.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o gen1.o gen1.c aux1.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void showroom(i) | ^ aux1.c:146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | int p_moveable(x,y) | ^ aux1.c:228:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | int p_country_moveable(x,y) | ^ aux1.c:246:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | void searchat(x,y) | ^ aux1.c:354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | void fight_monster(m) | ^ aux1.c:397:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | int damage_item(o) | ^ aux1.c:498:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | void p_damage(dmg,dtype,fromstring) | ^ aux1.c:516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | void p_death(fromstring) | ^ aux1.c:532:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | void setspot(x,y) | ^ aux1.c:600:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | char *mstatus_string(m) | ^ aux1.c:659:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | void gain_experience(amount) | ^ aux1.c:693:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | char *trapid(trapno) | ^ aux1.c:796:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | void surrender(m) | ^ aux1.c:875:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | void threaten(m) | ^ aux1.c:937:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | char *levelname(level) | ^ 15 warnings generated. etc.c: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 learnclericalspells(deity,level) | ^ etc.c:229:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | char *slotstr(num) | ^ etc.c:307:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | char *wordnum(num) | ^ 3 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o gen2.o gen2.c aux3.c:395:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | int magic_resist(hostile_magic) | ^ aux3.c:417:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | void terrain_check(takestime) | ^ aux3.c:729:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | char *countryid(terrain) | ^ aux3.c:813:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | void showknownsites(first, last) | ^ aux3.c:930:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | int stonecheck(alignment) | ^ 5 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o guild1.o guild1.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o guild2.o guild2.c char.c:181:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | int fixnpc(status) | ^ char.c:252:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | int competence_check(attack) | ^ 2 warnings generated. city.c:9:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | void load_city(populate) | ^ city.c:303:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | void assign_city_function(x,y) | ^ city.c:453:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | void make_justiciar(i,j) | ^ city.c:507:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | void mazesite(i,j,populate) | ^ city.c:559:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | void randommazesite(i,j,populate) | ^ city.c:584:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | void make_minor_undead(i,j) | ^ city.c:596:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | void make_major_undead(i,j) | ^ 7 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o house.o house.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o init.o init.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o inv.o inv.c effect2.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void knowledge(blessing) | ^ effect2.c:339:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | void flux(blessing) | ^ effect2.c:362:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | void displace(blessing) | ^ effect2.c:377:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | void invisible(blessing) | ^ effect2.c:392:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | void warp(blessing) | ^ effect2.c:411:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | void alert(blessing) | ^ effect2.c:421:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | void regenerate(blessing) | ^ effect2.c:432:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | void haste(blessing) | ^ effect2.c:451:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | void recover_stat(blessing) | ^ effect2.c:477:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | void augment(blessing) | ^ effect2.c:514:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | void breathe(blessing) | ^ effect2.c:528:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | void i_chaos(o) | ^ effect2.c:542:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | void i_law(o) | ^ effect2.c:556:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | void sanctify(blessing) | ^ effect2.c:621:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | void accuracy(blessing) | ^ 15 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o item.o item.c command3.c:932:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | void hunt(terrain) | ^ 1 warning generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o itemf1.o itemf1.c country.c:123:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | void load_dlair(empty, populate) | ^ country.c:252:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | void load_speak(empty, populate) | ^ country.c:377:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | void load_misle(empty, populate) | ^ country.c:473:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | void load_temple(deity, populate) | ^ country.c:598:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | void random_temple_site(i,j,deity,populate) | ^ country.c:628:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | void make_high_priest(i,j,deity) | ^ 6 warnings generated. aux2.c:12:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | int statmod(stat) | ^ aux2.c:20:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | void p_hit (m,dmg,dtype) | ^ aux2.c:68:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | void player_miss(m,dtype) | ^ aux2.c:94:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | void p_fumble(dtype) | ^ aux2.c:158:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | void movecursor(x,y,dx,dy) | ^ aux2.c:172:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | int p_immune(dtype) | ^ aux2.c:486:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | long expval(plevel) | ^ aux2.c:506:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | long item_value(item) | ^ aux2.c:522:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | long true_item_value(item) | ^ aux2.c:594:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | void weapon_use(dmgmod,weapon,m) | ^ aux2.c:622:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | char *actionlocstr(dir) | ^ aux2.c:623: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] 623 | char dir; | ^ ./extern.h:62:30: note: previous declaration is here 62 | char *actionlocstr ARGS((char)); | ^ aux2.c:636:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | void tacplayer(m) | ^ aux2.c:688:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | int player_hit(hitmod,hitloc,m) | ^ aux2.c:690: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] 690 | char hitloc; | ^ ./extern.h:64:30: note: previous declaration is here 64 | int player_hit ARGS((int,char,struct monster *)); | ^ aux2.c:737:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | void toggle_item_use(on) | ^ aux2.c:768:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | void enter_site(site) | ^ aux2.c:788:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | void change_environment(new_environment) | ^ aux2.c:789: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] 789 | char new_environment; | ^ ./extern.h:67:35: note: previous declaration is here 67 | void change_environment ARGS((char)); | ^ 19 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o itemf2.o itemf2.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o itemf3.o itemf3.c command2.c:162:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | void search(searchval) | ^ command2.c:936:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | void save(compress, force) | ^ command2.c:1020:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1020 | else | ^ command2.c:1063:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | void moveplayer(dx,dy) | ^ command2.c:1127:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | void movepincountry(dx,dy) | ^ 5 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o lev.o lev.c env.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | void load_circle(populate) | ^ env.c:196:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | void make_prime(i,j) | ^ env.c:227:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | void load_court(populate) | ^ env.c:323:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | void make_archmage(i,j) | ^ 4 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o mmelee.o mmelee.c effect3.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void summon(blessing,id) | ^ effect3.c:48:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | int itemlist(itemindex,num) | ^ effect3.c:103:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | void cleanse(blessing) | ^ effect3.c:139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | void annihilate(blessing) | ^ effect3.c:177:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | void sleep_monster(blessing) | ^ effect3.c:215:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | void sleep_player(amount) | ^ effect3.c:228:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | void hide(x,y) | ^ effect3.c:239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | void clairvoyance(vision) | ^ effect3.c:271:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | void learnspell(blessing) | ^ effect3.c:323:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | void level_drain(levels,source) | ^ effect3.c:341:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | void disrupt(x,y,amount) | ^ effect3.c:375:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | void disintegrate(x,y) | ^ effect3.c:503:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | void p_teleport(type) | ^ effect3.c:537:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | void p_poison(toxicity) | ^ effect3.c:547:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | void apport(blessing) | ^ effect3.c:574:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | void strategic_teleport(blessing) | ^ effect3.c:715:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | void hero(blessing) | ^ effect3.c:732:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | void levitate(blessing) | ^ effect3.c:770:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | void cure(blessing) | ^ effect3.c:801:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | void disease(amount) | ^ effect3.c:812:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | void truesight(blessing) | ^ effect3.c:827:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | void dispel(blessing) | ^ effect3.c:913:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | void polymorph(blessing) | ^ effect3.c:989:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | void hellfire(x,y,blessing) | ^ effect3.c:1028:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | void drain(blessing) | ^ effect3.c:1133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | void illuminate(blessing) | ^ effect3.c:1167:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | void drain_life(amount) | ^ effect3.c:1195:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | void inflict_fear(x,y) | ^ effect3.c:1231:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | void deflection(blessing) | ^ 29 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o mmove.o mmove.c effect1.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void enchant(delta) | ^ effect1.c:118:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | void bless(blessing) | ^ effect1.c:203:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | void heal(amount) | ^ effect1.c:226:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | void fbolt(fx,fy,tx,ty,hit,dmg) | ^ effect1.c:232:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | void lbolt(fx,fy,tx,ty,hit,dmg) | ^ effect1.c:239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | void icebolt(fx,fy,tx,ty,hit,dmg) | ^ effect1.c:245:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | void nbolt(fx,fy,tx,ty,hit,dmg) | ^ effect1.c:253:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | void bolt(fx,fy,tx,ty,hit,dmg,dtype) | ^ effect1.c:352:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | void lball(fx,fy,tx,ty,dmg) | ^ effect1.c:358:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | void manastorm(x,y,dmg) | ^ effect1.c:364:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | void snowball(fx,fy,tx,ty,dmg) | ^ effect1.c:370:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | void fball(fx,fy,tx,ty,dmg) | ^ effect1.c:378:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | void ball(fx,fy,tx,ty,dmg,dtype) | ^ effect1.c:459:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | void mondet(blessing) | ^ effect1.c:467:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 467 | else | ^ effect1.c:476:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | void objdet(blessing) | ^ effect1.c:494:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | void identify(blessing) | ^ effect1.c:570:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | void wish(blessing) | ^ effect1.c:647:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | void acquire(blessing) | ^ 19 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o mon.o mon.c file.c:27:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | FILE *checkfopen(filestring,optionstring) | ^ file.c:279:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | void save_hiscore_npc(npc) | ^ file.c:370:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | void checkhigh(descrip,behavior) | ^ file.c:410:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | void extendlog(descrip,lifestatus) | ^ file.c:437:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | void filescanstring(fd,fstr) | ^ file.c:472:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | int test_file_access(file_name, mode) | ^ file.c:474: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] 474 | char mode; | ^ ./extern.h:296:40: note: previous declaration is here 296 | int test_file_access ARGS((char *, char)); | ^ file.c:565:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | void displayfile(filestr) | ^ file.c:600:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | void displaycryptfile(filestr) | ^ file.c:638:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | void copyfile(srcstr) | ^ 10 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o move.o move.c gen1.c:30:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | void clear_level(dungeon_level) | ^ gen1.c:41:35: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | dungeon_level->last_visited = time((long *) NULL); | ^ gen1.c:65:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | void change_level(fromlevel,tolevel,rewrite_level) | ^ gen1.c:66: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] 66 | char fromlevel,tolevel,rewrite_level; | ^ ./extern.h:324:29: note: previous declaration is here 324 | void change_level ARGS((char,char,char)); | ^ gen1.c:66:16: 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] 66 | char fromlevel,tolevel,rewrite_level; | ^ ./extern.h:324:34: note: previous declaration is here 324 | void change_level ARGS((char,char,char)); | ^ gen1.c:66:24: 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] 66 | char fromlevel,tolevel,rewrite_level; | ^ ./extern.h:324:39: note: previous declaration is here 324 | void change_level ARGS((char,char,char)); | ^ gen1.c:140:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | plv findlevel(dungeon,levelnum) | ^ gen1.c:142: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] 142 | char levelnum; | ^ ./extern.h:320:40: note: previous declaration is here 320 | plv findlevel ARGS((struct level *,char)); | ^ gen1.c:149:31: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | dungeon->last_visited = time((long *)NULL); | ^ gen1.c:162:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | void straggle_corridor(fx,fy,tx,ty,loc,rsi) | ^ gen1.c:165: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] 165 | char rsi; | ^ ./extern.h:334:57: note: previous declaration is here 334 | void straggle_corridor ARGS((int,int,int,int,Symbol,char)); | ^ gen1.c:179:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | void makedoor(x,y) | ^ gen1.c:210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | void corridor_crawl(fx,fy,sx,sy,n,loc,rsi) | ^ gen1.c:213: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] 213 | char rsi; | ^ ./extern.h:326:62: note: previous declaration is here 326 | void corridor_crawl ARGS((int *,int *,int,int,int,Symbol,char)); | ^ gen1.c:240:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | char *roomname(index) | ^ gen1.c:323:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | void find_stairs(fromlevel,tolevel) | ^ gen1.c:324: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] 324 | char fromlevel; | ^ ./extern.h:327:28: note: previous declaration is here 327 | void find_stairs ARGS((char,char)); | ^ gen1.c:325: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] 325 | char tolevel; | ^ ./extern.h:327:33: note: previous declaration is here 327 | void find_stairs ARGS((char,char)); | ^ gen1.c:364:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | void build_square_room(x,y,l,rsi,baux) | ^ gen1.c:366: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] 366 | char rsi; | ^ ./extern.h:322:46: note: previous declaration is here 322 | void build_square_room ARGS((int,int,int,char,int)); | ^ gen1.c:385:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | void build_room(x,y,l,rsi,baux) | ^ gen1.c:387: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] 387 | char rsi; | ^ ./extern.h:321:39: note: previous declaration is here 321 | void build_room ARGS((int,int,int,char,int)); | ^ gen1.c:499:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | void sewer_corridor(x,y,dx,dy,locchar) | ^ 23 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o movef.o movef.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o mspec.o mspec.c house.c:9:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | void load_house(kind, populate) | ^ house.c:185:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | void make_house_npc(i,j) | ^ house.c:218:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | void make_mansion_npc(i,j) | ^ 3 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o mstrike.o mstrike.c gen2.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | void make_stairs(fromlevel) | ^ gen2.c:48:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | void make_country_screen(terrain) | ^ gen2.c:87:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | void make_general_map(terrain) | ^ gen2.c:335:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | void room_corridor(fx,fy,tx,ty,baux) | ^ gen2.c:451:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | void maze_corridor(fx,fy,tx,ty,rsi,num) | ^ gen2.c:453: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] 453 | char rsi,num; | ^ ./extern.h:348:46: note: previous declaration is here 348 | void maze_corridor ARGS((int,int,int,int,char,char)); | ^ gen2.c:453:10: 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] 453 | char rsi,num; | ^ ./extern.h:348:51: note: previous declaration is here 348 | void maze_corridor ARGS((int,int,int,int,char,char)); | ^ 7 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o mtalk.o mtalk.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o priest.o priest.c itemf1.c:11:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | void i_no_op(o) | ^ itemf1.c:16:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | void i_nothing(o) | ^ itemf1.c:24:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | void i_knowledge(o) | ^ itemf1.c:32:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | void i_jane_t(o) | ^ itemf1.c:68:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | void i_flux(o) | ^ itemf1.c:78:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | void i_enchant(o) | ^ itemf1.c:87:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | void i_clairvoyance(o) | ^ itemf1.c:99:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | void i_acquire(o) | ^ itemf1.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | void i_teleport(o) | ^ itemf1.c: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 i_spells(o) | ^ itemf1.c:133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | void i_bless(o) | ^ itemf1.c:141:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | void i_wish(o) | ^ itemf1.c:151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | void i_displace(o) | ^ itemf1.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 i_deflect(o) | ^ itemf1.c:170:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | void i_id(o) | ^ itemf1.c:181:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | void i_heal(o) | ^ itemf1.c:192:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | void i_mondet(o) | ^ itemf1.c:202:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | void i_objdet(o) | ^ itemf1.c:212:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | void i_neutralize_poison(o) | ^ itemf1.c:225:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | void i_sleep_self(o) | ^ itemf1.c:236:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | void i_speed(o) | ^ itemf1.c:246:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | void i_restore(o) | ^ itemf1.c:254:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | void i_augment(o) | ^ itemf1.c:262:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | void i_azoth(o) | ^ itemf1.c:296:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | void i_regenerate(o) | ^ itemf1.c:307:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | void i_perm_speed(o) | ^ itemf1.c:343:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | void i_perm_displace(o) | ^ itemf1.c: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 i_perm_negimmune(o) | ^ itemf1.c:390:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | void i_food(o) | ^ itemf1.c:402:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | void i_stim(o) | ^ itemf1.c:412:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | void i_pow(o) | ^ itemf1.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 i_poison_food(o) | ^ itemf1.c:426:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | void i_pepper_food(o) | ^ itemf1.c:446:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | void i_lembas(o) | ^ itemf1.c:455:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | void i_cure(o) | ^ itemf1.c:461:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | void i_immune(o) | ^ itemf1.c:473:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | void i_breathing(o) | ^ itemf1.c:483:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | void i_invisible(o) | ^ itemf1.c:492:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | void i_perm_invisible(o) | ^ itemf1.c:526:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | void i_warp(o) | ^ itemf1.c:535:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | void i_alert(o) | ^ itemf1.c:544:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | void i_charge(o) | ^ itemf1.c:568:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | void i_fear_resist(o) | ^ itemf1.c:587:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | void i_pick(o) | ^ itemf1.c:628:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | void i_key(o) | ^ itemf1.c:662:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | void i_corpse(o) | ^ itemf1.c:750:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | void i_accuracy(o) | ^ itemf1.c:758:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | void i_perm_accuracy(o) | ^ itemf1.c:777:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | void i_hero(o) | ^ itemf1.c:785:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | void i_perm_hero(o) | ^ itemf1.c:824:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | void i_levitate(o) | ^ itemf1.c:832:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | void i_perm_levitate(o) | ^ itemf1.c:854:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | void i_perm_protection(o) | ^ itemf1.c:872:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | void i_perm_agility(o) | ^ itemf1.c:892:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | void i_truesight(o) | ^ itemf1.c:900:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | void i_perm_truesight(o) | ^ itemf1.c:933:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | void i_illuminate(o) | ^ itemf1.c:941:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | void i_perm_illuminate(o) | ^ itemf1.c:955:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | void i_trap(o) | ^ itemf1.c:976:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | void i_raise_portcullis(o) | ^ 60 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o save.o save.c item.c:7:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | pob create_object(itemlevel) | ^ item.c:44:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | void make_cash(new,level) | ^ item.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void make_food(new,id) | ^ item.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | void make_corpse(new,m) | ^ item.c:143:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | void make_ring(new,id) | ^ item.c:154:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | void make_thing(new,id) | ^ item.c:167:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | void make_scroll(new,id) | ^ item.c:179:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | void make_potion(new,id) | ^ item.c:188:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | void make_weapon(new,id) | ^ item.c:206:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | void make_shield(new,id) | ^ item.c:221:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | void make_armor(new,id) | ^ item.c:235:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | void make_cloak(new,id) | ^ item.c:245:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | void make_boots(new,id) | ^ item.c:254:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | void make_stick(new,id) | ^ item.c:264:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | void make_artifact(new,id) | ^ item.c:278:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | void shuffle(ids, number) | ^ item.c:296:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | char *scrollname(id) | ^ item.c:364:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | char *potionname(id) | ^ item.c:393:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | char *stickname(id) | ^ item.c:421:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | char *ringname(id) | ^ item.c:450:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | char *cloakname(id) | ^ item.c:478:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | char *bootname(id) | ^ item.c:536:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | int twohandedp(id) | ^ item.c:556:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | void item_use(o) | ^ 24 warnings generated. mmove.c:9:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | void m_smart_move(m) | ^ mmove.c:16:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | void m_normal_move(m) | ^ mmove.c:24:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | void m_simple_move(m) | ^ mmove.c:79:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | void m_move_animal(m) | ^ mmove.c:91:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | void m_scaredy_move(m) | ^ mmove.c: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 m_spirit_move(m) | ^ mmove.c:151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | void m_flutter_move(m) | ^ mmove.c:181:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | void m_follow_move(m) | ^ mmove.c:192:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | void m_confused_move(m) | ^ mmove.c:209:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | void m_random_move(m) | ^ mmove.c:228:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | void m_vanish(m) | ^ mmove.c:244:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | void m_teleport(m) | ^ mmove.c:256:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | void m_move_leash(m) | ^ 13 warnings generated. guild2.c:192:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 192 | else { | ^ 1 warning generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o scr.o scr.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o site1.o site1.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o site2.o site2.c mmelee.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void m_hit(m,dtype) | ^ mmelee.c:25:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | void tacmonster(m) | ^ mmelee.c:55:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | void monster_melee(m,hitloc,bonus) | ^ mmelee.c:57: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] 57 | char hitloc; | ^ ./extern.h:609:47: note: previous declaration is here 609 | void monster_melee ARGS((struct monster *,char,int)); | ^ mmelee.c:189:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | int monster_hit(m,hitloc,bonus) | ^ mmelee.c:191: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] 191 | char hitloc; | ^ ./extern.h:607:44: note: previous declaration is here 607 | int monster_hit ARGS((struct monster *,char,int)); | ^ mmelee.c:227:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | void transcribe_monster_actions(m) | ^ 7 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o spell.o spell.c itemf3.c:9:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | void i_planes(o) | ^ itemf3.c:24:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | void i_sceptre(o) | ^ itemf3.c:50:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | void i_stargem(o) | ^ itemf3.c:95:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | void i_fear(o) | ^ itemf3.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | void i_juggernaut(o) | ^ itemf3.c:176:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | void i_symbol(o) | ^ itemf3.c:216:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | void i_crystal(o) | ^ itemf3.c:242:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | void i_antioch(o) | ^ itemf3.c:292:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | void i_kolwynia(o) | ^ itemf3.c:310:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | void i_enchantment(o) | ^ itemf3.c:332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | void i_helm(o) | ^ itemf3.c:350:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | void i_death(o) | ^ itemf3.c:358:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | void i_life(o) | ^ itemf3.c:370:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | int orbcheck(element) | ^ itemf3.c:371: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] 371 | char element; | ^ ./extern.h:556:24: note: previous declaration is here 556 | int orbcheck ARGS((char)); | ^ itemf3.c:396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | void i_orbfire(o) | ^ itemf3.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 i_orbwater(o) | ^ itemf3.c:446:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | void i_orbearth(o) | ^ itemf3.c:485:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | void i_orbair(o) | ^ itemf3.c:509:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | void i_orbmastery(o) | ^ itemf3.c:550:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | void i_orbdead(o) | ^ itemf3.c:573:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | void i_dispel(o) | ^ itemf3.c:584:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | void i_apport(o) | ^ itemf3.c:593:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | void i_firebolt(o) | ^ itemf3.c:608:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | void i_disintegrate(o) | ^ itemf3.c:622:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | void i_disrupt(o) | ^ itemf3.c:638:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | void i_lbolt(o) | ^ itemf3.c:653:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | void i_missile(o) | ^ itemf3.c:668:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | void i_fireball(o) | ^ itemf3.c:684:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | void i_snowball(o) | ^ itemf3.c:699:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | void i_lball(o) | ^ itemf3.c:714:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | void i_sleep_other(o) | ^ itemf3.c:724:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | void i_summon(o) | ^ itemf3.c:732:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | void i_hide(o) | ^ itemf3.c:742:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | void i_polymorph(o) | ^ 35 warnings generated. lev.c:11:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | void make_country_monsters(terrain) | ^ lev.c:78:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | void populate_level(monstertype) | ^ lev.c:262:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | void make_site_monster(i,j,mid) | ^ lev.c:280:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | pmt m_create(x,y,kind,level) | ^ lev.c:317:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | pmt make_creature(mid) | ^ lev.c:440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | void make_site_treasure(i,j,itemlevel) | ^ lev.c:450:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | void make_specific_treasure(i,j,itemid) | ^ 7 warnings generated. mstrike.c:10:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | void m_firebolt(m) | ^ mstrike.c:16:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | void m_nbolt(m) | ^ mstrike.c:23:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | void m_lball(m) | ^ mstrike.c:29:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | void m_fireball(m) | ^ mstrike.c:36:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | void m_snowball(m) | ^ mstrike.c:42:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | void m_blind_strike(m) | ^ mstrike.c:70:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | void m_strike_sonic(m) | ^ 7 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o time.o time.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o trap.o trap.c itemf2.c:12:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | void i_perm_knowledge(o) | ^ itemf2.c:23:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | void i_perm_strength(o) | ^ itemf2.c:45:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | void i_perm_burden(o) | ^ itemf2.c:66:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | void i_perm_gaze_immune(o) | ^ itemf2.c:73:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | void i_perm_fire_resist(o) | ^ itemf2.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | void i_perm_poison_resist(o) | ^ itemf2.c:107:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | void i_perm_regenerate(o) | ^ itemf2.c:132:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | void i_normal_armor(o) | ^ itemf2.c:138:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | void i_perm_energy_resist(o) | ^ itemf2.c:155:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | void i_perm_fear_resist(o) | ^ itemf2.c:179:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | void i_perm_breathing(o) | ^ itemf2.c:210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | void weapon_acidwhip(dmgmod,o,m) | ^ itemf2.c:223:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | void weapon_scythe(dmgmod,o,m) | ^ itemf2.c:237:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | void weapon_demonblade(dmgmod,o,m) | ^ itemf2.c:284:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | void weapon_lightsabre(dmgmod,o,m) | ^ itemf2.c:307:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | void weapon_tangle(dmgmod,o,m) | ^ itemf2.c:320:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | void weapon_arrow(dmgmod,o,m) | ^ itemf2.c:332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | void weapon_bolt(dmgmod,o,m) | ^ itemf2.c:347:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | void weapon_mace_disrupt(dmgmod,o,m) | ^ itemf2.c:359:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | void weapon_normal_hit(dmgmod,o,m) | ^ itemf2.c:369:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | void weapon_bare_hands(dmgmod,m) | ^ itemf2.c:377:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | void i_demonblade(o) | ^ itemf2.c:394:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | void i_normal_weapon(o) | ^ itemf2.c:400:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | void i_lightsabre(o) | ^ itemf2.c:407:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | void i_mace_disrupt(o) | ^ itemf2.c:415:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | void weapon_vorpal(dmgmod,o,m) | ^ itemf2.c:430:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | void weapon_desecrate(dmgmod,o,m) | ^ itemf2.c:457:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | void weapon_firestar(dmgmod,o,m) | ^ itemf2.c:469:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | void weapon_defend(dmgmod,o,m) | ^ itemf2.c:494:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | void weapon_victrix(dmgmod,o,m) | ^ itemf2.c:506:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | void i_defend(o) | ^ itemf2.c:518:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | void i_victrix(o) | ^ itemf2.c:536:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | void i_desecrate(o) | ^ itemf2.c:551:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | void i_normal_shield(o) | ^ itemf2.c:558:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | void i_perm_deflect(o) | ^ 35 warnings generated. movef.c:9:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | void p_movefunction(movef) | ^ movef.c:166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | void m_movefunction(m,movef) | ^ 2 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o util.o util.c mon.c:12:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | void m_pulse(m) | ^ mon.c:71:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | void movemonster(m,newx,newy) | ^ mon.c:87:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | void m_pickup(m,o) | ^ mon.c:97:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | void m_dropstuff(m) | ^ mon.c:113:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | void m_damage(m,dmg,dtype) | ^ mon.c:134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | void m_death(m) | ^ mon.c:375:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | void monster_move(m) | ^ mon.c:389:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | void monster_strike(m) | ^ mon.c:402:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | void monster_special(m) | ^ mon.c:412:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | void monster_talk(m) | ^ mon.c:418:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | void monster_action(m,action) | ^ mon.c:529:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | void make_hiscore_npc(npc,npcid) | ^ mon.c:626:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | void determine_npc_behavior(npc,level,behavior) | ^ mon.c:689:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | void make_log_npc(npc) | ^ mon.c:755:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | void m_trap_dart(m) | ^ mon.c:772:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | void m_trap_pit(m) | ^ mon.c:792:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | void m_trap_door(m) | ^ mon.c:809:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | void m_trap_abyss(m) | ^ mon.c:831:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | void m_trap_snare(m) | ^ mon.c:849:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | void m_trap_blade(m) | ^ mon.c:866:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | void m_trap_fire(m) | ^ mon.c:885:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | void m_fire(m) | ^ mon.c:901:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | void m_trap_teleport(m) | ^ mon.c:919:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | void m_trap_disintegrate(m) | ^ mon.c:937:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | void m_trap_sleepgas(m) | ^ mon.c:955:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | void m_trap_acid(m) | ^ mon.c:973:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | void m_trap_manadrain(m) | ^ mon.c:992:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | void m_water(m) | ^ mon.c:1013:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | void m_abyss(m) | ^ mon.c:1031:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | void m_lava(m) | ^ mon.c:1050:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | void m_altar(m) | ^ mon.c:1131:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | void strengthen_death(m) | ^ mon.c:1162:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | void m_no_op(m) | ^ 33 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o village.o village.c cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" -c -o compress.o compress.c mspec.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void m_sp_mp(m) | ^ mspec.c:28:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | void m_sp_ng(m) | ^ mspec.c:45:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | void m_sp_poison_cloud(m) | ^ mspec.c:57:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | void m_sp_explode(m) | ^ mspec.c:68:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | void m_sp_demon(m) | ^ mspec.c:102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | void m_sp_acid_cloud(m) | ^ mspec.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | void m_sp_escape(m) | ^ mspec.c:119:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | void m_sp_ghost(m) | ^ mspec.c:135:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | void m_sp_spell(m) | ^ mspec.c:174:9: warning: call to undeclared function 'icebolt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | icebolt(m->x,m->y,Player.x,Player.y,m->hit,30); | ^ mspec.c:220:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | void m_sp_surprise(m) | ^ mspec.c:255:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | void m_sp_whistleblower(m) | ^ mspec.c:265:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | void m_sp_seductor(m) | ^ mspec.c:287:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | void m_sp_demonlover(m) | ^ mspec.c:294:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | void m_sp_eater(m) | ^ mspec.c:316:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | void m_sp_dragonlord(m) | ^ mspec.c:364:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | void m_sp_blackout(m) | ^ mspec.c:384:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | void m_sp_bogthing(m) | ^ mspec.c:407:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | void m_sp_were(m) | ^ mspec.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 m_sp_servant(m) | ^ mspec.c:458:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | void m_sp_av(m) | ^ mspec.c:468:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | void m_sp_lw(m) | ^ mspec.c:486:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | void m_sp_angel(m) | ^ mspec.c:523:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | void m_sp_swarm(m) | ^ mspec.c:538:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | void m_sp_raise(m) | ^ mspec.c:559:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | void m_sp_mb(m) | ^ mspec.c:587:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | void m_sp_mirror(m) | ^ mspec.c:609:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | void m_illusion(m) | ^ mspec.c:627:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | void m_huge_sounds(m) | ^ mspec.c:638:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | void m_thief_f(m) | ^ mspec.c:675:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | void m_summon(m) | ^ mspec.c:686:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | void m_aggravate(m) | ^ mspec.c:705:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | void m_sp_merchant(m) | ^ mspec.c:723:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | void m_sp_court(m) | ^ mspec.c:740:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | void m_sp_lair(m) | ^ mspec.c:761:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | void m_sp_prime(m) | ^ 36 warnings generated. priest.c:124:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | int check_sacrilege(deity) | ^ priest.c:242:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | int increase_priest_rank(deity) | ^ priest.c:476:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | void make_hp(o) | ^ 3 warnings generated. inv.c:58:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | long get_money(limit) | ^ inv.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | void pickup_at(x,y) | ^ inv.c:115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | int key_to_index(key) | ^ inv.c:116:13: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'signed char' declared in a previous prototype [-Wknr-promoted-parameter] 116 | signed char key; | ^ ./extern.h:375:36: note: previous declaration is here 375 | int key_to_index ARGS((signed char)); | ^ inv.c:129:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | signed char index_to_key(index) | ^ inv.c:140:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | int aux_slottable(o,slot) | ^ inv.c:176:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | void drop_at(x,y,o) | ^ inv.c:200:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | void p_drop_at(x,y,n,o) | ^ inv.c:220:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 220 | else if (Level->site[x][y].p_locf == L_VOID_STATION) | ^ inv.c:226:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | char *itemid(obj) | ^ inv.c:296:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | void setplustr(obj,pstr) | ^ inv.c:314:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | void setnumstr(obj,nstr) | ^ inv.c:340:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | void setchargestr(obj,cstr) | ^ inv.c:368:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | void give_money(m) | ^ inv.c:381:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | void givemonster(m,o) | ^ inv.c:469:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | void conform_lost_object(obj) | ^ inv.c:479:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | void dispose_lost_objects(n,obj) | ^ inv.c:510:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | void conform_lost_objects(n,obj) | ^ inv.c:533:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | void conform_unused_object(obj) | ^ inv.c:552:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | int getitem(itype) | ^ inv.c:618:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | int badobject(slotchar) | ^ inv.c:619: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] 619 | char slotchar; | ^ ./extern.h:381:25: note: previous declaration is here 381 | int badobject ARGS((char)); | ^ inv.c:629:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | int baditem(slotnum) | ^ inv.c:640:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | void gain_item(o) | ^ inv.c:664:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | void push_pack(o) | ^ inv.c:675:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | void add_to_pack(o) | ^ inv.c:689:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | int get_to_pack(o) | ^ inv.c:704:20: warning: parameter 'index' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 704 | int pack_item_cost(index) | ^ 705 | { inv.c:704:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | int pack_item_cost(index) | ^ inv.c:718:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | int use_pack_item(response,slot) | ^ inv.c:757:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | int aux_display_pack(start_item,slot) | ^ inv.c:794:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | int aux_take_from_pack(slot) | ^ inv.c:853:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | int aux_top_take_from_pack(slot,display) | ^ inv.c:892:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | int take_from_pack(slot,display) | ^ inv.c:902:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | void item_inventory(topline) | ^ inv.c:1258:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | int get_item_number(o) | ^ inv.c:1277:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1277 | void drop_from_slot(slot) | ^ inv.c:1300:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | void put_to_pack(slot) | ^ inv.c:1325:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | pob split_item(num,item) | ^ inv.c:1348:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | void switch_to_slot(slot) | ^ inv.c:1464:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | void merge_item(slot) | ^ inv.c:1475:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | int objequal(o,p) | ^ inv.c:1495:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1495 | int slottable(o,slot) | ^ inv.c:1539:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1539 | int item_useable(o,slot) | ^ inv.c:1587:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1587 | int cursed(obj) | ^ inv.c:1603:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | int find_item(o,id,chargeval) | ^ inv.c:1634:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1634 | int find_and_remove_item(id,chargeval) | ^ inv.c:1691:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | void pack_extra_items(item) | ^ inv.c:1733:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | void show_inventory_slot(slotnum,topline) | ^ 49 warnings generated. move.c:511:5: warning: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 511 | usleep(250000); | ^ move.c:715:2: warning: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 715 | usleep(250000); | ^ 2 warnings generated. time.c:13:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | void time_clock(reset) | ^ time.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | void fix_phantom(m) | ^ 2 warnings generated. site2.c:135:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | void gymtrain(maxstat,stat) | ^ site2.c:638:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | void sign_print(x,y,signp) | ^ 2 warnings generated. mtalk.c:9:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | void m_talk_druid(m) | ^ mtalk.c:96:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | void m_talk_silent(m) | ^ mtalk.c:116:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | void m_talk_stupid(m) | ^ mtalk.c:135:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | void m_talk_greedy(m) | ^ mtalk.c:154:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | void m_talk_hungry(m) | ^ mtalk.c:174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | void m_talk_guard(m) | ^ mtalk.c:207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | void m_talk_mp(m) | ^ mtalk.c:214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | void m_talk_titter(m) | ^ mtalk.c:228:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | void m_talk_ninja(m) | ^ mtalk.c:238:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | void m_talk_thief(m) | ^ mtalk.c:257:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | void m_talk_assassin(m) | ^ mtalk.c:266:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | void m_talk_im(m) | ^ mtalk.c:306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | void m_talk_man(m) | ^ mtalk.c:326:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | void m_talk_evil(m) | ^ mtalk.c:356:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | void m_talk_robot(m) | ^ mtalk.c:377:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | void m_talk_slithy(m) | ^ mtalk.c:384:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | void m_talk_mimsy(m) | ^ mtalk.c:392:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | void m_talk_burble(m) | ^ mtalk.c:408:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | void m_talk_beg(m) | ^ mtalk.c:421:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | void m_talk_hint(m) | ^ mtalk.c:441:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | void m_talk_gf(m) | ^ mtalk.c:466:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | void m_talk_ef(m) | ^ mtalk.c:484:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | void m_talk_seductor(m) | ^ mtalk.c:518:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | void m_talk_demonlover(m) | ^ mtalk.c:576:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | void m_talk_horse(m) | ^ mtalk.c:600:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | void m_talk_hyena(m) | ^ mtalk.c:606:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | void m_talk_parrot(m) | ^ mtalk.c:613:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | void m_talk_servant(m) | ^ mtalk.c:652:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | void m_talk_animal(m) | ^ mtalk.c:668:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | void m_talk_scream(m) | ^ mtalk.c:681:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | void m_talk_archmage(m) | ^ mtalk.c:707:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | void m_talk_merchant(m) | ^ mtalk.c:741:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | void m_talk_prime(m) | ^ 33 warnings generated. spell.c:445:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | char *spellid(id) | ^ spell.c:633:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | void cast_spell(spell) | ^ spell.c:745:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | void showknownspells(first, last) | ^ 3 warnings generated. save.c:26:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | int save_game(compress,savestr) | ^ save.c:171:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | int save_player(fd) | ^ save.c:267:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | int save_level(fd,level) | ^ save.c:305:12: warning: shift count >= width of type [-Wshift-count-overflow] 305 | mask |= (1<<(sizeof(long int)*8 - 1)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ save.c:324:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | int save_monsters(fd,ml) | ^ save.c:369:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | int save_item(fd,o) | ^ save.c:400:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | int save_itemlist(fd,ol) | ^ save.c:416:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | int save_country(fd) | ^ save.c:445:12: warning: shift count >= width of type [-Wshift-count-overflow] 445 | mask |= (1<<(sizeof(long int)*8 - 1)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ save.c:455:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | int ok_outdated(version) | ^ save.c:480:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | int restore_game(savestr) | ^ save.c:595:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | void restore_player(fd, version) | ^ save.c:699:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | pob restore_item(fd, version) | ^ save.c:733:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | pol restore_itemlist(fd, version) | ^ save.c:757:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | void restore_level(fd, version) | ^ save.c:880:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | void restore_hiscore_npc(npc, npcid) | ^ save.c:957:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | void restore_monsters(fd,level, version) | ^ save.c:1018:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | void restore_country(fd, version) | ^ 18 warnings generated. village.c:9:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | void load_village(villagenum, populate) | ^ village.c:150:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | void make_guard(i,j) | ^ village.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 make_sheep(i,j) | ^ village.c:172:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | void make_food_bin(i,j) | ^ village.c:187:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | void make_horse(i,j) | ^ village.c:199:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | void make_merchant(i,j) | ^ village.c:211:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | void assign_village_function(x,y,setup) | ^ village.c:273:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | void special_village_site(i,j,villagenum) | ^ 8 warnings generated. site1.c:187:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | void buyfromstock(base,numitems) | ^ site1.c:355:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | void statue_random(x,y) | ^ site1.c:444:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | void wake_statue(x,y,first) | ^ 3 warnings generated. scr.c:240:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | void print1(s) | ^ scr.c:246:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 246 | wprintw(Msg1w,s); | ^ scr.c:246:19: note: treat the string as an argument to avoid this 246 | wprintw(Msg1w,s); | ^ | "%s", scr.c:252:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | void nprint1(s) | ^ scr.c:257:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 257 | wprintw(Msg1w,s); | ^ scr.c:257:21: note: treat the string as an argument to avoid this 257 | wprintw(Msg1w,s); | ^ | "%s", scr.c:267:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | void print2(s) | ^ scr.c:273:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 273 | wprintw(Msg2w,s); | ^ scr.c:273:19: note: treat the string as an argument to avoid this 273 | wprintw(Msg2w,s); | ^ | "%s", scr.c:279:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | void nprint2(s) | ^ scr.c:284:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 284 | wprintw(Msg2w,s); | ^ scr.c:284:21: note: treat the string as an argument to avoid this 284 | wprintw(Msg2w,s); | ^ | "%s", scr.c:295:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | void print3(s) | ^ scr.c:301:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 301 | wprintw(Msg3w,s); | ^ scr.c:301:19: note: treat the string as an argument to avoid this 301 | wprintw(Msg3w,s); | ^ | "%s", scr.c:307:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | void nprint3(s) | ^ scr.c:312:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 312 | wprintw(Msg3w,s); | ^ scr.c:312:21: note: treat the string as an argument to avoid this 312 | wprintw(Msg3w,s); | ^ | "%s", scr.c:322:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | void mprint(s) | ^ scr.c:346:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 346 | wprintw(Msgw,s); | ^ scr.c:346:18: note: treat the string as an argument to avoid this 346 | wprintw(Msgw,s); | ^ | "%s", scr.c:369:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | void hide_line(i) | ^ scr.c:484:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | void setlastxy(new_x, new_y) /* used when changing environments */ | ^ scr.c:491:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | int litroom(x,y) | ^ scr.c:499:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | void drawvision(x,y) | ^ scr.c:553:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | void omshowcursor(x,y) | ^ scr.c:569:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | void drawspot(x,y) | ^ scr.c:587:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | void dodrawspot(x,y) | ^ scr.c:602:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | void blankoutspot(i,j) | ^ scr.c:616:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | void blotspot(i,j) | ^ scr.c:632:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | void plotspot(x,y,showmonster) | ^ scr.c:643:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | void putspot(x,y,c) | ^ scr.c:657:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | void plotmon(m) | ^ scr.c:669:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | void drawmonsters(display) | ^ scr.c:694:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | void erase_monster(m) | ^ scr.c:703:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | Symbol getspot(x,y,showmonster) | ^ scr.c:763:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 763 | wprintw(Timew,month()); | ^~~~~~~ scr.c:763:17: note: treat the string as an argument to avoid this 763 | wprintw(Timew,month()); | ^ | "%s", scr.c:765:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 765 | wprintw(Timew,ordinal(day())); | ^~~~~~~~~~~~~~ scr.c:765:17: note: treat the string as an argument to avoid this 765 | wprintw(Timew,ordinal(day())); | ^ | "%s", scr.c:831:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | void menuaddch(c) | ^ scr.c:832: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] 832 | char c; | ^ ./extern.h:890:26: note: previous declaration is here 890 | void menuaddch ARGS((char)); | ^ scr.c:882:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | void menuspellprint(i) | ^ scr.c:893:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 893 | wprintw(Menuw,spellid(i)); | ^~~~~~~~~~ scr.c:893:17: note: treat the string as an argument to avoid this 893 | wprintw(Menuw,spellid(i)); | ^ | "%s", scr.c:897:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | void menuprint(s) | ^ scr.c:908:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 908 | wprintw(Menuw,s); | ^ scr.c:908:17: note: treat the string as an argument to avoid this 908 | wprintw(Menuw,s); | ^ | "%s", scr.c:926:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | void plotchar(pyx,x,y) | ^ scr.c:941:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | void draw_explosion(pyx,x,y) | ^ scr.c:950:5: warning: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 950 | usleep(150000); | ^ scr.c:988:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | void locprint(s) | ^ scr.c:992:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 992 | wprintw(Locw,s); | ^ scr.c:992:16: note: treat the string as an argument to avoid this 992 | wprintw(Locw,s); | ^ | "%s", scr.c:1015:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | int getnumber(range) | ^ scr.c:1113:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | void maddch(c) | ^ scr.c:1114: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] 1114 | char c; | ^ ./extern.h:889:23: note: previous declaration is here 889 | void maddch ARGS((char)); | ^ scr.c:1121:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | void display_death(source) | ^ scr.c:1128:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1128 | printw(Player.name); | ^~~~~~~~~~~ scr.c:1128:10: note: treat the string as an argument to avoid this 1128 | printw(Player.name); | ^ | "%s", scr.c:1133:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1133 | printw(Str4); | ^~~~ scr.c:1133:10: note: treat the string as an argument to avoid this 1133 | printw(Str4); | ^ | "%s", scr.c:1151:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1151 | printw(Player.name); | ^~~~~~~~~~~ scr.c:1151:10: note: treat the string as an argument to avoid this 1151 | printw(Player.name); | ^ | "%s", scr.c:1177:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1177 | printw(Player.name); | ^~~~~~~~~~~ scr.c:1177:10: note: treat the string as an argument to avoid this 1177 | printw(Player.name); | ^ | "%s", scr.c:1196:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1196 | printw(Player.name); | ^~~~~~~~~~~ scr.c:1196:10: note: treat the string as an argument to avoid this 1196 | printw(Player.name); | ^ | "%s", scr.c:1210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | void mnumprint(n) | ^ scr.c:1220:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | void mlongprint(n) | ^ scr.c:1231:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | void menunumprint(n) | ^ scr.c:1245:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | void menulongprint(n) | ^ scr.c:1336:7: warning: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1336 | usleep(200000); | ^ scr.c:1383:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | void screencheck(y) | ^ scr.c:1400:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | void spreadroomlight(x,y,roomno) | ^ scr.c:1414:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1414 | void lightspot(x,y) | ^ scr.c:1428:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1428 | void spreadroomdark(x,y,roomno) | ^ scr.c:1468:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | void display_inventory_slot(slotnum,topline) | ^ scr.c:1487:40: warning: data argument not used by format string [-Wformat-extra-args] 1487 | wprintw(W,"-- Object 'up in air':",usechar); | ~~~~~~~~~~~~~~~~~~~~~~~~ ^ scr.c:1537:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1537 | else wprintw(W,itemid(Player.possessions[slotnum])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scr.c:1537:18: note: treat the string as an argument to avoid this 1537 | else wprintw(W,itemid(Player.possessions[slotnum])); | ^ | "%s", scr.c:1541:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | int move_slot(oldslot,newslot,maxslot) | ^ scr.c:1567:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1567 | void display_option_slot(slot) | ^ scr.c:1685:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1685 | void buffercycle(s) | ^ scr.c:1693:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | int bufferappend(s) | ^ scr.c:1723:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1723 | wprintw(Msg2w,Stringbuffer[i]); | ^~~~~~~~~~~~~~~ scr.c:1723:19: note: treat the string as an argument to avoid this 1723 | wprintw(Msg2w,Stringbuffer[i]); | ^ | "%s", 68 warnings generated. compress.c:107:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] 107 | # endif BITS | ^ | // compress.c:350:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 350 | #endif sel | ^ | // compress.c:382:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 382 | Usage() { | ^ | int compress.c:463:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 463 | do_compression( decomp, file ) | ^ | int compress.c:510:7: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 510 | if (strcmp(*fileptr + strlen(*fileptr) - 1, "Z") != 0) { | ^ compress.c:510:7: note: include the header or explicitly provide a declaration for 'strcmp' compress.c:510:25: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 510 | if (strcmp(*fileptr + strlen(*fileptr) - 1, "Z") != 0) { | ^ compress.c:510:25: note: include the header or explicitly provide a declaration for 'strlen' compress.c:512:7: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 512 | strcpy(tempname, *fileptr); | ^ compress.c:512:7: note: include the header or explicitly provide a declaration for 'strcpy' compress.c:513:7: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 513 | strcat(tempname, "Z"); | ^ compress.c:513:7: note: include the header or explicitly provide a declaration for 'strcat' compress.c:596:29: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 596 | if (bgnd_flag == 0 && isatty(2)) { | ^ compress.c:600:4: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 600 | read(2, response, 2); | ^ compress.c:627:26: warning: call to undeclared function 'compress'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 627 | if (do_decomp == 0) compress(); | ^ compress.c:629:13: warning: call to undeclared function 'decompress'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 629 | else decompress(); | ^ compress.c:637:3: warning: call to undeclared function 'copystat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 637 | copystat(*fileptr, ofname); /* Copy stats */ | ^ compress.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | do_compression( decomp, file ) | ^ compress.c:666:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 666 | compress() | ^ | int compress.c:686:3: warning: call to undeclared function 'writeerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 686 | writeerr(); | ^ compress.c:708:5: warning: call to undeclared function 'cl_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 708 | cl_hash( (count_int) hsize_reg); /* clear hash table */ | ^ compress.c:738:2: warning: call to undeclared function 'output'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 738 | output ( (code_int) ent ); | ^ compress.c:750:6: warning: call to undeclared function 'cl_block'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 750 | cl_block (); | ^ compress.c:755:5: warning: call to undeclared function 'output'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 755 | output( (code_int)ent ); | ^ compress.c:776:2: warning: call to undeclared function 'prratio'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 776 | prratio( stderr, in_count-bytes_out, in_count ); | ^ compress.c:808:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 808 | output( code ) | ^ | int compress.c:886:4: warning: call to undeclared function 'writeerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 886 | writeerr(); | ^ compress.c:923:3: warning: call to undeclared function 'writeerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 923 | writeerr(); | ^ compress.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 | output( code ) | ^ compress.c:934:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 934 | decompress() { | ^ | int compress.c:954:2: warning: call to undeclared function 'writeerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 954 | writeerr(); | ^ compress.c:1099:16: warning: promoted type 'char *' of K&R function parameter is not compatible with the parameter type 'const char *' declared in a previous prototype [-Wknr-promoted-parameter] 1099 | register char *s, c; | ^ compress.c:1223:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1223 | writeerr() | ^ | int compress.c:1226:5: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1226 | unlink ( ofname ); | ^ compress.c:1227:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1227 | exit ( 1 ); | ^ compress.c:1227:5: note: include the header or explicitly provide a declaration for 'exit' compress.c:1230:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1230 | copystat(ifname, ofname) | ^ | int compress.c:1252:3: warning: format specifies type 'int' but the argument has type 'nlink_t' (aka 'unsigned long') [-Wformat] 1251 | fprintf(stderr, " -- has %d other links: unchanged", | ~~ | %lu 1252 | statbuf.st_nlink - 1); | ^~~~~~~~~~~~~~~~~~~~ compress.c:1265:2: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1265 | chown(ofname, statbuf.st_uid, statbuf.st_gid); /* Copy ownership */ | ^ compress.c:1268:2: warning: call to undeclared function 'utime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1268 | utime(ofname, timep); /* Update last accessed and modified times */ | ^ compress.c:1273:2: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1273 | unlink(ifname); | ^ compress.c:1281:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1281 | if (unlink(ofname)) | ^ compress.c:1230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | copystat(ifname, ofname) | ^ compress.c:1289:2: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1289 | unlink ( ofname ); | ^ compress.c:1298:5: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1298 | unlink ( ofname ); | ^ compress.c:1302:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1302 | cl_block () /* table clear for block compress */ | ^ | int compress.c:1333:3: warning: call to undeclared function 'cl_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1333 | cl_hash ( (count_int) hsize ); | ^ compress.c:1344:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1344 | cl_hash(hsize) /* reset code table */ | ^ | int compress.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] compress.c:1396:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1396 | prratio(stream, num, den) | ^ | int compress.c:1396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 warnings generated. util.c:17:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | int inbounds(x,y) | ^ util.c:24:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | int random_range(k) | ^ util.c:33:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | int screenmod(y) | ^ util.c:40:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | int offscreen(y) | ^ util.c:51:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | int hitp(hit,ac) | ^ util.c:64:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | int distance(x1,y1,x2,y2) | ^ util.c:72:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | int unblocked(x,y) | ^ util.c:91:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | int m_unblocked(m,x,y) | ^ util.c:164:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | int view_unblocked(x,y) | ^ util.c:212:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | void do_los(pyx,x1,y1,x2,y2) | ^ util.c:271:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | void do_object_los(pyx,x1,y1,x2,y2) | ^ util.c:335:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | int los_p(x1,y1,x2,y2) | ^ util.c:386:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | int view_los_p(x1,y1,x2,y2) | ^ util.c:437:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | char inversedir(dirindex) | ^ util.c:524:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | char *getarticle(str) | ^ util.c:543:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | char *ordinal(number) | ^ util.c:638:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | int strprefix(prefix,s) | ^ util.c:665:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | int strmem(c,s) | ^ util.c:666: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] 666 | char c; | ^ ./extern.h:1066:22: note: previous declaration is here 1066 | int strmem ARGS((char,char *)); | ^ util.c:696:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | int ok_to_free(level) | ^ util.c:705:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | void free_objlist(pobjlist) | ^ util.c:717:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | void free_mons_and_objs(mlist) | ^ util.c:731:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | void free_level(level) | ^ util.c:780:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | char *salloc(str) | ^ util.c:845:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | char cryptkey(fname) | ^ 25 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DBSD -DOMEGALIB=\"/usr/local/share/omega/\" omega.o abyss.o aux1.o aux2.o aux3.o char.o city.o clrgen.o command1.o command2.o command3.o country.o effect1.o effect2.o effect3.o etc.o env.o file.o gen1.o gen2.o guild1.o guild2.o house.o init.o inv.o item.o itemf1.o itemf2.o itemf3.o lev.o mmelee.o mmove.o mon.o move.o movef.o mspec.o mstrike.o mtalk.o priest.o save.o scr.o site1.o site2.o spell.o time.o trap.o util.o village.o compress.o -lncurses -o omega =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for omega-0.90.4_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/omega/work/omega/omega /wrkdirs/usr/ports/games/omega/work/stage/usr/local/bin/omega-game install -m 444 /wrkdirs/usr/ports/games/omega/work/omega/docs/omega.6 /wrkdirs/usr/ports/games/omega/work/stage/usr/local/share/man/man6 install -m 0644 /wrkdirs/usr/ports/games/omega/work/omega/lib/* /wrkdirs/usr/ports/games/omega/work/stage/usr/local/share/omega cp -f /wrkdirs/usr/ports/games/omega/work/stage/usr/local/share/omega/omega.hi /wrkdirs/usr/ports/games/omega/work/stage/usr/local/share/omega/omegahi.bak install -m 0644 /wrkdirs/usr/ports/games/omega/work/omega/buglist.txt /wrkdirs/usr/ports/games/omega/work/omega/docs/compile.all /wrkdirs/usr/ports/games/omega/work/omega/docs/omega.txt /wrkdirs/usr/ports/games/omega/work/omega/docs/readme.1st /wrkdirs/usr/ports/games/omega/work/omega/docs/readme3 /wrkdirs/usr/ports/games/omega/work/omega/docs/readme4 /wrkdirs/usr/ports/games/omega/work/stage/usr/local/share/doc/omega ====> 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-10-03T01:17:34+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=8ce1df089a9b' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for omega-0.90.4_2 ===> Building omega-0.90.4_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for omega-0.90.4_2 build of games/omega | omega-0.90.4_2 ended at Thu Oct 2 21:19:08 EDT 2025 build time: 00:01:39