=>> Building mail/fastforward build started at Sun Sep 28 21:25:50 EDT 2025 port directory: /usr/ports/mail/fastforward package name: fastforward-0.51_2 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 830 Oct 16 2024 /usr/ports/mail/fastforward/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: b72e179346cd Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 10 ---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/10/.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 fastforward-0.51_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/mail/fastforward/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/fastforward/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/fastforward/work/.cache HOME=/wrkdirs/usr/ports/mail/fastforward/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/fastforward/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/fastforward/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/mail/fastforward/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/fastforward/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/fastforward/work/.cache HOME=/wrkdirs/usr/ports/mail/fastforward/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/fastforward/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/fastforward/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/fastforward" EXAMPLESDIR="share/examples/fastforward" DATADIR="share/fastforward" WWWDIR="www/fastforward" ETCDIR="etc/fastforward" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fastforward DOCSDIR=/usr/local/share/doc/fastforward EXAMPLESDIR=/usr/local/share/examples/fastforward WWWDIR=/usr/local/www/fastforward ETCDIR=/usr/local/etc/fastforward --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 ===> NOTICE: The fastforward port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> fastforward-0.51_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 ===> fastforward-0.51_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of fastforward-0.51_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fastforward port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by fastforward-0.51_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fastforward port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by fastforward-0.51_2 for building => SHA256 Checksum OK for fastforward-0.51.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fastforward port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by fastforward-0.51_2 for building ===> Extracting for fastforward-0.51_2 => SHA256 Checksum OK for fastforward-0.51.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 fastforward-0.51_2 ===> Applying FreeBSD patches for fastforward-0.51_2 from /usr/ports/mail/fastforward/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> fastforward-0.51_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 ===> fastforward-0.51_2 depends on package: gmake>=4.4.1 - found ===> Returning to build of fastforward-0.51_2 ===> fastforward-0.51_2 depends on executable: groff - not found ===> Installing existing package /packages/All/groff-1.23.0_5.pkg [pkg.DaveG.ca] Installing groff-1.23.0_5... [pkg.DaveG.ca] `-- Installing libiconv-1.17_1... [pkg.DaveG.ca] `-- Extracting libiconv-1.17_1: .......... done [pkg.DaveG.ca] `-- Installing perl5-5.42.0_1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.0_1: .......... done [pkg.DaveG.ca] `-- Installing psutils-1.17_6... [pkg.DaveG.ca] | `-- Installing libpaper-1.1.28_1... [pkg.DaveG.ca] | `-- Extracting libpaper-1.1.28_1: .......... done [pkg.DaveG.ca] `-- Extracting psutils-1.17_6: .......... done [pkg.DaveG.ca] `-- Installing uchardet-0.0.8_1... [pkg.DaveG.ca] `-- Extracting uchardet-0.0.8_1: .......... done [pkg.DaveG.ca] Extracting groff-1.23.0_5: .......... done ===== Message from groff-1.23.0_5: -- In order to be able to use the html driver, you need to install the following packages: - ghostscript - netpbm -- ===> NOTICE: The groff port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> fastforward-0.51_2 depends on executable: groff - found ===> Returning to build of fastforward-0.51_2 ===> fastforward-0.51_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. ===> fastforward-0.51_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of fastforward-0.51_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 fastforward-0.51_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for fastforward-0.51_2 ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\' \ ) > auto-ccld.sh nroff -man fastforward.1 > fastforward.0 nroff -man printforward.1 > printforward.0 nroff -man setforward.1 > setforward.0 nroff -man newaliases.1 > newaliases.0 nroff -man printmaillist.1 > printmaillist.0 nroff -man setmaillist.1 > setmaillist.0 nroff -man newinclude.1 > newinclude.0 cat auto-ccld.sh make-load.sh > make-load cat auto-ccld.sh find-systype.sh > find-systype chmod 755 make-load chmod 755 find-systype cat auto-ccld.sh make-compile.sh > make-compile cat auto-ccld.sh make-makelib.sh > make-makelib chmod 755 make-compile chmod 755 make-makelib ./find-systype > systype ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \ compile ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \ makelib chmod 755 load chmod 755 compile ( ( ./compile tryulong32.c && ./load tryulong32 && \ ./tryulong32 ) >/dev/null 2>&1 \ && cat uint32.h2 || cat uint32.h1 ) > uint32.h chmod 755 makelib ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \ 2>&1 \ && cat fork.h2 || cat fork.h1 ) > fork.h ./compile slurpclose.c ./compile coe.c ./compile auto-str.c ./compile substdio.c ./compile substdi.c ./compile substdo.c auto-str.c:11:20: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | if (substdio_puts(&ss1,s) == -1) _exit(111); | ^ auto-str.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 puts(s) | ^ auto-str.c:14:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 14 | void main(argc,argv) | ^ auto-str.c:14:1: note: change return type to 'int' 14 | void main(argc,argv) | ^~~~ | int auto-str.c:32:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 32 | while (ch = *value++) { | ~~~^~~~~~~~~~ auto-str.c:32:13: note: place parentheses around the assignment to silence this warning 32 | while (ch = *value++) { | ^ | ( ) auto-str.c:32:13: note: use '==' to turn this assignment into an equality comparison 32 | while (ch = *value++) { | ^ | == auto-str.c:42:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | if (substdio_flush(&ss1) == -1) _exit(111); | ^ auto-str.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 main(argc,argv) | ^ 6 warnings generated. ./compile subfderr.c substdio.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void substdio_fdbuf(s,op,fd,buf,len) | ^ In file included from substdio.c:1: ./substdio.h:14:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | extern void substdio_fdbuf(); | ^ 2 warnings generated. ./compile subfdouts.c substdi.c:14:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | r = op(fd,buf,len); | ^ substdi.c:5:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | static int oneread(op,fd,buf,len) | ^ substdi.c:31:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | byte_copy(buf,r,s->x + s->n); | ^ substdi.c:20:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | static int getthis(s,buf,len) | ^ substdi.c:49:48: warning: passing arguments to 'byte_copyr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (q > 0) /* damn, gotta shift */ byte_copyr(s->x + q,r,s->x); | ^ substdi.c:36:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | int substdio_feed(s) | ^ In file included from substdi.c:1: ./substdio.h:26:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | extern int substdio_feed(); | ^ substdi.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int substdio_bget(s,buf,len) | ^ In file included from substdi.c:1: ./substdio.h:25:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | extern int substdio_bget(); | ^ substdi.c:66:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | int substdio_get(s,buf,len) | ^ In file included from substdi.c:1: ./substdio.h:24:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | extern int substdio_get(); | ^ substdi.c:79:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | char *substdio_peek(s) | ^ In file included from substdi.c:1: ./substdio.h:28:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | extern char *substdio_peek(); | ^ substdi.c:85:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | void substdio_seek(s,len) | ^ In file included from substdi.c:1: ./substdio.h:29:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | extern void substdio_seek(); | ^ 15 warnings generated. ./compile subfdins.c ./compile substdio_copy.c ./compile error.c substdo.c:15:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | w = op(fd,buf,len); | ^ substdo.c:20:17: warning: if statement has empty body [-Wempty-body] 20 | if (w == 0) ; /* luser's fault */ | ^ substdo.c:20:17: note: put the semicolon on a separate line to silence this warning substdo.c:6:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | static int allwrite(op,fd,buf,len) | ^ substdo.c:27:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | int substdio_flush(s) | ^ In file included from substdo.c:1: ./substdio.h:16:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern int substdio_flush(); | ^ substdo.c:46:14: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | byte_copy(s->x + s->p,n,buf); s->p += n; buf += n; len -= n; | ^ substdo.c:50:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | byte_copy(s->x + s->p,len,buf); | ^ substdo.c:38:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | int substdio_bput(s,buf,len) | ^ In file included from substdo.c:1: ./substdio.h:18:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern int substdio_bput(); | ^ substdo.c:75:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | byte_copy(s->x + s->p,len,buf); | ^ substdo.c:55:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | int substdio_put(s,buf,len) | ^ In file included from substdo.c:1: ./substdio.h:17:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern int substdio_put(); | ^ substdo.c:80:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | int substdio_putflush(s,buf,len) | ^ In file included from substdo.c:1: ./substdio.h:19:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | extern int substdio_putflush(); | ^ substdo.c:93:37: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | return substdio_bput(s,buf,str_len(buf)); | ^ substdo.c:89:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | int substdio_bputs(s,buf) | ^ In file included from substdo.c:1: ./substdio.h:21:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | extern int substdio_bputs(); | ^ substdo.c:100:36: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | return substdio_put(s,buf,str_len(buf)); | ^ substdo.c:96:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | int substdio_puts(s,buf) | ^ In file included from substdo.c:1: ./substdio.h:20:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern int substdio_puts(); | ^ substdo.c:107:41: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | return substdio_putflush(s,buf,str_len(buf)); | ^ substdo.c:103:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | int substdio_putsflush(s,buf) | ^ In file included from substdo.c:1: ./substdio.h:22:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | extern int substdio_putsflush(); | ^ 23 warnings generated. ./compile error_str.c ./compile str_len.c slurpclose.c:13:28: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | if (!stralloc_readyplus(sa,bufsize)) { close(fd); return -1; } | ^ slurpclose.c:13:44: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | if (!stralloc_readyplus(sa,bufsize)) { close(fd); return -1; } | ^ slurpclose.c:14:13: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | r = read(fd,sa->s + sa->len,bufsize); | ^ slurpclose.c:16:19: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | if (r <= 0) { close(fd); return r; } | ^ slurpclose.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int slurpclose(fd,sa,bufsize) | ^ In file included from slurpclose.c:3: ./slurpclose.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int slurpclose(); | ^ 6 warnings generated. ./compile str_diff.c ./compile str_diffn.c coe.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int coe(fd) | ^ In file included from coe.c:2: ./coe.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int coe(); | ^ 2 warnings generated. substdio_copy.c:11:22: warning: passing arguments to 'substdio_feed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | n = substdio_feed(ssin); | ^ substdio_copy.c:15:21: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | if (substdio_put(ssout,x,n) == -1) return -3; | ^ substdio_copy.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int substdio_copy(ssout,ssin) | ^ In file included from substdio_copy.c:1: ./substdio.h:45:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | extern int substdio_copy(); | ^ 4 warnings generated. str_diffn.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int str_diffn(s,t,len) | ^ In file included from str_diffn.c:1: ./str.h:6:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern int str_diffn(); | ^ 2 warnings generated. ./compile str_cpy.c str_len.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int str_len(s) | ^ In file included from str_len.c:1: ./str.h:7:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern unsigned int str_len(); | ^ 2 warnings generated. ./compile str_chr.c error_str.c:6:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | char *error_str(i) | ^ In file included from error_str.c:2: ./error.h:20:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern char *error_str(); | ^ 2 warnings generated. ./compile str_rchr.c ./compile byte_chr.c ./compile byte_diff.c ./compile byte_copy.c byte_chr.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int byte_chr(s,n,c) | ^ In file included from byte_chr.c:1: ./byte.h:4:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern unsigned int byte_chr(); | ^ 2 warnings generated. subfdins.c:7:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | if (substdio_flush(subfdoutsmall) == -1) return -1; | ^ subfdins.c:8:14: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | return read(fd,buf,len); | ^ subfdins.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int subfd_readsmall(fd,buf,len) int fd; char *buf; int len; | ^ In file included from subfdins.c:3: ./subfd.h:13:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | extern int subfd_readsmall(); | ^ 4 warnings generated. ./compile byte_cr.c byte_copy.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void byte_copy(to,n,from) | ^ In file included from byte_copy.c:1: ./byte.h:6:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern void byte_copy(); | ^ 2 warnings generated. str_cpy.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int str_copy(s,t) | ^ In file included from str_cpy.c:1: ./str.h:4:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern unsigned int str_copy(); | ^ 2 warnings generated. str_diff.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int str_diff(s,t) | ^ In file included from str_diff.c:1: ./str.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern int str_diff(); | ^ 2 warnings generated. ./compile subgetopt.c ./compile sgetopt.c ./compile envread.c envread.c:11:17: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | slen = str_len(s); | ^ envread.c:12:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 12 | for (i = 0;envi = environ[i];++i) | ~~~~~^~~~~~~~~~~~ envread.c:12:19: note: place parentheses around the assignment to silence this warning 12 | for (i = 0;envi = environ[i];++i) | ^ | ( ) envread.c:12:19: note: use '==' to turn this assignment into an equality comparison 12 | for (i = 0;envi = environ[i];++i) | ^ | == envread.c:13:20: warning: passing arguments to 'str_diffn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | if ((!str_diffn(s,envi,slen)) && (envi[slen] == '=')) | ^ envread.c:4:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | extern /*@null@*/char *env_get(s) | ^ In file included from envread.c:1: ./env.h:10:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern /*@null@*/char *env_get(); | ^ envread.c:23:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | extern char *env_findeq(s) | ^ In file included from envread.c:1: ./env.h:13:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | extern char *env_findeq(); | ^ 7 warnings generated. ./compile strerr_sys.c sgetopt.c:41:16: warning: passing arguments to 'subgetopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | c = subgetopt(argc,argv,opts); | ^ sgetopt.c:45:20: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | substdio_puts(subfderr,optprogname); | ^ sgetopt.c:47:22: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | substdio_puts(subfderr,": illegal option -- "); | ^ sgetopt.c:49:22: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | substdio_puts(subfderr,": option requires an argument -- "); | ^ sgetopt.c:50:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | substdio_put(subfderr,chp,2); | ^ sgetopt.c:51:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | substdio_flush(subfderr); | ^ sgetopt.c:28:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | int getopt(argc,argv,opts) | ^ sgetopt.c:19:16: note: expanded from macro 'getopt' 19 | #define getopt sgetoptmine | ^ In file included from sgetopt.c:15: ./sgetopt.h:17:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern int sgetoptmine(); | ^ 8 warnings generated. rm -f tryvfork.o tryvfork byte_cr.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void byte_copyr(to,n,from) | ^ In file included from byte_cr.c:1: ./byte.h:7:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern void byte_copyr(); | ^ 2 warnings generated. ./compile strerr_die.c str_chr.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int str_chr(s,c) | ^ In file included from str_chr.c:1: ./str.h:8:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern unsigned int str_chr(); | ^ 2 warnings generated. strerr_die.c:12:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | if (x1) substdio_puts(subfderr,x1); | ^ strerr_die.c:13:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | if (x2) substdio_puts(subfderr,x2); | ^ strerr_die.c:14:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | if (x3) substdio_puts(subfderr,x3); | ^ strerr_die.c:15:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | if (x4) substdio_puts(subfderr,x4); | ^ strerr_die.c:16:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | if (x5) substdio_puts(subfderr,x5); | ^ strerr_die.c:17:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if (x6) substdio_puts(subfderr,x6); | ^ strerr_die.c:20:29: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | if (se->x) substdio_puts(subfderr,se->x); | ^ strerr_die.c:21:29: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | if (se->y) substdio_puts(subfderr,se->y); | ^ strerr_die.c:22:29: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | if (se->z) substdio_puts(subfderr,se->z); | ^ strerr_die.c:26:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | substdio_puts(subfderr,"\n"); | ^ strerr_die.c:27:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | substdio_flush(subfderr); | ^ strerr_die.c:6:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void strerr_warn(x1,x2,x3,x4,x5,x6,se) | ^ In file included from strerr_die.c:4: ./strerr.h:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern void strerr_warn(); | ^ strerr_die.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 strerr_die(e,x1,x2,x3,x4,x5,x6,se) | ^ In file included from strerr_die.c:4: ./strerr.h:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern void strerr_die(); | ^ 15 warnings generated. ./compile stralloc_eady.c subgetopt.c:28:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | int sgopt(argc,argv,opts) | ^ subgetopt.c:15:15: note: expanded from macro 'sgopt' 15 | #define sgopt subgetopt | ^ In file included from subgetopt.c:13: ./subgetopt.h:16:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern int subgetopt(); | ^ 2 warnings generated. ./compile stralloc_pend.c ./compile stralloc_copy.c str_rchr.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int str_rchr(s,c) | ^ In file included from str_rchr.c:1: ./str.h:9:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern unsigned int str_rchr(); | ^ 2 warnings generated. ./compile stralloc_opys.c ./compile stralloc_opyb.c stralloc_opys.c:9:37: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | return stralloc_copyb(sa,s,str_len(s)); | ^ stralloc_opys.c:9:24: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | return stralloc_copyb(sa,s,str_len(s)); | ^ stralloc_opys.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int stralloc_copys(sa,s) | ^ In file included from stralloc_opys.c:3: ./stralloc.h:12:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | extern int stralloc_copys(); | ^ 4 warnings generated. ./compile stralloc_cat.c stralloc_opyb.c:9:22: warning: passing arguments to 'stralloc_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | if (!stralloc_ready(sa,n + 1)) return 0; | ^ stralloc_opyb.c:10:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | byte_copy(sa->s,n,s); | ^ stralloc_opyb.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int stralloc_copyb(sa,s,n) | ^ In file included from stralloc_opyb.c:1: ./stralloc.h:14:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | extern int stralloc_copyb(); | ^ 4 warnings generated. rm -f tryulong32.o tryulong32 strerr_sys.c:9:27: warning: passing arguments to 'error_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | strerr_sys.x = error_str(errno); | ^ 1 warning generated. byte_diff.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int byte_diff(s,n,t) | ^ In file included from byte_diff.c:1: ./byte.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern int byte_diff(); | ^ 2 warnings generated. ./compile stralloc_cats.c ./compile stralloc_catb.c ./compile stralloc_arts.c ./compile alloc.c stralloc_eady.c:5:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_ready(stralloc,char,s,len,a,i,n,x,30,stralloc_ready) | ^ ./gen_allocdefs.h:11:19: note: expanded from macro 'GEN_ALLOC_ready' 11 | if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \ | ^ stralloc_eady.c:5:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gen_allocdefs.h:15:38: note: expanded from macro 'GEN_ALLOC_ready' 15 | return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); } | ^ stralloc_eady.c:5:48: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_ready(stralloc,char,s,len,a,i,n,x,30,stralloc_ready) | ^ In file included from stralloc_eady.c:2: ./stralloc.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern int stralloc_ready(); | ^ stralloc_eady.c:6:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | GEN_ALLOC_readyplus(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus) | ^ ./gen_allocdefs.h:24:19: note: expanded from macro 'GEN_ALLOC_readyplus' 24 | if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \ | ^ stralloc_eady.c:6:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gen_allocdefs.h:28:38: note: expanded from macro 'GEN_ALLOC_readyplus' 28 | return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); } | ^ stralloc_eady.c:6:52: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | GEN_ALLOC_readyplus(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus) | ^ In file included from stralloc_eady.c:2: ./stralloc.h:9:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern int stralloc_readyplus(); | ^ 8 warnings generated. ./compile alloc_re.c ./compile case_lowerb.c ./compile fmt_ulong.c ./compile scan_ulong.c ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \ 2>&1 \ && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h ./compile sig_pipe.c scan_ulong.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int scan_ulong(s,u) register char *s; register unsigned long *u; | ^ In file included from scan_ulong.c:1: ./scan.h:10:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern unsigned int scan_ulong(); | ^ 2 warnings generated. ( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null \ 2>&1 \ && echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h alloc.c:3:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 3 | extern char *malloc(); | ^ alloc.c:3:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' alloc.c:20:13: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | x = malloc(n); | ^ alloc.c:14:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | /*@null@*//*@out@*/char *alloc(n) | ^ In file included from alloc.c:1: ./alloc.h:4:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern /*@null@*//*@out@*/char *alloc(); | ^ alloc.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 alloc_free(x) | ^ In file included from alloc.c:1: ./alloc.h:5:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern void alloc_free(); | ^ 6 warnings generated. fmt_ulong.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int fmt_ulong(s,u) register char *s; register unsigned long u; | ^ In file included from fmt_ulong.c:1: ./fmt.h:14:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | extern unsigned int fmt_ulong(); | ^ 2 warnings generated. stralloc_cat.c:8:23: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | return stralloc_catb(sato,safrom->s,safrom->len); | ^ stralloc_cat.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int stralloc_cat(sato,safrom) | ^ In file included from stralloc_cat.c:2: ./stralloc.h:11:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | extern int stralloc_cat(); | ^ 3 warnings generated. stralloc_pend.c:5:1: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_append(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus,stralloc_append) | ^ ./gen_allocdefs.h:32:16: note: expanded from macro 'GEN_ALLOC_append' 32 | { if (!ta_rplus(x,1)) return 0; x->field[x->len++] = *i; return 1; } | ^ stralloc_pend.c:5:68: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_append(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus,stralloc_append) | ^ In file included from stralloc_pend.c:2: ./stralloc.h:16:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern int stralloc_append(); /* beware: this takes a pointer to 1 char */ | ^ 3 warnings generated. ./compile seek_set.c alloc_re.c:11:12: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | y = alloc(n); | ^ alloc_re.c:13:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | byte_copy(y,m,*x); | ^ alloc_re.c:14:13: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | alloc_free(*x); | ^ alloc_re.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int alloc_re(x,m,n) | ^ In file included from alloc_re.c:1: ./alloc.h:6:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern int alloc_re(); | ^ 5 warnings generated. sig_pipe.c:4:34: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | void sig_pipeignore() { sig_catch(SIGPIPE,SIG_IGN); } | ^ sig_pipe.c:5:35: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | void sig_pipedefault() { sig_catch(SIGPIPE,SIG_DFL); } | ^ 2 warnings generated. ./compile open_read.c stralloc_cats.c:9:36: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | return stralloc_catb(sa,s,str_len(s)); | ^ stralloc_cats.c:9:23: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | return stralloc_catb(sa,s,str_len(s)); | ^ stralloc_cats.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int stralloc_cats(sa,s) | ^ In file included from stralloc_cats.c:3: ./stralloc.h:13:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | extern int stralloc_cats(); | ^ 4 warnings generated. stralloc_catb.c:9:36: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | if (!sa->s) return stralloc_copyb(sa,s,n); | ^ stralloc_catb.c:10:26: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | if (!stralloc_readyplus(sa,n + 1)) return 0; | ^ stralloc_catb.c:11:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | byte_copy(sa->s + sa->len,n,s); | ^ stralloc_catb.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int stralloc_catb(sa,s,n) | ^ In file included from stralloc_catb.c:1: ./stralloc.h:15:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | extern int stralloc_catb(); | ^ 5 warnings generated. ./compile open_trunc.c stralloc_copy.c:8:24: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | return stralloc_copyb(sato,safrom->s,safrom->len); | ^ stralloc_copy.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int stralloc_copy(sato,safrom) | ^ In file included from stralloc_copy.c:2: ./stralloc.h:10:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern int stralloc_copy(); | ^ 3 warnings generated. ./compile fd_copy.c open_read.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int open_read(fn) char *fn; | ^ In file included from open_read.c:3: ./open.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int open_read(); | ^ 2 warnings generated. seek_set.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int seek_set(fd,pos) int fd; seek_pos pos; | ^ In file included from seek_set.c:2: ./seek.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern int seek_set(); | ^ 2 warnings generated. ./compile fd_move.c ./compile printforward.c ./compile setforward.c open_trunc.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int open_trunc(fn) char *fn; | ^ In file included from open_trunc.c:3: ./open.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern int open_trunc(); | ^ 2 warnings generated. ./compile cdbmss.c ./compile cdbmake_pack.c fd_move.c:8:14: warning: passing arguments to 'fd_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | if (fd_copy(to,from) == -1) return -1; | ^ fd_move.c:9:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | close(from); | ^ fd_move.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int fd_move(to,from) | ^ In file included from fd_move.c:1: ./fd.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern int fd_move(); | ^ 4 warnings generated. ./compile cdbmake_hash.c case_lowerb.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void case_lowerb(s,len) | ^ In file included from case_lowerb.c:1: ./case.h:5:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern void case_lowerb(); | ^ 2 warnings generated. fd_copy.c:10:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | close(to); | ^ fd_copy.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int fd_copy(to,from) | ^ In file included from fd_copy.c:2: ./fd.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int fd_copy(); | ^ 3 warnings generated. ./compile cdbmake_add.c ./compile newaliases.c ./compile token822.c stralloc_arts.c:10:16: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | len = str_len(s); | ^ stralloc_arts.c:11:30: warning: passing arguments to 'byte_diff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | return (sa->len >= len) && byte_equal(s,len,sa->s); | ^ ./byte.h:11:38: note: expanded from macro 'byte_equal' 11 | #define byte_equal(s,n,t) (!byte_diff((s),(n),(t))) | ^ stralloc_arts.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int stralloc_starts(sa,s) | ^ In file included from stralloc_arts.c:3: ./stralloc.h:17:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern int stralloc_starts(); | ^ 4 warnings generated. ./compile control.c ./compile getln.c ./compile getln2.c ./compile printmaillist.c getln.c:15:13: warning: passing arguments to 'getln2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | if (getln2(ss,sa,&cont,&clen,sep) == -1) return -1; | ^ getln.c:17:21: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if (!stralloc_catb(sa,cont,clen)) return -1; | ^ getln.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int getln(ss,sa,match,sep) | ^ In file included from getln.c:4: ./getln.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int getln(); | ^ 4 warnings generated. control.c:16:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | static void striptrailingwhitespace(sa) | ^ control.c:33:22: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | r = control_readline(&me,"control/me"); | ^ control.c:45:22: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | r = control_readline(sa,fn); | ^ control.c:47:44: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | if (flagme) if (meok) return stralloc_copy(sa,&me) ? 1 : -1; | ^ control.c:48:32: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (def) return stralloc_copys(sa,def) ? 1 : -1; | ^ control.c:38:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | int control_rldef(sa,fn,flagme,def) | ^ In file included from control.c:7: ./control.h:6:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern int control_rldef(); | ^ control.c:60:16: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | fd = open_read(fn); | ^ control.c:63:16: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | substdio_fdbuf(&ss,read,fd,inbuf,sizeof(inbuf)); | ^ control.c:65:11: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | if (getln(&ss,sa,&match,'\n') == -1) { close(fd); return -1; } | ^ control.c:65:41: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | if (getln(&ss,sa,&match,'\n') == -1) { close(fd); return -1; } | ^ control.c:68:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | close(fd); | ^ control.c:52:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | int control_readline(sa,fn) | ^ In file included from control.c:7: ./control.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern int control_readline(); | ^ control.c:82:7: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if (!stralloc_0(&line)) return -1; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ control.c:83:17: warning: passing arguments to 'scan_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if (!scan_ulong(line.s,&u)) return 0; | ^ control.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 control_readint(i,fn) | ^ In file included from control.c:7: ./control.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern int control_readint(); | ^ control.c:97:21: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | if (!stralloc_copys(sa,"")) return -1; | ^ control.c:99:16: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | fd = open_read(fn); | ^ control.c:106:26: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | if (!stralloc_copy(sa,&me)) return -1; | ^ control.c:107:13: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | if (!stralloc_0(sa)) return -1; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ control.c:115:16: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | substdio_fdbuf(&ss,read,fd,inbuf,sizeof(inbuf)); | ^ control.c:119:13: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | if (getln(&ss,&line,&match,'\n') == -1) break; | ^ control.c:120:31: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | if (!match && !line.len) { close(fd); return 1; } | ^ control.c:122:9: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | if (!stralloc_0(&line)) break; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ control.c:125:25: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | if (!stralloc_cat(sa,&line)) break; | ^ control.c:126:18: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | if (!match) { close(fd); return 1; } | ^ control.c:128:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | close(fd); | ^ control.c:88:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | int control_readfile(sa,fn,flagme) | ^ In file included from control.c:7: ./control.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern int control_readfile(); | ^ 31 warnings generated. token822.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 token822_reverse(ta) | ^ In file included from token822.c:4: ./token822.h:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern void token822_reverse(); | ^ token822.c:25:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | GEN_ALLOC_ready(token822_alloc,struct token822,t,len,a,i,n,x,30,token822_ready) | ^ ./gen_allocdefs.h:11:19: note: expanded from macro 'GEN_ALLOC_ready' 11 | if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \ | ^ token822.c:25:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gen_allocdefs.h:15:38: note: expanded from macro 'GEN_ALLOC_ready' 15 | return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); } | ^ token822.c:25:65: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | GEN_ALLOC_ready(token822_alloc,struct token822,t,len,a,i,n,x,30,token822_ready) | ^ In file included from token822.c:4: ./token822.h:21:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | extern int token822_ready(); | ^ token822.c:26:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | GEN_ALLOC_readyplus(token822_alloc,struct token822,t,len,a,i,n,x,30,token822_readyplus) | ^ ./gen_allocdefs.h:24:19: note: expanded from macro 'GEN_ALLOC_readyplus' 24 | if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \ | ^ token822.c:26:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gen_allocdefs.h:28:38: note: expanded from macro 'GEN_ALLOC_readyplus' 28 | return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); } | ^ token822.c:26:69: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | GEN_ALLOC_readyplus(token822_alloc,struct token822,t,len,a,i,n,x,30,token822_readyplus) | ^ In file included from token822.c:4: ./token822.h:22:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | extern int token822_readyplus(); | ^ token822.c:27:85: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | GEN_ALLOC_append(token822_alloc,struct token822,t,len,a,i,n,x,30,token822_readyplus,token822_append) | ^ In file included from token822.c:4: ./token822.h:23:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | extern int token822_append(); | ^ token822.c:29:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | static int needspace(t1,t2) | ^ token822.c:51:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | static int atomok(ch) | ^ token822.c:65:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | static void atomcheck(t) | ^ token822.c:127:21: warning: passing arguments to 'stralloc_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (!stralloc_ready(sa,len)) | ^ token822.c:81:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | int token822_unparse(sa,ta,linelen) | ^ In file included from token822.c:4: ./token822.h:18:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern int token822_unparse(); | ^ token822.c:208:21: warning: passing arguments to 'stralloc_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | if (!stralloc_ready(sa,len)) | ^ token822.c:182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | int token822_unquote(sa,ta) | ^ In file included from token822.c:4: ./token822.h:17:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern int token822_unquote(); | ^ token822.c:321:21: warning: passing arguments to 'stralloc_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | if (!stralloc_ready(buf,numchars)) | ^ token822.c:238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | int token822_parse(ta,sa,buf) | ^ In file included from token822.c:4: ./token822.h:15:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | extern int token822_parse(); | ^ token822.c:408:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | if (callback(taaddr) != 1) | ^ token822.c:401:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | static int gotaddr(taout,taaddr,callback) | ^ token822.c:421:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | int token822_addrlist(taout,taaddr,ta,callback) | ^ In file included from token822.c:4: ./token822.h:16:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern int token822_addrlist(); | ^ 28 warnings generated. ./compile setmaillist.c rm -f trysgact.o trysgact getln2.c:17:22: warning: passing arguments to 'stralloc_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if (!stralloc_ready(sa,0)) return -1; | ^ getln2.c:21:22: warning: passing arguments to 'substdio_feed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | n = substdio_feed(ss); | ^ getln2.c:25:17: warning: passing arguments to 'byte_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | i = byte_chr(x,n,sep); | ^ getln2.c:27:28: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if (!stralloc_readyplus(sa,n)) return -1; | ^ getln2.c:29:31: warning: passing arguments to 'substdio_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | sa->len = i + substdio_get(ss,sa->s + i,n); | ^ getln2.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int getln2(ss,sa,cont,clen,sep) | ^ In file included from getln2.c:4: ./getln.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern int getln2(); | ^ 7 warnings generated. ./compile newinclude.c cdbmake_pack.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void cdbmake_pack(buf,num) | ^ In file included from cdbmake_pack.c:1: ./cdbmake.h:26:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | extern void cdbmake_pack(); | ^ 2 warnings generated. ./compile fastforward.c cdbmake_hash.c:3:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | uint32 cdbmake_hashadd(h,c) | ^ In file included from cdbmake_hash.c:1: ./cdbmake.h:28:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | extern uint32 cdbmake_hashadd(); | ^ 2 warnings generated. ./compile strset.c setforward.c:14:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | strerr_die1x(100,"setforward: usage: setforward data.cdb data.tmp"); | ^ ./strerr.h:78:11: note: expanded from macro 'strerr_die1x' 78 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ setforward.c:18:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ setforward.c:22:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | strerr_die2x(100,FATAL,"final instruction must end with semicolon"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ setforward.c:26:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | strerr_die2x(100,FATAL,"double colons are not permitted"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ setforward.c:30:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | strerr_die2x(100,FATAL,"commas are not permitted before colons"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ setforward.c:34:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | strerr_die2x(100,FATAL,"NUL bytes are not permitted"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ setforward.c:38:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | strerr_die2x(100,FATAL,"addresses over 800 bytes are not permitted"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ setforward.c:57:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | strerr_die4sys(111,FATAL,"unable to write to ",fntmp,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ setforward.c:65:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | if (!stralloc_copys(&key,prepend)) nomem(); | ^ setforward.c:66:20: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | if (!stralloc_cat(&key,&target)) nomem(); | ^ setforward.c:67:14: warning: passing arguments to 'case_lowerb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | case_lowerb(key.s,key.len); | ^ setforward.c:68:7: warning: call to undeclared function 'cdbmss_add'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | if (cdbmss_add(&cdbmss,key.s,key.len,data,datalen) == -1) | ^ setforward.c:60:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | void doit(prepend,data,datalen) | ^ setforward.c:77:19: warning: passing arguments to 'substdio_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | r = substdio_get(subfdinsmall,ch,1); | ^ setforward.c:79:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ setforward.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 getch(ch) | ^ setforward.c:83:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 83 | void main(argc,argv) | ^ setforward.c:83:1: note: change return type to 'int' 83 | void main(argc,argv) | ^~~~ | int setforward.c:90:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | if (!stralloc_copys(&target,"")) nomem(); | ^ setforward.c:91:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | if (!stralloc_copys(&command,"")) nomem(); | ^ setforward.c:92:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | if (!stralloc_copys(&instr,"")) nomem(); | ^ setforward.c:97:18: warning: passing arguments to 'open_trunc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | fd = open_trunc(fntmp); | ^ setforward.c:99:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | strerr_die4sys(111,FATAL,"unable to create ",fntmp,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ setforward.c:101:7: warning: call to undeclared function 'cdbmss_start'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | if (cdbmss_start(&cdbmss,fd) == -1) writeerr(); | ^ setforward.c:128:28: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | if (!stralloc_cat(&instr,&command)) nomem(); | ^ setforward.c:129:16: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | if (!stralloc_0(&instr)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ setforward.c:132:28: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | if (!stralloc_cat(&instr,&command)) nomem(); | ^ setforward.c:133:16: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | if (!stralloc_0(&instr)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ setforward.c:138:31: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | if (!stralloc_cats(&instr,"&")) nomem(); | ^ setforward.c:139:28: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | if (!stralloc_cat(&instr,&command)) nomem(); | ^ setforward.c:140:16: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | if (!stralloc_0(&instr)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ setforward.c:144:26: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | if (!stralloc_copys(&command,"")) nomem(); | ^ setforward.c:150:28: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | if (!stralloc_copys(&target,"")) nomem(); | ^ setforward.c:151:28: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | if (!stralloc_copys(&instr,"")) nomem(); | ^ setforward.c:159:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | if (!stralloc_append(flagtarget ? &command : &target,&ch)) nomem(); | ^ setforward.c:166:7: warning: call to undeclared function 'cdbmss_finish'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | if (cdbmss_finish(&cdbmss) == -1) writeerr(); | ^ setforward.c:167:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | if (fsync(fd) == -1) writeerr(); | ^ setforward.c:168:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | if (close(fd) == -1) writeerr(); /* NFS stupidity */ | ^ setforward.c:170:7: warning: call to undeclared function 'rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | if (rename(fntmp,fncdb) == -1) | ^ setforward.c:171:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | strerr_die6sys(111,FATAL,"unable to move ",fntmp," to ",fncdb,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ setforward.c:173:3: 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] 173 | _exit(0); | ^ setforward.c:173:3: note: include the header or explicitly provide a declaration for '_exit' setforward.c:83:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | void main(argc,argv) | ^ 41 warnings generated. ./compile qmail.c rm -f trywaitp.o trywaitp ./makelib substdio.a substdio.o substdi.o substdo.o \ subfderr.o subfdouts.o subfdins.o substdio_copy.o ./makelib error.a error.o error_str.o ./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o \ str_chr.o str_rchr.o byte_chr.o byte_diff.o byte_copy.o \ byte_cr.o ./makelib getopt.a subgetopt.o sgetopt.o ./compile cdb_hash.c ./compile cdb_unpack.c qmail.c:18:7: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | if (pipe(pim) == -1) return -1; | ^ qmail.c:19:26: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | if (pipe(pie) == -1) { close(pim[0]); close(pim[1]); return -1; } | ^ qmail.c:23:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | close(pim[0]); close(pim[1]); | ^ qmail.c:29:18: warning: passing arguments to 'fd_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | if (fd_move(0,pim[0]) == -1) _exit(120); | ^ qmail.c:30:18: warning: passing arguments to 'fd_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (fd_move(1,pie[0]) == -1) _exit(120); | ^ qmail.c:31:11: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | if (chdir(auto_qmail) == -1) _exit(61); | ^ qmail.c:32:7: warning: call to undeclared function 'execv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | execv(*binqqargs,binqqargs); | ^ qmail.c:36:21: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | qq->fdm = pim[1]; close(pim[0]); | ^ qmail.c:38:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | substdio_fdbuf(&qq->ss,write,qq->fdm,qq->buf,sizeof(qq->buf)); | ^ qmail.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 qmail_open(qq) | ^ In file included from qmail.c:7: ./qmail.h:15:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | extern int qmail_open(); | ^ qmail.c:43:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | unsigned long qmail_qp(qq) struct qmail *qq; | ^ In file included from qmail.c:7: ./qmail.h:22:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | extern unsigned long qmail_qp(); | ^ qmail.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 qmail_fail(qq) struct qmail *qq; | ^ In file included from qmail.c:7: ./qmail.h:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern void qmail_fail(); | ^ qmail.c:55:37: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | if (!qq->flagerr) if (substdio_put(&qq->ss,s,len) == -1) qq->flagerr = 1; | ^ qmail.c:53:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | void qmail_put(qq,s,len) struct qmail *qq; char *s; int len; | ^ In file included from qmail.c:7: ./qmail.h:16:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern void qmail_put(); | ^ qmail.c:60:38: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | if (!qq->flagerr) if (substdio_puts(&qq->ss,s) == -1) qq->flagerr = 1; | ^ qmail.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 | void qmail_puts(qq,s) struct qmail *qq; char *s; | ^ In file included from qmail.c:7: ./qmail.h:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern void qmail_puts(); | ^ qmail.c:65:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | if (substdio_flush(&qq->ss) == -1) qq->flagerr = 1; | ^ qmail.c:66:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | close(qq->fdm); | ^ qmail.c:67:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | substdio_fdbuf(&qq->ss,write,qq->fde,qq->buf,sizeof(qq->buf)); | ^ qmail.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 qmail_from(qq,s) struct qmail *qq; char *s; | ^ In file included from qmail.c:7: ./qmail.h:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern void qmail_from(); | ^ qmail.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 qmail_to(qq,s) struct qmail *qq; char *s; | ^ In file included from qmail.c:7: ./qmail.h:19:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | extern void qmail_to(); | ^ qmail.c:87:39: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | if (!qq->flagerr) if (substdio_flush(&qq->ss) == -1) qq->flagerr = 1; | ^ qmail.c:88:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | close(qq->fde); | ^ qmail.c:90:15: warning: passing arguments to 'wait_pid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | if (wait_pid(&wstat,qq->pid) != qq->pid) | ^ qmail.c:80:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | char *qmail_close(qq) | ^ In file included from qmail.c:7: ./qmail.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | extern char *qmail_close(); | ^ 33 warnings generated. ./compile cdb_seek.c printforward.c:11:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | strerr_die2x(100,FATAL,"bad database format"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ printforward.c:15:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ printforward.c:22:19: warning: passing arguments to 'substdio_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | r = substdio_get(subfdinsmall,ch,1); | ^ printforward.c:24:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ printforward.c:18:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | void getch(ch) | ^ printforward.c:32:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | if (substdio_put(subfdoutsmall,ch,1) == -1) | ^ printforward.c:33:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | strerr_die2x(111,FATAL,"unable to write output: "); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ printforward.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 putch(ch) | ^ printforward.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 print(buf) | ^ printforward.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | void printsafe(buf,len) | ^ printforward.c:62:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 62 | void main() | ^ printforward.c:62:1: note: change return type to 'int' 62 | void main() | ^~~~ | int printforward.c:74:19: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | eod = cdb_unpack(buf); | ^ printforward.c:83:22: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | klen = cdb_unpack(buf); | ^ printforward.c:84:22: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | dlen = cdb_unpack(buf + 4); | ^ printforward.c:86:24: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if (!stralloc_copys(&key,"")) nomem(); | ^ printforward.c:92:27: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | if (!stralloc_append(&key,&ch)) nomem(); | ^ printforward.c:97:24: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | if (!stralloc_copys(&data,"")) nomem(); | ^ printforward.c:101:27: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | if (!stralloc_append(&data,&ch)) nomem(); | ^ printforward.c:142:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | if (substdio_flush(subfdoutsmall) == -1) | ^ printforward.c:143:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | strerr_die2sys(111,FATAL,"unable to write output: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ printforward.c:144:3: 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] 144 | _exit(0); | ^ printforward.c:144:3: note: include the header or explicitly provide a declaration for '_exit' 21 warnings generated. ./makelib env.a envread.o cdbmss.c:10:15: warning: passing arguments to 'cdbmake_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | cdbmake_init(&c->cdbm); | ^ cdbmss.c:13:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | substdio_fdbuf(&c->ss,write,fd,c->ssbuf,sizeof(c->ssbuf)); | ^ cdbmss.c:14:18: warning: passing arguments to 'seek_set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | return seek_set(fd,(seek_pos) c->pos); | ^ cdbmss.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int cdbmss_start(c,fd) | ^ cdbmss.c:27:15: warning: passing arguments to 'cdbmake_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | cdbmake_pack(c->packbuf,(uint32) keylen); | ^ cdbmss.c:28:15: warning: passing arguments to 'cdbmake_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | cdbmake_pack(c->packbuf + 4,(uint32) datalen); | ^ cdbmss.c:29:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | if (substdio_put(&c->ss,c->packbuf,8) == -1) return -1; | ^ cdbmss.c:30:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (substdio_put(&c->ss,key,keylen) == -1) return -1; | ^ cdbmss.c:31:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | if (substdio_put(&c->ss,data,datalen) == -1) return -1; | ^ cdbmss.c:35:24: warning: passing arguments to 'cdbmake_hashadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | h = cdbmake_hashadd(h,(unsigned int) key[i]); | ^ cdbmss.c:37:19: warning: passing arguments to 'cdbmake_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | if (!cdbmake_add(&c->cdbm,h,c->pos,alloc)) return -1; | ^ cdbmss.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 cdbmss_add(c,key,keylen,data,datalen) | ^ cdbmss.c:50:21: warning: passing arguments to 'cdbmake_split' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | if (!cdbmake_split(&c->cdbm,alloc)) return -1; | ^ cdbmss.c:53:24: warning: passing arguments to 'cdbmake_throw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | len = cdbmake_throw(&c->cdbm,c->pos,i); | ^ cdbmss.c:55:19: warning: passing arguments to 'cdbmake_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | cdbmake_pack(c->packbuf,c->cdbm.hash[u].h); | ^ cdbmss.c:56:19: warning: passing arguments to 'cdbmake_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | cdbmake_pack(c->packbuf + 4,c->cdbm.hash[u].p); | ^ cdbmss.c:57:23: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | if (substdio_put(&c->ss,c->packbuf,8) == -1) return -1; | ^ cdbmss.c:62:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | if (substdio_flush(&c->ss) == -1) return -1; | ^ cdbmss.c:63:7: warning: passing arguments to 'seek_set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if (seek_begin(c->fd) == -1) return -1; | ^ ./seek.h:13:33: note: expanded from macro 'seek_begin' 13 | #define seek_begin(fd) (seek_set((fd),(seek_pos) 0)) | ^ cdbmss.c:64:27: warning: passing arguments to 'substdio_putflush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | return substdio_putflush(&c->ss,c->cdbm.final,sizeof(c->cdbm.final)); | ^ cdbmss.c:43:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | int cdbmss_finish(c) | ^ 21 warnings generated. ./makelib strerr.a strerr_sys.o strerr_die.o newaliases.c:17:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newaliases.c:21:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | strerr_die2x(100,FATAL,"NUL bytes are not permitted"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newaliases.c:25:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | strerr_die2x(100,FATAL,"addresses over 800 bytes are not permitted"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newaliases.c:29:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | strerr_die2sys(111,FATAL,"unable to write to /etc/aliases.tmp: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ newaliases.c:33:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | strerr_die2sys(111,FATAL,"unable to read /etc/aliases: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ newaliases.c:37:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | strerr_die2sys(111,FATAL,"unable to read controls: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ newaliases.c:50:20: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | fddir = open_read("."); | ^ newaliases.c:52:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | strerr_die2sys(111,FATAL,"unable to open current directory: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ newaliases.c:54:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | if (chdir(auto_qmail) == -1) | ^ newaliases.c:55:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | strerr_die4sys(111,FATAL,"unable to chdir to ",auto_qmail,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ newaliases.c:57:23: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | r = control_readline(&me,"control/me"); | ^ newaliases.c:59:30: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | if (!r) if (!stralloc_copys(&me,"me")) nomem(); | ^ newaliases.c:61:23: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | r = control_readline(&defaultdomain,"control/defaultdomain"); | ^ newaliases.c:63:29: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if (!r) if (!stralloc_copy(&defaultdomain,&me)) nomem(); | ^ newaliases.c:65:23: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | r = control_readline(&defaulthost,"control/defaulthost"); | ^ newaliases.c:67:29: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | if (!r) if (!stralloc_copy(&defaulthost,&me)) nomem(); | ^ newaliases.c:69:23: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | r = control_readline(&plusdomain,"control/plusdomain"); | ^ newaliases.c:71:29: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if (!r) if (!stralloc_copy(&plusdomain,&me)) nomem(); | ^ newaliases.c:73:7: warning: call to undeclared function 'fchdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | if (fchdir(fddir) == -1) | ^ newaliases.c:74:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | strerr_die2sys(111,FATAL,"unable to set current directory: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ newaliases.c:88:19: warning: passing arguments to 'token822_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | token822_reverse(&tokaddr); | ^ newaliases.c:89:23: warning: passing arguments to 'token822_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | if (token822_unquote(&address,&tokaddr) != 1) nomem(); | ^ newaliases.c:93:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | strerr_die2x(111,FATAL,"empty :include: filenames not permitted"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newaliases.c:94:7: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | if (byte_chr(address.s,address.len,'\0') < address.len) | ^ newaliases.c:95:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | strerr_die2x(111,FATAL,"NUL not permitted in :include: filenames"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newaliases.c:98:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | if (!stralloc_cats(&instr,"./")) nomem(); | ^ newaliases.c:99:20: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | if (!stralloc_cat(&instr,&address)) nomem(); | ^ newaliases.c:100:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | if (!stralloc_cats(&instr,".bin")) nomem(); | ^ newaliases.c:101:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | if (!stralloc_0(&instr)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ newaliases.c:110:19: warning: passing arguments to 'token822_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | token822_reverse(&tokaddr); | ^ newaliases.c:111:23: warning: passing arguments to 'token822_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | if (token822_unquote(&address,&tokaddr) != 1) nomem(); | ^ newaliases.c:114:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | strerr_die2x(111,FATAL,"empty recipient addresses not permitted"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newaliases.c:127:12: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (!stralloc_0(&address)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ newaliases.c:128:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | strerr_die4x(111,FATAL,"file delivery ",address.s," not supported"); | ^ ./strerr.h:72:11: note: expanded from macro 'strerr_die4x' 72 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newaliases.c:132:11: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | if (byte_chr(address.s,address.len,'\0') < address.len) | ^ newaliases.c:133:9: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | strerr_die2x(111,FATAL,"NUL not permitted in program names"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newaliases.c:134:25: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | if (!stralloc_cats(&instr,"!")) nomem(); | ^ newaliases.c:135:25: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | if (!stralloc_catb(&instr,address.s + 1,address.len - 1)) nomem(); | ^ newaliases.c:136:12: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | if (!stralloc_0(&instr)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ newaliases.c:142:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | if (!stralloc_cats(&instr,"&")) nomem(); | ^ newaliases.c:143:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | if (!stralloc_cat(&instr,&fulltarget)) nomem(); | ^ newaliases.c:144:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | if (!stralloc_0(&instr)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ newaliases.c:148:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | if (!stralloc_cats(&address,"@")) nomem(); | ^ newaliases.c:150:21: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | if (!stralloc_copy(&target,&address)) nomem(); | ^ newaliases.c:151:21: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | if (!stralloc_copy(&fulltarget,&address)) nomem(); | ^ newaliases.c:154:23: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | if (!stralloc_cat(&fulltarget,&defaulthost)) nomem(); | ^ newaliases.c:157:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | if (!stralloc_cat(&fulltarget,&plusdomain)) nomem(); | ^ newaliases.c:164:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | if (!stralloc_cats(&fulltarget,".")) nomem(); | ^ newaliases.c:165:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | if (!stralloc_cat(&fulltarget,&defaultdomain)) nomem(); | ^ newaliases.c:169:7: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | if (byte_chr(fulltarget.s,fulltarget.len,'\0') < fulltarget.len) | ^ newaliases.c:170:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | strerr_die2x(111,FATAL,"NUL not permitted in recipient addresses"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newaliases.c:179:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | if (!stralloc_0(&line)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ newaliases.c:180:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | strerr_die3x(111,FATAL,"unable to parse this line: ",line.s); | ^ ./strerr.h:74:11: note: expanded from macro 'strerr_die3x' 74 | strerr_die((e),(x1),(x2),(x3),(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newaliases.c:189:24: warning: passing arguments to 'token822_parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | switch(token822_parse(&toks,&line,&cbuf)) { | ^ newaliases.c:198:26: warning: passing arguments to 'token822_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | if (!token822_readyplus(&tokaddr,1)) nomem(); | ^ newaliases.c:210:22: warning: call to undeclared function 'byte_diff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | if (!byte_diff(t[-1].s,7,"include")) { | ^ newaliases.c:218:31: warning: passing arguments to 'token822_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | if (!token822_append(&tokaddr,--t)) nomem(); | ^ newaliases.c:229:29: warning: passing arguments to 'token822_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (!token822_append(&tokaddr,t)) nomem(); | ^ newaliases.c:240:29: warning: passing arguments to 'token822_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | if (!token822_append(&tokaddr,t)) nomem(); | ^ newaliases.c:260:22: warning: passing arguments to 'stralloc_starts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | if (stralloc_starts(&target,"owner-")) { | ^ newaliases.c:261:24: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | if (!stralloc_copys(&key,"?")) nomem(); | ^ newaliases.c:262:23: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | if (!stralloc_catb(&key,target.s + 6,target.len - 6)) nomem(); | ^ newaliases.c:263:16: warning: passing arguments to 'case_lowerb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | case_lowerb(key.s,key.len); | ^ newaliases.c:264:9: warning: call to undeclared function 'cdbmss_add'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | if (cdbmss_add(&cdbmss,key.s,key.len,fulltarget.s,fulltarget.len) == -1) writeerr(); | ^ newaliases.c:267:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | if (!stralloc_copys(&key,":")) nomem(); | ^ newaliases.c:268:20: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | if (!stralloc_cat(&key,&target)) nomem(); | ^ newaliases.c:269:14: warning: passing arguments to 'case_lowerb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | case_lowerb(key.s,key.len); | ^ newaliases.c:270:7: warning: call to undeclared function 'cdbmss_add'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | if (cdbmss_add(&cdbmss,key.s,key.len,instr.s,instr.len) == -1) writeerr(); | ^ newaliases.c:273:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 273 | void main() | ^ newaliases.c:273:1: note: change return type to 'int' 273 | void main() | ^~~~ | int newaliases.c:277:3: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | umask(033); | ^ newaliases.c:280:17: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | fd = open_read("/etc/aliases"); | ^ newaliases.c:282:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof inbuf); | ^ newaliases.c:284:18: warning: passing arguments to 'open_trunc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | fd = open_trunc("/etc/aliases.tmp"); | ^ newaliases.c:285:17: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | if (fd == -1) strerr_die2sys(111,FATAL,"unable to create /etc/aliases.tmp: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ newaliases.c:286:7: warning: call to undeclared function 'cdbmss_start'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | if (cdbmss_start(&cdbmss,fd) == -1) writeerr(); | ^ newaliases.c:288:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | if (!stralloc_copys(&line,"")) nomem(); | ^ newaliases.c:291:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | if (getln(&ssin,&newline,&match,'\n') != 0) readerr(); | ^ newaliases.c:296:24: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | if (!stralloc_cat(&line,&newline)) nomem(); | ^ newaliases.c:302:28: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | if (!stralloc_copys(&target,"")) nomem(); | ^ newaliases.c:303:28: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | if (!stralloc_copys(&fulltarget,"")) nomem(); | ^ newaliases.c:304:28: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | if (!stralloc_copys(&instr,"")) nomem(); | ^ newaliases.c:310:23: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | if (!stralloc_copy(&line,&newline)) nomem(); | ^ newaliases.c:313:7: warning: call to undeclared function 'cdbmss_finish'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 313 | if (cdbmss_finish(&cdbmss) == -1) writeerr(); | ^ newaliases.c:314:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | if (fsync(fd) == -1) writeerr(); | ^ newaliases.c:315:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | if (close(fd) == -1) writeerr(); /* NFS stupidity */ | ^ newaliases.c:317:7: warning: call to undeclared function 'rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | if (rename("/etc/aliases.tmp","/etc/aliases.cdb") == -1) | ^ newaliases.c:318:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | strerr_die2sys(111,FATAL,"unable to move /etc/aliases.tmp to /etc/aliases.cdb: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ newaliases.c:320:3: 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] 320 | _exit(0); | ^ newaliases.c:320:3: note: include the header or explicitly provide a declaration for '_exit' 88 warnings generated. setmaillist.c:13:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | strerr_die1x(100,"setmaillist: usage: setmaillist list.bin list.tmp"); | ^ ./strerr.h:78:11: note: expanded from macro 'strerr_die1x' 78 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ setmaillist.c:27:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | strerr_die4sys(111,FATAL,"unable to write to ",fntmp,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ setmaillist.c:34:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | if (substdio_put(&ss,s,len) == -1) writeerr(); | ^ setmaillist.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 out(s,len) | ^ setmaillist.c:37:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 37 | void main(argc,argv) | ^ setmaillist.c:37:1: note: change return type to 'int' 37 | void main(argc,argv) | ^~~~ | int setmaillist.c:41:3: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | umask(033); | ^ setmaillist.c:46:18: warning: passing arguments to 'open_trunc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | fd = open_trunc(fntmp); | ^ setmaillist.c:48:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | strerr_die4sys(111,FATAL,"unable to create ",fntmp,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ setmaillist.c:50:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | substdio_fdbuf(&ss,write,fd,buf,sizeof buf); | ^ setmaillist.c:53:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if (getln(subfdinsmall,&line,&match,'\n') == -1) | ^ setmaillist.c:54:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ setmaillist.c:64:9: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | if (byte_chr(line.s,line.len,'\0') != line.len) | ^ setmaillist.c:65:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | strerr_die2x(111,FATAL,"NUL in input"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ setmaillist.c:75:13: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | strerr_die2x(111,FATAL,"addresses must be under 800 bytes"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ setmaillist.c:86:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if (substdio_flush(&ss) == -1) writeerr(); | ^ setmaillist.c:87:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | if (fsync(fd) == -1) writeerr(); | ^ setmaillist.c:88:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | if (close(fd) == -1) writeerr(); /* NFS stupidity */ | ^ setmaillist.c:90:7: warning: call to undeclared function 'rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | if (rename(fntmp,fnbin) == -1) | ^ setmaillist.c:91:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | strerr_die6sys(111,FATAL,"unable to move ",fntmp," to ",fnbin,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ setmaillist.c:93:3: 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] 93 | _exit(0); | ^ setmaillist.c:93:3: note: include the header or explicitly provide a declaration for '_exit' setmaillist.c:37:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | void main(argc,argv) | ^ 21 warnings generated. cdbmake_add.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void cdbmake_init(cdbm) | ^ In file included from cdbmake_add.c:1: ./cdbmake.h:30:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | extern void cdbmake_init(); | ^ cdbmake_add.c:22:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | head = (struct cdbmake_hplist *) alloc(sizeof(struct cdbmake_hplist)); | ^ cdbmake_add.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 cdbmake_add(cdbm,h,p,alloc) | ^ In file included from cdbmake_add.c:1: ./cdbmake.h:31:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | extern int cdbmake_add(); | ^ cdbmake_add.c:65:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | cdbm->split = (struct cdbmake_hp *) alloc(memsize * sizeof(struct cdbmake_hp)); | ^ cdbmake_add.c:35:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | int cdbmake_split(cdbm,alloc) | ^ In file included from cdbmake_add.c:1: ./cdbmake.h:32:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | extern int cdbmake_split(); | ^ cdbmake_add.c:99:15: warning: passing arguments to 'cdbmake_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | cdbmake_pack(cdbm->final + 8 * b,pos); | ^ cdbmake_add.c:100:15: warning: passing arguments to 'cdbmake_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | cdbmake_pack(cdbm->final + 8 * b + 4,len); | ^ cdbmake_add.c:85:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | uint32 cdbmake_throw(cdbm,pos,b) | ^ In file included from cdbmake_add.c:1: ./cdbmake.h:33:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | extern uint32 cdbmake_throw(); | ^ 12 warnings generated. ./makelib stralloc.a stralloc_eady.o stralloc_pend.o \ stralloc_copy.o stralloc_opys.o stralloc_opyb.o \ stralloc_cat.o stralloc_cats.o stralloc_catb.o \ stralloc_arts.o ./makelib alloc.a alloc.o alloc_re.o ./makelib case.a case_lowerb.o strset.c:11:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11 | while (ch = *s) | ~~~^~~~ strset.c:11:12: note: place parentheses around the assignment to silence this warning 11 | while (ch = *s) | ^ | ( ) strset.c:11:12: note: use '==' to turn this assignment into an equality comparison 11 | while (ch = *s) | ^ | == strset.c:5:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | uint32 strset_hash(s) | ^ In file included from strset.c:1: ./strset.h:24:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | extern uint32 strset_hash(); | ^ strset.c:27:23: warning: call to undeclared function 'alloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | set->first = (int *) alloc(sizeof(int) * (set->mask + 1)); | ^ strset.c:27:15: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] 27 | set->first = (int *) alloc(sizeof(int) * (set->mask + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ strset.c:29:11: warning: cast to 'strset_list *' (aka 'struct strset_list *') from smaller integer type 'int' [-Wint-to-pointer-cast] 29 | set->p = (strset_list *) alloc(sizeof(strset_list) * set->a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ strset.c:30:17: warning: call to undeclared function 'alloc_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | if (!set->p) { alloc_free(set->first); return 0; } | ^ strset.c:31:11: warning: cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast] 31 | set->x = (char **) alloc(sizeof(char *) * set->a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ strset.c:32:17: warning: call to undeclared function 'alloc_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | if (!set->x) { alloc_free(set->p); alloc_free(set->first); return 0; } | ^ strset.c:19:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | int strset_init(set) | ^ In file included from strset.c:1: ./strset.h:25:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | extern int strset_init(); | ^ strset.c:56:19: warning: passing arguments to 'str_diff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if (!str_diff(xi,s)) return xi; | ^ strset.c:39:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | char *strset_in(set,s) | ^ In file included from strset.c:1: ./strset.h:26:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | extern char *strset_in(); | ^ strset.c:80:27: warning: call to undeclared function 'alloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | newp = (strset_list *) alloc(sizeof(strset_list) * newa); | ^ strset.c:80:11: warning: cast to 'strset_list *' (aka 'struct strset_list *') from smaller integer type 'int' [-Wint-to-pointer-cast] 80 | newp = (strset_list *) alloc(sizeof(strset_list) * newa); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ strset.c:82:11: warning: cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast] 82 | newx = (char **) alloc(sizeof(char *) * newa); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ strset.c:83:17: warning: call to undeclared function 'alloc_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | if (!newx) { alloc_free(newp); return 0; } | ^ strset.c:85:13: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | byte_copy(newp,sizeof(strset_list) * n,set->p); | ^ strset.c:86:13: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | byte_copy(newx,sizeof(char *) * n,set->x); | ^ strset.c:87:4: warning: call to undeclared function 'alloc_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | alloc_free(set->p); | ^ strset.c:101:17: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] 101 | newfirst = (int *) alloc(sizeof(int) * (newmask + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ strset.c:63:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | int strset_add(set,s) | ^ In file included from strset.c:1: ./strset.h:27:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | extern int strset_add(); | ^ 24 warnings generated. ./makelib fs.a fmt_ulong.o scan_ulong.o printmaillist.c:11:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | strerr_die2x(100,FATAL,"bad mailing list format"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ printmaillist.c:17:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 17 | void main() | ^ printmaillist.c:17:1: note: change return type to 'int' 17 | void main() | ^~~~ | int printmaillist.c:20:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | if (getln(subfdinsmall,&line,&match,'\0') == -1) | ^ printmaillist.c:21:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ printmaillist.c:25:25: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | if (substdio_flush(subfdoutsmall) == -1) | ^ printmaillist.c:26:9: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | strerr_die2sys(111,FATAL,"unable to write output: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ printmaillist.c:27:7: 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] 27 | _exit(0); | ^ printmaillist.c:27:7: note: include the header or explicitly provide a declaration for '_exit' printmaillist.c:30:16: warning: call to undeclared function 'str_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | if (line.s[str_chr(line.s,'\n')]) badformat(); | ^ printmaillist.c:35:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | if (substdio_puts(subfdoutsmall,line.s) == -1) | ^ printmaillist.c:36:9: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | strerr_die2sys(111,FATAL,"unable to write output: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ printmaillist.c:37:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | if (substdio_puts(subfdoutsmall,"\n") == -1) | ^ printmaillist.c:38:9: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | strerr_die2sys(111,FATAL,"unable to write output: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ printmaillist.c:43:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | if (substdio_puts(subfdoutsmall,line.s) == -1) | ^ printmaillist.c:44:9: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | strerr_die2sys(111,FATAL,"unable to write output: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ printmaillist.c:45:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | if (substdio_puts(subfdoutsmall,"\n") == -1) | ^ printmaillist.c:46:9: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | strerr_die2sys(111,FATAL,"unable to write output: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ 16 warnings generated. fastforward.c:26:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | strerr_die1x(100,"fastforward: usage: fastforward [ -nNpP ] data.cdb"); | ^ ./strerr.h:78:11: note: expanded from macro 'strerr_die1x' 78 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ fastforward.c:30:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ fastforward.c:37:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 37 | while (ch = *s++) { | ~~~^~~~~~ fastforward.c:37:13: note: place parentheses around the assignment to silence this warning 37 | while (ch = *s++) { | ^ | ( ) fastforward.c:37:13: note: use '==' to turn this assignment into an equality comparison 37 | while (ch = *s++) { | ^ | == fastforward.c:38:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | substdio_put(subfderr,&ch,1); | ^ fastforward.c:33:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | void print(s) | ^ fastforward.c:46:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 46 | while (ch = *s++) { | ~~~^~~~~~ fastforward.c:46:13: note: place parentheses around the assignment to silence this warning 46 | while (ch = *s++) { | ^ | ( ) fastforward.c:46:13: note: use '==' to turn this assignment into an equality comparison 46 | while (ch = *s++) { | ^ | == fastforward.c:48:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | substdio_put(subfderr,&ch,1); | ^ fastforward.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 printsafe(s) | ^ fastforward.c:58:12: warning: passing arguments to 'qmail_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | qmail_put(&qq,buf,len); | ^ fastforward.c:56:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | int qqwrite(fd,buf,len) int fd; char *buf; int len; | ^ fastforward.c:88:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | if (!stralloc_copys(&mailinglist,"")) nomem(); | ^ fastforward.c:90:8: warning: call to undeclared function 'open_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | fd = open_read(fn); | ^ fastforward.c:92:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | strerr_die4sys(111,FATAL,"unable to read ",fn,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ fastforward.c:94:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | strerr_die4sys(111,FATAL,"unable to stat ",fn,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ fastforward.c:96:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | strerr_die3x(111,FATAL,fn," is not world-readable"); | ^ ./strerr.h:74:11: note: expanded from macro 'strerr_die3x' 74 | strerr_die((e),(x1),(x2),(x3),(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ fastforward.c:97:7: warning: call to undeclared function 'slurpclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | if (slurpclose(fd,&mailinglist,1024) == -1) | ^ fastforward.c:98:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | strerr_die4sys(111,FATAL,"unable to read ",fn,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ fastforward.c:104:27: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | if (!stralloc_cats(&todo,mailinglist.s + i)) nomem(); | ^ fastforward.c:105:14: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | if (!stralloc_0(&todo)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ fastforward.c:108:27: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | if (!stralloc_cats(&todo,mailinglist.s + i)) nomem(); | ^ fastforward.c:109:14: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | if (!stralloc_0(&todo)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ fastforward.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 dofile(fn) | ^ fastforward.c:123:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | strerr_die4sys(111,FATAL,"unable to read ",fncdb,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ fastforward.c:134:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | if (!stralloc_copys(&key,prepend)) nomem(); | ^ fastforward.c:135:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | if (!stralloc_cats(&key,addr)) nomem(); | ^ fastforward.c:136:14: warning: passing arguments to 'case_lowerb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | case_lowerb(key.s,key.len); | ^ fastforward.c:138:7: warning: call to undeclared function 'cdb_seek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | r = cdb_seek(fdcdb,key.s,key.len,&dlen); | ^ fastforward.c:143:8: warning: call to undeclared function 'str_rchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | at = str_rchr(addr,'@'); | ^ fastforward.c:146:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | if (!stralloc_copys(&key,prepend)) nomem(); | ^ fastforward.c:147:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | if (!stralloc_cats(&key,addr + at)) nomem(); | ^ fastforward.c:148:14: warning: passing arguments to 'case_lowerb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | case_lowerb(key.s,key.len); | ^ fastforward.c:154:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | if (!stralloc_copys(&key,prepend)) nomem(); | ^ fastforward.c:155:21: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | if (!stralloc_catb(&key,addr,at + 1)) nomem(); | ^ fastforward.c:156:14: warning: passing arguments to 'case_lowerb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | case_lowerb(key.s,key.len); | ^ fastforward.c:126:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | int findtarget(flagwild,prepend,addr) | ^ fastforward.c:172:22: warning: passing arguments to 'stralloc_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | if (!stralloc_ready(&data,(unsigned int) dlen)) nomem(); | ^ fastforward.c:174:7: warning: call to undeclared function 'cdb_bread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | if (cdb_bread(fdcdb,data.s,data.len) == -1) cdbreaderror(); | ^ fastforward.c:165:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | int gettarget(flagwild,prepend,addr) | ^ fastforward.c:190:19: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | substdio_flush(subfderr); | ^ fastforward.c:210:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | strerr_die2sys(111,FATAL,"unable to fork: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ fastforward.c:213:7: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | execvp(*args,args); | ^ fastforward.c:214:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | strerr_die4sys(111,FATAL,"unable to run ",arg,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ fastforward.c:217:11: warning: passing arguments to 'wait_pid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | wait_pid(&wstat,child); | ^ fastforward.c:219:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | strerr_die4sys(111,FATAL,"child crashed in ",arg,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ fastforward.c:228:7: warning: passing arguments to 'seek_set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | if (seek_begin(0) == -1) | ^ ./seek.h:13:33: note: expanded from macro 'seek_begin' 13 | #define seek_begin(fd) (seek_set((fd),(seek_pos) 0)) | ^ fastforward.c:229:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | strerr_die2sys(111,FATAL,"unable to rewind input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ fastforward.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 doprogram(arg) | ^ fastforward.c:242:27: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | if (!stralloc_cats(&todo,data.s + i)) nomem(); | ^ fastforward.c:243:14: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | if (!stralloc_0(&todo)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ fastforward.c:246:27: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | if (!stralloc_cats(&todo,data.s + i)) nomem(); | ^ fastforward.c:247:14: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | if (!stralloc_0(&todo)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ fastforward.c:262:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | if (!stralloc_cats(&forward,addr)) nomem(); | ^ fastforward.c:263:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | if (!stralloc_0(&forward)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ fastforward.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 dorecip(addr) | ^ fastforward.c:270:30: warning: call to undeclared function 'byte_diff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | if ((sender.len != 4) || byte_diff(sender.s,4,"#@[]")) | ^ fastforward.c:272:27: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | if (!stralloc_copy(&sender,&data)) nomem(); | ^ fastforward.c:277:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | strerr_die1x(100,"Sorry, no mailbox here by that name. (#5.1.1)"); | ^ ./strerr.h:78:11: note: expanded from macro 'strerr_die1x' 78 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ fastforward.c:276:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 276 | else | ^ fastforward.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 doorigrecip(addr) | ^ fastforward.c:284:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 284 | void main(argc,argv) | ^ fastforward.c:284:1: note: change return type to 'int' 284 | void main(argc,argv) | ^~~~ | int fastforward.c:294:19: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | dtline = env_get("DTLINE"); | ^ fastforward.c:297:14: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | x = env_get("SENDER"); | ^ fastforward.c:299:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | if (!stralloc_copys(&sender,x)) nomem(); | ^ fastforward.c:301:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | if (!stralloc_copys(&forward,"")) nomem(); | ^ fastforward.c:302:19: warning: passing arguments to 'strset_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | if (!strset_init(&done)) nomem(); | ^ fastforward.c:304:23: warning: passing arguments to 'sgetoptmine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | while ((opt = getopt(argc,argv,"nNpPdD")) != opteof) | ^ fastforward.c:318:11: warning: call to undeclared function 'open_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | fdcdb = open_read(fncdb); | ^ fastforward.c:320:6: warning: passing arguments to 'coe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | coe(fdcdb); | ^ fastforward.c:323:16: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | x = env_get("DEFAULT"); | ^ fastforward.c:324:24: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | if (!x) x = env_get("EXT"); | ^ fastforward.c:325:13: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | if (!x) strerr_die2x(100,FATAL,"$DEFAULT or $EXT must be set"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ fastforward.c:326:24: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | if (!stralloc_copys(&recipient,x)) nomem(); | ^ fastforward.c:327:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | if (!stralloc_cats(&recipient,"@")) nomem(); | ^ fastforward.c:328:16: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | x = env_get("HOST"); | ^ fastforward.c:329:13: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | if (!x) strerr_die2x(100,FATAL,"$HOST must be set"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ fastforward.c:330:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | if (!stralloc_cats(&recipient,x)) nomem(); | ^ fastforward.c:331:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | if (!stralloc_0(&recipient)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ fastforward.c:335:16: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | x = env_get("RECIPIENT"); | ^ fastforward.c:336:13: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | if (!x) strerr_die2x(100,FATAL,"$RECIPIENT must be set"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ fastforward.c:338:18: warning: passing arguments to 'strset_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | if (!strset_add(&done,x)) nomem(); | ^ fastforward.c:346:18: warning: passing arguments to 'strset_in' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | if (strset_in(&done,todo.s + i)) continue; | ^ fastforward.c:348:15: warning: call to undeclared function 'str_len'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 348 | x = alloc(str_len(todo.s + i) + 1); | ^ fastforward.c:348:14: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | x = alloc(str_len(todo.s + i) + 1); | ^ fastforward.c:350:5: warning: call to undeclared function 'str_copy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | str_copy(x,todo.s + i); | ^ fastforward.c:351:20: warning: passing arguments to 'strset_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | if (!strset_add(&done,x)) nomem(); | ^ fastforward.c:365:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | substdio_flush(subfderr); | ^ fastforward.c:370:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | if (!stralloc_0(&sender)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ fastforward.c:384:19: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | substdio_flush(subfderr); | ^ fastforward.c:388:17: warning: passing arguments to 'qmail_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | if (qmail_open(&qq) == -1) | ^ fastforward.c:389:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | strerr_die2sys(111,FATAL,"unable to fork: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ fastforward.c:390:13: warning: passing arguments to 'qmail_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | qmail_puts(&qq,dtline); | ^ fastforward.c:391:20: warning: passing arguments to 'substdio_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | if (substdio_copy(&ssqq,&ssmess) != 0) | ^ fastforward.c:392:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | strerr_die2sys(111,FATAL,"unable to read message: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ fastforward.c:393:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | substdio_flush(&ssqq); | ^ fastforward.c:394:27: warning: passing arguments to 'qmail_qp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | qp[fmt_ulong(qp,qmail_qp(&qq))] = 0; | ^ fastforward.c:394:15: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | qp[fmt_ulong(qp,qmail_qp(&qq))] = 0; | ^ fastforward.c:396:13: warning: passing arguments to 'qmail_from' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | qmail_from(&qq,sender.s); | ^ fastforward.c:402:13: warning: passing arguments to 'qmail_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | qmail_to(&qq,forward.s + i); | ^ fastforward.c:405:18: warning: passing arguments to 'qmail_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | x = qmail_close(&qq); | ^ fastforward.c:406:11: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | if (*x) strerr_die2x(*x == 'D' ? 100 : 111,FATAL,x + 1); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ fastforward.c:407:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | strerr_die2x(flagpassthrough ? 99 : 0,"fastforward: qp ",qp); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ fastforward.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 main(argc,argv) | ^ 102 warnings generated. ./compile sig_catch.c cdb_hash.c:3:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | uint32 cdb_hash(buf,len) | ^ In file included from cdb_hash.c:1: ./cdb.h:6:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern uint32 cdb_hash(); | ^ 2 warnings generated. ./compile wait_pid.c ./makelib seek.a seek_set.o cdb_unpack.c:3:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | uint32 cdb_unpack(buf) | ^ In file included from cdb_unpack.c:1: ./cdb.h:7:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern uint32 cdb_unpack(); | ^ 2 warnings generated. ./makelib open.a open_read.o open_trunc.o ./makelib fd.a fd_copy.o fd_move.o ./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \ cdbmake_add.o wait_pid.c:8:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | int wait_pid(wstat,pid) int *wstat; int pid; | ^ 1 warning generated. newinclude.c:16:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newinclude.c:20:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | strerr_die1x(100,"newinclude: usage: newinclude list"); | ^ ./strerr.h:78:11: note: expanded from macro 'strerr_die1x' 78 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newinclude.c:37:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | strerr_die4sys(111,FATAL,"unable to read ",fnlist,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ newinclude.c:41:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | strerr_die4sys(111,FATAL,"unable to write to ",fntmp,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ newinclude.c:48:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (substdio_put(&sstmp,s,len) == -1) writeerr(); | ^ newinclude.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 out(s,len) | ^ newinclude.c:56:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | strerr_die2x(111,FATAL,"empty :include: filenames not permitted"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newinclude.c:57:7: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | if (byte_chr(buf,len,'\n') != len) | ^ newinclude.c:58:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | strerr_die2x(111,FATAL,"newlines not permitted in :include: filenames"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newinclude.c:60:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | strerr_die2x(111,FATAL,"NUL not permitted in :include: filenames"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newinclude.c:51:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | void doincl(buf,len) | ^ newinclude.c:72:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | strerr_die2x(111,FATAL,"empty recipient addresses not permitted"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newinclude.c:73:7: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | if (byte_chr(buf,len,'\n') != len) | ^ newinclude.c:74:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | strerr_die2x(111,FATAL,"newlines not permitted in recipient addresses"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newinclude.c:76:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | strerr_die2x(111,FATAL,"NUL not permitted in recipient addresses"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newinclude.c:78:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | strerr_die2x(111,FATAL,"addresses must be under 800 bytes"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newinclude.c:80:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | strerr_die2x(111,FATAL,"spaces and tabs not permitted at ends of addresses"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newinclude.c:67:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | void dorecip(buf,len) | ^ newinclude.c:89:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | strerr_die2sys(111,FATAL,"unable to read controls: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ newinclude.c:103:20: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | fddir = open_read("."); | ^ newinclude.c:105:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | strerr_die2sys(111,FATAL,"unable to open current directory: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ newinclude.c:107:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | if (chdir(auto_qmail) == -1) | ^ newinclude.c:108:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | strerr_die4sys(111,FATAL,"unable to chdir to ",auto_qmail,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ newinclude.c:110:23: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | r = control_readline(&me,"control/me"); | ^ newinclude.c:112:30: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | if (!r) if (!stralloc_copys(&me,"me")) nomem(); | ^ newinclude.c:114:23: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | r = control_readline(&defaultdomain,"control/defaultdomain"); | ^ newinclude.c:116:29: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | if (!r) if (!stralloc_copy(&defaultdomain,&me)) nomem(); | ^ newinclude.c:117:14: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | x = env_get("QMAILDEFAULTDOMAIN"); | ^ newinclude.c:118:29: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | if (x) if (!stralloc_copys(&defaultdomain,x)) nomem(); | ^ newinclude.c:120:23: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | r = control_readline(&defaulthost,"control/defaulthost"); | ^ newinclude.c:122:29: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | if (!r) if (!stralloc_copy(&defaulthost,&me)) nomem(); | ^ newinclude.c:123:14: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | x = env_get("QMAILDEFAULTHOST"); | ^ newinclude.c:124:29: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | if (x) if (!stralloc_copys(&defaulthost,x)) nomem(); | ^ newinclude.c:126:23: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | r = control_readline(&plusdomain,"control/plusdomain"); | ^ newinclude.c:128:29: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | if (!r) if (!stralloc_copy(&plusdomain,&me)) nomem(); | ^ newinclude.c:129:14: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | x = env_get("QMAILPLUSDOMAIN"); | ^ newinclude.c:130:29: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | if (x) if (!stralloc_copys(&plusdomain,x)) nomem(); | ^ newinclude.c:132:7: warning: call to undeclared function 'fchdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | if (fchdir(fddir) == -1) | ^ newinclude.c:133:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | strerr_die2sys(111,FATAL,"unable to set current directory: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ newinclude.c:143:19: warning: passing arguments to 'token822_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | token822_reverse(&tokaddr); | ^ newinclude.c:144:23: warning: passing arguments to 'token822_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | if (token822_unquote(&address,&tokaddr) != 1) nomem(); | ^ newinclude.c:155:19: warning: passing arguments to 'token822_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | token822_reverse(&tokaddr); | ^ newinclude.c:156:23: warning: passing arguments to 'token822_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | if (token822_unquote(&address,&tokaddr) != 1) nomem(); | ^ newinclude.c:169:12: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | if (!stralloc_0(&address)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ newinclude.c:170:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | strerr_die4x(111,FATAL,"file delivery ",address.s," not supported"); | ^ ./strerr.h:72:11: note: expanded from macro 'strerr_die4x' 72 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newinclude.c:174:12: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | if (!stralloc_0(&address)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ newinclude.c:175:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | strerr_die4x(111,FATAL,"program delivery ",address.s," not supported"); | ^ ./strerr.h:72:11: note: expanded from macro 'strerr_die4x' 72 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newinclude.c:179:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | if (!stralloc_cats(&address,"@")) nomem(); | ^ newinclude.c:180:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | if (!stralloc_cat(&address,&defaulthost)) nomem(); | ^ newinclude.c:184:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | if (!stralloc_cat(&address,&plusdomain)) nomem(); | ^ newinclude.c:190:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | if (!stralloc_cats(&address,".")) nomem(); | ^ newinclude.c:191:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | if (!stralloc_cat(&address,&defaultdomain)) nomem(); | ^ newinclude.c:203:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | if (!stralloc_0(&line)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ newinclude.c:204:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | strerr_die3x(111,FATAL,"unable to parse this line: ",line.s); | ^ ./strerr.h:74:11: note: expanded from macro 'strerr_die3x' 74 | strerr_die((e),(x1),(x2),(x3),(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ newinclude.c:213:24: warning: passing arguments to 'token822_parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | switch(token822_parse(&toks,&line,&cbuf)) { | ^ newinclude.c:222:26: warning: passing arguments to 'token822_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | if (!token822_readyplus(&tokaddr,1)) nomem(); | ^ newinclude.c:234:22: warning: call to undeclared function 'byte_diff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | if (!byte_diff(t[-1].s,7,"include")) { | ^ newinclude.c:242:31: warning: passing arguments to 'token822_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | if (!token822_append(&tokaddr,--t)) nomem(); | ^ newinclude.c:253:29: warning: passing arguments to 'token822_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | if (!token822_append(&tokaddr,t)) nomem(); | ^ newinclude.c:264:29: warning: passing arguments to 'token822_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | if (!token822_append(&tokaddr,t)) nomem(); | ^ newinclude.c:271:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 271 | void main(argc,argv) | ^ newinclude.c:271:1: note: change return type to 'int' 271 | void main(argc,argv) | ^~~~ | int newinclude.c:277:3: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | umask(033); | ^ newinclude.c:282:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | if (!stralloc_copys(&bin,fnlist)) nomem(); | ^ newinclude.c:283:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | if (!stralloc_cats(&bin,".bin")) nomem(); | ^ newinclude.c:284:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | if (!stralloc_0(&bin)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ newinclude.c:286:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | if (!stralloc_copys(&tmp,fnlist)) nomem(); | ^ newinclude.c:287:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | if (!stralloc_cats(&tmp,".tmp")) nomem(); | ^ newinclude.c:288:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | if (!stralloc_0(&tmp)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ newinclude.c:290:17: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | fd = open_read(fnlist); | ^ newinclude.c:292:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | substdio_fdbuf(&sslist,read,fd,listbuf,sizeof listbuf); | ^ newinclude.c:294:18: warning: passing arguments to 'open_trunc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | fd = open_trunc(fntmp); | ^ newinclude.c:296:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | substdio_fdbuf(&sstmp,write,fd,tmpbuf,sizeof tmpbuf); | ^ newinclude.c:299:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | if (getln(&sslist,&line,&match,'\n') == -1) readerr(); | ^ newinclude.c:305:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | if (substdio_flush(&sstmp) == -1) writeerr(); | ^ newinclude.c:306:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | if (fsync(fd) == -1) writeerr(); | ^ newinclude.c:307:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | if (close(fd) == -1) writeerr(); /* NFS stupidity */ | ^ newinclude.c:309:7: warning: call to undeclared function 'rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | if (rename(fntmp,fnbin) == -1) | ^ newinclude.c:310:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | strerr_die6sys(111,FATAL,"unable to move ",fntmp," to ",fnbin,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ newinclude.c:312:3: 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] 312 | _exit(0); | ^ newinclude.c:312:3: note: include the header or explicitly provide a declaration for '_exit' newinclude.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 main(argc,argv) | ^ 80 warnings generated. ./makelib getln.a getln.o getln2.o ./load auto-str substdio.a error.a str.a ./makelib wait.a wait_pid.o sig_catch.c:5:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | void sig_catch(sig,f) | ^ In file included from sig_catch.c:2: ./sig.h:4:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern void sig_catch(); | ^ 2 warnings generated. ./makelib sig.a sig_catch.o sig_pipe.o cdb_seek.c:17:11: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | r = read(fd,buf,len); | ^ cdb_seek.c:9:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | int cdb_bread(fd,buf,len) | ^ In file included from cdb_seek.c:3: ./cdb.h:9:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern int cdb_bread(); | ^ cdb_seek.c:27:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | static int match(fd,key,len) | ^ cdb_seek.c:61:15: warning: passing arguments to 'cdb_hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | h = cdb_hash(key,len); | ^ cdb_seek.c:68:19: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | pos = cdb_unpack(packbuf); | ^ cdb_seek.c:69:23: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | lenhash = cdb_unpack(packbuf + 4); | ^ cdb_seek.c:77:23: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | poskd = cdb_unpack(packbuf + 4); | ^ cdb_seek.c:79:19: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if (cdb_unpack(packbuf) == h) { | ^ cdb_seek.c:82:21: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if (cdb_unpack(packbuf) == len) | ^ cdb_seek.c:87:24: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | *dlen = cdb_unpack(packbuf + 4); | ^ cdb_seek.c:47:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | int cdb_seek(fd,key,len,dlen) | ^ In file included from cdb_seek.c:3: ./cdb.h:10:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern int cdb_seek(); | ^ 13 warnings generated. ./load printmaillist getln.a strerr.a substdio.a \ stralloc.a alloc.a error.a str.a ./load setmaillist getln.a strerr.a substdio.a stralloc.a \ alloc.a error.a str.a open.a ./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o ./load printforward cdb.a strerr.a substdio.a stralloc.a \ alloc.a error.a str.a ./load setforward cdbmss.o cdbmake.a strerr.a substdio.a \ stralloc.a alloc.a error.a str.a seek.a open.a case.a ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c ./compile auto_qmail.c ./load fastforward slurpclose.o coe.o strset.o qmail.o \ auto_qmail.o getopt.a cdb.a env.a strerr.a substdio.a \ stralloc.a alloc.a error.a case.a str.a fs.a sig.a wait.a \ seek.a open.a fd.a ./load newaliases auto_qmail.o token822.o control.o \ cdbmss.o cdbmake.a strerr.a getln.a substdio.a stralloc.a \ alloc.a error.a str.a fs.a seek.a open.a case.a ./load newinclude auto_qmail.o token822.o control.o \ getln.a strerr.a stralloc.a env.a alloc.a substdio.a \ error.a str.a fs.a open.a wait.a fd.a =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for fastforward-0.51_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/fastforward /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/bin/fastforward install -m 444 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/fastforward.1 /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/share/man/man1 install -s -m 555 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/printforward /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/bin/printforward install -m 444 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/printforward.1 /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/share/man/man1 install -s -m 555 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/setforward /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/bin/setforward install -m 444 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/setforward.1 /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/share/man/man1 install -s -m 555 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/newaliases /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/bin/newaliases install -m 444 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/newaliases.1 /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/share/man/man1 install -s -m 555 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/printmaillist /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/bin/printmaillist install -m 444 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/printmaillist.1 /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/share/man/man1 install -s -m 555 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/setmaillist /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/bin/setmaillist install -m 444 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/setmaillist.1 /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/share/man/man1 install -s -m 555 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/newinclude /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/bin/newinclude install -m 444 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/newinclude.1 /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/share/man/man1 /bin/mkdir -p /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/share/doc/fastforward install -m 0644 /wrkdirs/usr/ports/mail/fastforward/work/fastforward-0.51/ALIASES /wrkdirs/usr/ports/mail/fastforward/work/stage/usr/local/share/doc/fastforward/ALIASES ====> 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-09-29T01:25:50+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=b72e179346cd' '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 fastforward-0.51_2 ===> Building fastforward-0.51_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for fastforward-0.51_2 build of mail/fastforward | fastforward-0.51_2 ended at Sun Sep 28 21:27:02 EDT 2025 build time: 00:01:16