=>> Building mail/ezmlm build started at Wed Feb 18 11:32:06 EST 2026 port directory: /usr/ports/mail/ezmlm package name: ezmlm-0.53_2 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1672 Aug 27 2024 /usr/ports/mail/ezmlm/Makefile Ports top last git commit: eac71dbf758c Ports top unclean checkout: no Port dir last git commit: c75c94468641 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 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_0_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_0_x64-HEAD-ALL/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_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 ezmlm-0.53_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-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/ezmlm/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/ezmlm/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/ezmlm/work/.cache HOME=/wrkdirs/usr/ports/mail/ezmlm/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/ezmlm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/ezmlm/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/ezmlm/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/ezmlm/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/ezmlm/work/.cache HOME=/wrkdirs/usr/ports/mail/ezmlm/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/ezmlm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/ezmlm/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/ezmlm" EXAMPLESDIR="share/examples/ezmlm" DATADIR="share/ezmlm" WWWDIR="www/ezmlm" ETCDIR="etc/ezmlm" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ezmlm DOCSDIR=/usr/local/share/doc/ezmlm EXAMPLESDIR=/usr/local/share/examples/ezmlm WWWDIR=/usr/local/www/ezmlm ETCDIR=/usr/local/etc/ezmlm --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 ezmlm 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 ===> ezmlm-0.53_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> ezmlm-0.53_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ezmlm-0.53_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 ezmlm 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 ezmlm-0.53_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ezmlm 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 ezmlm-0.53_2 for building => SHA256 Checksum OK for ezmlm-0.53.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 ezmlm 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 ezmlm-0.53_2 for building ===> Extracting for ezmlm-0.53_2 => SHA256 Checksum OK for ezmlm-0.53.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 ezmlm-0.53_2 ===> Applying FreeBSD patches for ezmlm-0.53_2 from /usr/ports/mail/ezmlm/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ezmlm-0.53_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. ===> ezmlm-0.53_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of ezmlm-0.53_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 ezmlm-0.53_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ezmlm-0.53_2 --- auto-ccld.sh --- ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\' ) > auto-ccld.sh --- find-systype --- --- make-compile --- --- make-load --- --- make-makelib --- --- find-systype --- cat auto-ccld.sh find-systype.sh > find-systype --- make-compile --- cat auto-ccld.sh make-compile.sh > make-compile --- make-load --- cat auto-ccld.sh make-load.sh > make-load --- make-makelib --- cat auto-ccld.sh make-makelib.sh > make-makelib --- find-systype --- chmod 755 find-systype --- make-load --- chmod 755 make-load --- make-compile --- chmod 755 make-compile --- make-makelib --- chmod 755 make-makelib --- systype --- ./find-systype > systype --- compile --- --- load --- --- makelib --- --- compile --- ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > compile --- load --- ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load --- makelib --- ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > makelib --- compile --- chmod 755 compile --- load --- chmod 755 load --- makelib --- chmod 755 makelib --- alloc.o --- --- alloc_re.o --- --- auto-str.o --- --- byte_chr.o --- --- byte_copy.o --- --- byte_cr.o --- --- byte_diff.o --- --- byte_rchr.o --- --- byte_zero.o --- --- case_diffb.o --- --- case_lowerb.o --- --- case_startb.o --- --- constmap.o --- --- date822fmt.o --- --- datetime.o --- --- direntry.h --- --- envread.o --- --- error.o --- --- error_str.o --- --- ezmlm-list.o --- --- ezmlm-make.o --- --- ezmlm-manage.o --- --- ezmlm-reject.o --- --- ezmlm-return.o --- --- ezmlm-send.o --- --- ezmlm-sub.o --- --- ezmlm-unsub.o --- --- ezmlm-weed.o --- --- fd_copy.o --- --- fd_move.o --- --- fmt_str.o --- --- fmt_uint.o --- --- fmt_uint0.o --- --- fmt_ulong.o --- --- getconf.o --- --- getln.o --- --- getln2.o --- --- log.o --- --- now.o --- --- open_append.o --- --- open_read.o --- --- open_trunc.o --- --- quote.o --- --- scan_8long.o --- --- scan_ulong.o --- --- seek_set.o --- --- sgetopt.o --- --- sig_pipe.o --- --- slurp.o --- --- slurpclose.o --- --- str_chr.o --- --- str_cpy.o --- --- str_diff.o --- --- str_diffn.o --- --- str_len.o --- --- str_rchr.o --- --- str_start.o --- --- stralloc_arts.o --- --- stralloc_cat.o --- --- stralloc_catb.o --- --- stralloc_cats.o --- --- stralloc_copy.o --- --- stralloc_cat.o --- ./compile stralloc_cat.c 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_arts.o --- ./compile stralloc_arts.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. --- str_start.o --- ./compile str_start.c str_start.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_start(s,t) | ^ In file included from str_start.c:1: ./str.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 str_start(); | ^ 2 warnings generated. --- str_rchr.o --- ./compile str_rchr.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. --- str_len.o --- ./compile str_len.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. --- str_chr.o --- ./compile str_chr.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. --- slurpclose.o --- ./compile slurpclose.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. --- sig_pipe.o --- ./compile sig_pipe.c 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. --- sgetopt.o --- ./compile sgetopt.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. --- seek_set.o --- ./compile seek_set.c 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. --- scan_ulong.o --- ./compile scan_ulong.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. --- scan_8long.o --- ./compile scan_8long.c scan_8long.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_8long(s,u) register char *s; register unsigned long *u; | ^ 1 warning generated. --- stralloc_catb.o --- ./compile stralloc_catb.c 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. --- open_trunc.o --- ./compile open_trunc.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. --- open_read.o --- ./compile open_read.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. --- open_append.o --- ./compile open_append.c open_append.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_append(fn) char *fn; | ^ In file included from open_append.c:3: ./open.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 open_append(); | ^ 2 warnings generated. --- now.o --- ./compile now.c --- getln2.o --- ./compile getln2.c 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. --- getln.o --- ./compile getln.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. --- fmt_ulong.o --- ./compile fmt_ulong.c 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. --- fmt_uint0.o --- ./compile fmt_uint0.c fmt_uint0.c:6:17: warning: passing arguments to 'fmt_uint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | len = fmt_uint(FMT_LEN,u); | ^ fmt_uint0.c:8:18: warning: passing arguments to 'fmt_uint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | if (s) fmt_uint(s,u); | ^ fmt_uint0.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_uint0(s,u,n) char *s; unsigned int u; unsigned int n; | ^ In file included from fmt_uint0.c:1: ./fmt.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 fmt_uint0(); | ^ 4 warnings generated. --- fmt_uint.o --- ./compile fmt_uint.c fmt_uint.c:5:52: 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] 5 | register unsigned long l; l = u; return fmt_ulong(s,l); | ^ fmt_uint.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_uint(s,u) register char *s; register unsigned int u; | ^ In file included from fmt_uint.c:1: ./fmt.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 fmt_uint(); | ^ 3 warnings generated. --- fmt_str.o --- ./compile fmt_str.c fmt_str.c:9:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9 | if (s) { while (ch = t[len]) s[len++] = ch; } | ~~~^~~~~~~~ fmt_str.c:9:22: note: place parentheses around the assignment to silence this warning 9 | if (s) { while (ch = t[len]) s[len++] = ch; } | ^ | ( ) fmt_str.c:9:22: note: use '==' to turn this assignment into an equality comparison 9 | if (s) { while (ch = t[len]) s[len++] = ch; } | ^ | == fmt_str.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_str(s,t) | ^ In file included from fmt_str.c:1: ./fmt.h:22: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] 22 | extern unsigned int fmt_str(); | ^ 3 warnings generated. --- fd_move.o --- ./compile fd_move.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. --- fd_copy.o --- ./compile fd_copy.c 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. --- error_str.o --- ./compile error_str.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. --- error.o --- ./compile error.c --- envread.o --- ./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. --- direntry.h --- ( ./compile trydrent.c >/dev/null 2>&1 && cat direntry.h2 || cat direntry.h1 ) > direntry.h rm -f trydrent.o --- datetime.o --- ./compile datetime.c datetime.c:4:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | void datetime_tai(dt,t) | ^ In file included from datetime.c:2: ./datetime.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 datetime_tai(); | ^ 2 warnings generated. --- date822fmt.o --- ./compile date822fmt.c date822fmt.c:16:15: warning: passing arguments to 'fmt_uint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | i = fmt_uint(s,dt->mday); len += i; if (s) s += i; | ^ date822fmt.c:17:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | i = fmt_str(s," "); len += i; if (s) s += i; | ^ date822fmt.c:18:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | i = fmt_str(s,montab[dt->mon]); len += i; if (s) s += i; | ^ date822fmt.c:19:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | i = fmt_str(s," "); len += i; if (s) s += i; | ^ date822fmt.c:20:15: warning: passing arguments to 'fmt_uint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | i = fmt_uint(s,dt->year + 1900); len += i; if (s) s += i; | ^ date822fmt.c:21:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | i = fmt_str(s," "); len += i; if (s) s += i; | ^ date822fmt.c:22:16: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | i = fmt_uint0(s,dt->hour,2); len += i; if (s) s += i; | ^ date822fmt.c:23:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | i = fmt_str(s,":"); len += i; if (s) s += i; | ^ date822fmt.c:24:16: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | i = fmt_uint0(s,dt->min,2); len += i; if (s) s += i; | ^ date822fmt.c:25:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | i = fmt_str(s,":"); len += i; if (s) s += i; | ^ date822fmt.c:26:16: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | i = fmt_uint0(s,dt->sec,2); len += i; if (s) s += i; | ^ date822fmt.c:27:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | i = fmt_str(s," -0000\n"); len += i; if (s) s += i; | ^ date822fmt.c:9:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | unsigned int date822fmt(s,dt) | ^ In file included from date822fmt.c:3: ./date822fmt.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 date822fmt(); | ^ 14 warnings generated. --- constmap.o --- ./compile constmap.c constmap.c:5:22: 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 constmap_hash hash(s,len) | ^ constmap.c:33:24: warning: passing arguments to 'case_diffb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | if (!case_diffb(cm->input[pos],len,s)) | ^ constmap.c:21:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | char *constmap(cm,s,len) | ^ In file included from constmap.c:1: ./constmap.h:18: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] 18 | extern char *constmap(); | ^ constmap.c:59:28: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | cm->first = (int *) alloc(sizeof(int) * h); | ^ constmap.c:61:32: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | cm->input = (char **) alloc(sizeof(char *) * cm->num); | ^ constmap.c:63:35: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | cm->inputlen = (int *) alloc(sizeof(int) * cm->num); | ^ constmap.c:65:43: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | cm->hash = (constmap_hash *) alloc(sizeof(constmap_hash) * cm->num); | ^ constmap.c:67:28: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | cm->next = (int *) alloc(sizeof(int) * cm->num); | ^ constmap.c:95:14: 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] 95 | alloc_free(cm->hash); | ^ constmap.c:97:19: 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] 97 | alloc_free(cm->inputlen); | ^ constmap.c:99:17: 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] 99 | alloc_free(cm->input); | ^ constmap.c:101:15: 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] 101 | alloc_free(cm->first); | ^ constmap.c:40:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | int constmap_init(cm,s,len,flagcolon) | ^ In file included from constmap.c:1: ./constmap.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 constmap_init(); | ^ constmap.c:109: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] 109 | alloc_free(cm->next); | ^ constmap.c:110: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] 110 | alloc_free(cm->hash); | ^ constmap.c:111: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] 111 | alloc_free(cm->inputlen); | ^ constmap.c:112: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] 112 | alloc_free(cm->input); | ^ constmap.c:113: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] 113 | alloc_free(cm->first); | ^ constmap.c:106:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | void constmap_free(cm) | ^ In file included from constmap.c:1: ./constmap.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 constmap_free(); | ^ 22 warnings generated. --- case_lowerb.o --- ./compile case_lowerb.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. --- case_diffb.o --- ./compile case_diffb.c case_diffb.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 case_diffb(s,len,t) | ^ In file included from case_diffb.c:1: ./case.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 case_diffb(); | ^ 2 warnings generated. --- byte_zero.o --- ./compile byte_zero.c byte_zero.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_zero(s,n) | ^ In file included from byte_zero.c:1: ./byte.h:9: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] 9 | extern void byte_zero(); | ^ 2 warnings generated. --- byte_rchr.o --- ./compile byte_rchr.c byte_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 byte_rchr(s,n,c) | ^ In file included from byte_rchr.c:1: ./byte.h:5: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] 5 | extern unsigned int byte_rchr(); | ^ 2 warnings generated. --- byte_diff.o --- ./compile byte_diff.c 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. --- byte_cr.o --- ./compile byte_cr.c 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. --- byte_copy.o --- ./compile byte_copy.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. --- byte_chr.o --- ./compile byte_chr.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. --- alloc_re.o --- ./compile alloc_re.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. --- ezmlm-make.o --- ./compile ezmlm-make.c --- ezmlm-list.o --- ./compile ezmlm-list.c --- alloc.o --- ./compile alloc.c --- ezmlm-manage.o --- ./compile ezmlm-manage.c --- auto-str.o --- ./compile auto-str.c --- ezmlm-reject.o --- ./compile ezmlm-reject.c --- ezmlm-return.o --- ./compile ezmlm-return.c --- ezmlm-send.o --- ./compile ezmlm-send.c --- ezmlm-sub.o --- ./compile ezmlm-sub.c --- ezmlm-unsub.o --- ./compile ezmlm-unsub.c --- ezmlm-weed.o --- ./compile ezmlm-weed.c --- log.o --- ./compile log.c --- str_diff.o --- ./compile str_diff.c --- case_startb.o --- ./compile case_startb.c --- str_diffn.o --- ./compile str_diffn.c --- slurp.o --- ./compile slurp.c --- quote.o --- ./compile quote.c --- getconf.o --- ./compile getconf.c --- str_cpy.o --- ./compile str_cpy.c --- stralloc_eady.o --- --- stralloc_opyb.o --- --- stralloc_opys.o --- --- stralloc_pend.o --- --- strerr.o --- --- strerr_die.o --- --- strerr_sys.o --- --- subfderr.o --- --- subgetopt.o --- --- substdi.o --- --- substdio.o --- --- substdio_copy.o --- --- substdo.o --- --- wait_pid.o --- --- ezmlm-warn.o --- --- env.a --- --- error.a --- --- fd.a --- --- fs.a --- --- getln.a --- --- open.a --- --- seek.a --- --- fork.h --- --- hasflock.h --- --- hassgact.h --- --- uint32.h --- --- substdo.o --- ./compile substdo.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. --- substdio_copy.o --- ./compile substdio_copy.c 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. --- substdio.o --- ./compile substdio.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. --- substdi.o --- ./compile substdi.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. --- subgetopt.o --- ./compile subgetopt.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. --- subfderr.o --- ./compile subfderr.c --- strerr_sys.o --- ./compile strerr_sys.c 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. --- strerr_die.o --- ./compile strerr_die.c 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. --- stralloc_pend.o --- ./compile stralloc_pend.c 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. --- stralloc_opys.o --- ./compile stralloc_opys.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. --- stralloc_opyb.o --- ./compile stralloc_opyb.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. --- stralloc_eady.o --- ./compile stralloc_eady.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. --- stralloc_copy.o --- ./compile stralloc_copy.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. --- stralloc_cats.o --- ./compile stralloc_cats.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. --- str_diffn.o --- 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. --- str_diff.o --- 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. --- str_cpy.o --- 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. --- ezmlm-weed.o --- ezmlm-weed.c:18:12: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | if (getln(&ss0,sa,&match,'\n') == -1) | ^ ezmlm-weed.c:19: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] 19 | 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) | ^ ezmlm-weed.c:20:15: 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] 20 | if (!match) _exit(0); | ^ ezmlm-weed.c:20:15: note: include the header or explicitly provide a declaration for '_exit' ezmlm-weed.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 get(sa) | ^ ezmlm-weed.c:44:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 44 | void main() | ^ ezmlm-weed.c:44:1: note: change return type to 'int' 44 | void main() | ^~~~ | int ezmlm-weed.c:52:24: 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] 52 | if (stralloc_starts(&line,"Subject: success notice")) | ^ ezmlm-weed.c:54:24: 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] 54 | if (stralloc_starts(&line,"Subject: deferral notice")) | ^ ezmlm-weed.c:57:24: 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] 57 | if (stralloc_starts(&line,"From: Mail Delivery Subsystem or explicitly provide a declaration for '_exit' ezmlm-unsub.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 main(argc,argv) | ^ 12 warnings generated. --- ezmlm-sub.o --- In file included from ezmlm-sub.c:3: ./log.h:4:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] 4 | extern void log(); | ^ ./log.h:4:13: note: 'log' is a builtin with type 'double (double)' ezmlm-sub.c:8:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 8 | void main(argc,argv) | ^ ezmlm-sub.c:8:1: note: change return type to 'int' 8 | void main(argc,argv) | ^~~~ | int ezmlm-sub.c:17: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] 17 | strerr_die1x(100,"ezmlm-sub: usage: ezmlm-sub dir box@domain ..."); | ^ ./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) | ^ ezmlm-sub.c:18:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | if (chdir(dir) == -1) | ^ ezmlm-sub.c:19: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] 19 | strerr_die4sys(111,FATAL,"unable to switch to ",dir,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-sub.c:22:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 22 | while (addr = *argv++) | ~~~~~^~~~~~~~~ ezmlm-sub.c:22:15: note: place parentheses around the assignment to silence this warning 22 | while (addr = *argv++) | ^ | ( ) ezmlm-sub.c:22:15: note: use '==' to turn this assignment into an equality comparison 22 | while (addr = *argv++) | ^ | == ezmlm-sub.c:23:21: warning: passing arguments to 'subscribe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | switch(subscribe(addr,1)) { | ^ ezmlm-sub.c:25:2: 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_die1(111,FATAL,&subscribe_err); | ^ ./strerr.h:52:11: note: expanded from macro 'strerr_die1' 52 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ ezmlm-sub.c:27:2: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | strerr_warn4(WARNING,"cannot subscribe ",addr,": ",&subscribe_err); | ^ ./strerr.h:33:12: note: expanded from macro 'strerr_warn4' 33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ ezmlm-sub.c:30:5: warning: passing arguments to 'log' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | log("+manual",addr); | ^ ezmlm-sub.c:32: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] 32 | _exit(0); | ^ ezmlm-sub.c:32:3: note: include the header or explicitly provide a declaration for '_exit' ezmlm-sub.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 main(argc,argv) | ^ 12 warnings generated. --- ezmlm-reject.o --- ezmlm-reject.c:18:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 18 | void main(argc,argv) | ^ ezmlm-reject.c:18:1: note: change return type to 'int' 18 | void main(argc,argv) | ^~~~ | int ezmlm-reject.c:27: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] 27 | while ((opt = getopt(argc,argv,"cCsS")) != opteof) | ^ ezmlm-reject.c:34:2: 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_die1x(100,"ezmlm-reject: usage: ezmlm-reject [ -cCsS ]"); | ^ ./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) | ^ ezmlm-reject.c:38: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] 38 | if (getln(&ss0,&line,&match,'\n') == -1) | ^ ezmlm-reject.c:39: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] 39 | strerr_die2sys(111,"ezmlm-reject: 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) | ^ ezmlm-reject.c:46:9: warning: call to undeclared function 'case_startb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | if (case_startb(x,len,"subject:")) { | ^ ezmlm-reject.c:53:16: warning: call to undeclared function 'case_diffb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | if (!case_diffb("help",4,x)) | ^ ezmlm-reject.c:68: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] 68 | strerr_die1x(100,"\ | ^ ./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) | ^ ezmlm-reject.c:75: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] 75 | strerr_die1x(100,"\ | ^ ./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) | ^ ezmlm-reject.c:81: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] 81 | _exit(0); | ^ ezmlm-reject.c:81:3: note: include the header or explicitly provide a declaration for '_exit' ezmlm-reject.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 main(argc,argv) | ^ 11 warnings generated. --- case_startb.o --- case_startb.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 case_startb(s,len,t) | ^ In file included from case_startb.c:1: ./case.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 case_startb(); | ^ 2 warnings generated. --- auto-str.o --- 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. --- alloc.o --- 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. --- error.a --- ./makelib error.a error.o error_str.o --- fd.a --- ./makelib fd.a fd_copy.o fd_move.o --- fs.a --- ./makelib fs.a fmt_str.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o scan_8long.o --- getln.a --- ./makelib getln.a getln.o getln2.o --- open.a --- ./makelib open.a open_append.o open_read.o open_trunc.o --- seek.a --- ./makelib seek.a seek_set.o --- hasflock.h --- ( ( ./compile tryflock.c && ./load tryflock ) >/dev/null 2>&1 && echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h --- strerr.o --- ./compile strerr.c --- hassgact.h --- ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null 2>&1 && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h --- wait_pid.o --- ./compile wait_pid.c --- fork.h --- ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null 2>&1 && cat fork.h2 || cat fork.h1 ) > fork.h --- ezmlm-warn.o --- ./compile ezmlm-warn.c --- env.a --- ./makelib env.a envread.o --- getopt.a --- --- substdio.a --- --- stralloc.a --- --- str.a --- --- case.a --- --- alloc.a --- --- slurp.o --- slurp.c:12: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] 12 | fd = open_read(fn); | ^ slurp.c:17:7: warning: call to undeclared function 'slurpclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | if (slurpclose(fd,sa,bufsize) == -1) return -1; | ^ slurp.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 slurp(fn,sa,bufsize) | ^ In file included from slurp.c:2: ./slurp.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 slurp(); | ^ 4 warnings generated. --- log.o --- In file included from log.c:4: ./log.h:4:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] 4 | extern void log(); | ^ ./log.h:4:13: note: 'log' is a builtin with type 'double (double)' log.c:21:42: 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] 21 | if (!stralloc_copyb(&line,num,fmt_ulong(num,(unsigned long) now()))) return; | ^ log.c:21:22: 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] 21 | if (!stralloc_copyb(&line,num,fmt_ulong(num,(unsigned long) now()))) return; | ^ log.c:22: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] 22 | if (!stralloc_cats(&line," ")) return; | ^ log.c:23: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] 23 | if (!stralloc_cats(&line,event)) return; | ^ log.c:24: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] 24 | if (!stralloc_cats(&line," ")) return; | ^ log.c:25:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 25 | while (ch = *addr++) { | ~~~^~~~~~~~~ log.c:25:13: note: place parentheses around the assignment to silence this warning 25 | while (ch = *addr++) { | ^ | ( ) log.c:25:13: note: use '==' to turn this assignment into an equality comparison 25 | while (ch = *addr++) { | ^ | == log.c:27: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] 27 | if (!stralloc_append(&line,&ch)) return; | ^ log.c:29: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] 29 | if (!stralloc_cats(&line,"\n")) return; | ^ log.c:31:19: warning: passing arguments to 'open_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | fd = open_append("Log"); | ^ log.c:33: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] 33 | substdio_fdbuf(&ss,write,fd,buf,sizeof(buf)); | ^ log.c:34:20: 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] 34 | substdio_putflush(&ss,line.s,line.len); | ^ log.c:35:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | close(fd); | ^ log.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 log(event,addr) | ^ In file included from log.c:4: ./log.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 log(); | ^ 15 warnings generated. --- getconf.o --- getconf.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(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) | ^ getconf.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 nomem(fatal) | ^ getconf.c:25: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] 25 | if (!stralloc_copys(&data,"")) | ^ getconf.c:27:15: warning: passing arguments to 'slurp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | switch(slurp(fn,&data,128)) { | ^ getconf.c:29: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] 29 | strerr_die6sys(111,fatal,"unable to read ",dir,"/",fn,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ getconf.c:33: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] 33 | strerr_die5x(100,fatal,dir,"/",fn," does not exist"); | ^ ./strerr.h:70:11: note: expanded from macro 'strerr_die5x' 70 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(char *) 0,(struct strerr *) 0) | ^ getconf.c:35:23: 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] 35 | if (!stralloc_append(&data,"\n")) nomem(fatal); | ^ getconf.c:36: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] 36 | if (!stralloc_copys(sa,"")) nomem(fatal); | ^ getconf.c:43:27: 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] 43 | if (!stralloc_catb(sa,data.s + i,k - i)) nomem(fatal); | ^ getconf.c:44: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] 44 | if (!stralloc_0(sa)) nomem(fatal); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ getconf.c:14:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | int getconf(sa,fn,flagrequired,fatal,dir) | ^ In file included from getconf.c:4: ./getconf.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 getconf(); | ^ getconf.c:59:13: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | sa->len = byte_chr(sa->s,sa->len,0); | ^ getconf.c:51:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | int getconf_line(sa,fn,flagrequired,fatal,dir) | ^ In file included from getconf.c:4: ./getconf.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 getconf_line(); | ^ 15 warnings generated. --- strerr.o --- strerr.c:11: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] 11 | if (!stralloc_copys(&sa,"")) return "out of memory"; | ^ strerr.c:14:34: 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] 14 | if (se->x) if (!stralloc_cats(&sa,se->x)) return "out of memory"; | ^ strerr.c:15:34: 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] 15 | if (se->y) if (!stralloc_cats(&sa,se->y)) return "out of memory"; | ^ strerr.c:16:34: 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] 16 | if (se->z) if (!stralloc_cats(&sa,se->z)) return "out of memory"; | ^ strerr.c:20: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] 20 | if (!stralloc_0(&sa)) return "out of memory"; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ strerr.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 *strerr(se) | ^ In file included from strerr.c:2: ./strerr.h:16: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] 16 | extern char *strerr(); | ^ 7 warnings generated. --- ezmlm-list.o --- ezmlm-list.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_die2sys(111,FATAL,"unable to write: "); | ^ ./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) | ^ ezmlm-list.c:25:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 25 | void main(argc,argv) | ^ ezmlm-list.c:25:1: note: change return type to 'int' 25 | void main(argc,argv) | ^~~~ | int ezmlm-list.c:34: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] 34 | if (!dir) strerr_die1x(100,"ezmlm-list: usage: ezmlm-list dir"); | ^ ./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) | ^ ezmlm-list.c:36:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | if (chdir(dir) == -1) | ^ ezmlm-list.c:37: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] 37 | strerr_die4sys(111,FATAL,"unable to switch to ",dir,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-list.c:40:19: 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] 40 | fd = open_read(fn); | ^ ezmlm-list.c:43:2: 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] 43 | strerr_die4sys(111,FATAL,"unable to open ",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) | ^ ezmlm-list.c:46:21: 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] 46 | substdio_fdbuf(&in,read,fd,inbuf,sizeof(inbuf)); | ^ ezmlm-list.c:48:18: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (getln(&in,&line,&match,'\0') == -1) | ^ ezmlm-list.c:49:4: 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] 49 | 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) | ^ ezmlm-list.c:51:13: warning: call to undeclared function 'str_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | if (line.s[str_chr(line.s,'\n')]) | ^ ezmlm-list.c:52:4: 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_die3x(111,FATAL,"newline in ",fn); | ^ ./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) | ^ ezmlm-list.c:53:19: 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] 53 | if (substdio_puts(&out,line.s + 1)) die_write(); | ^ ezmlm-list.c:54:18: 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] 54 | if (substdio_put(&out,"\n",1) == -1) die_write(); | ^ ezmlm-list.c:60: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] 60 | if (substdio_flush(&out) == -1) die_write(); | ^ ezmlm-list.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 main(argc,argv) | ^ 16 warnings generated. --- stralloc.a --- ./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 --- uint32.h --- ( ( ./compile tryulong32.c && ./load tryulong32 && ./tryulong32 ) >/dev/null 2>&1 && cat uint32.h2 || cat uint32.h1 ) > uint32.h --- str.a --- ./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o byte_diff.o byte_copy.o byte_cr.o byte_zero.o --- getopt.a --- ./makelib getopt.a subgetopt.o sgetopt.o --- strerr.a --- --- substdio.a --- ./makelib substdio.a substdio.o substdi.o substdo.o subfderr.o substdio_copy.o --- alloc.a --- ./makelib alloc.a alloc.o alloc_re.o --- strerr.a --- ./makelib strerr.a strerr.o strerr_sys.o strerr_die.o --- case.a --- ./makelib case.a case_diffb.o case_lowerb.o case_startb.o --- quote.o --- quote.c:27: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] 27 | if (!stralloc_ready(saout,sain->len * 2 + 2)) return 0; | ^ quote.c:19:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | static int doit(saout,sain) | ^ quote.c:42:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | int quote_need(s,n) | ^ In file included from quote.c:3: ./quote.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 quote_need(); | ^ quote.c:66:22: 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] 66 | return stralloc_copy(saout,sain); | ^ quote.c:61:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | int quote(saout,sain) | ^ In file included from quote.c:3: ./quote.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 quote(); | ^ quote.c:76:14: warning: passing arguments to 'str_rchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | j = str_rchr(s,'@'); | ^ quote.c:77: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] 77 | if (!stralloc_copys(&foo,s)) return 0; | ^ quote.c:81:22: 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] 81 | return stralloc_cats(sa,s + j); | ^ quote.c:71:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | int quote2(sa,s) | ^ In file included from quote.c:3: ./quote.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 quote2(); | ^ 12 warnings generated. --- ezmlm-send.o --- ezmlm-send.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_die1x(100,"ezmlm-send: usage: ezmlm-send dir"); | ^ ./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) | ^ ezmlm-send.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_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) | ^ ezmlm-send.c:64: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] 64 | qmail_put(&qq,buf,len); | ^ ezmlm-send.c:59:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | int mywrite(fd,buf,len) | ^ ezmlm-send.c:70: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] 70 | strerr_die4sys(111,FATAL,"unable to write to ",fnaf.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-send.c:74: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] 74 | strerr_die2sys(111,FATAL,"unable to create numnew: "); | ^ ./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) | ^ ezmlm-send.c:79: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] 79 | qmail_put(&qq,buf,len); | ^ ezmlm-send.c:81: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] 81 | if (substdio_put(&ssarchive,buf,len) == -1) die_archive(); | ^ ezmlm-send.c:77:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | void put(buf,len) char *buf; int len; | ^ ezmlm-send.c:86: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] 86 | qmail_puts(&qq,buf); | ^ ezmlm-send.c:88: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] 88 | if (substdio_puts(&ssarchive,buf) == -1) die_archive(); | ^ ezmlm-send.c:84:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | void puts(buf) char *buf; | ^ ezmlm-send.c:97:14: 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] 97 | j = str_len(sender); | ^ ezmlm-send.c:100:7: warning: call to undeclared function 'byte_rchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | i = byte_rchr(sublist.s,sublist.len,'@'); | ^ ezmlm-send.c:103:7: warning: call to undeclared function 'byte_diff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | if (byte_diff(sublist.s,i,sender)) return 0; | ^ ezmlm-send.c:104:17: warning: passing arguments to 'case_diffb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | if (case_diffb(sublist.s + i,sublist.len - i,sender + j - (sublist.len - i))) | ^ ezmlm-send.c:91:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | int sublistmatch(sender) | ^ ezmlm-send.c:122: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] 122 | fd = open_trunc("numnew"); | ^ ezmlm-send.c:124: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] 124 | substdio_fdbuf(&ssnumnew,write,fd,numnewbuf,sizeof(numnewbuf)); | ^ ezmlm-send.c:125:46: 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] 125 | if (substdio_put(&ssnumnew,strnum,fmt_ulong(strnum,msgnum)) == -1) | ^ ezmlm-send.c:125: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] 125 | if (substdio_put(&ssnumnew,strnum,fmt_ulong(strnum,msgnum)) == -1) | ^ ezmlm-send.c:127: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] 127 | if (substdio_puts(&ssnumnew,"\n") == -1) die_numnew(); | ^ ezmlm-send.c:128: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] 128 | if (substdio_flush(&ssnumnew) == -1) die_numnew(); | ^ ezmlm-send.c:129:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | if (fsync(fd) == -1) die_numnew(); | ^ ezmlm-send.c:130:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | if (close(fd) == -1) die_numnew(); /* NFS stupidity */ | ^ ezmlm-send.c:131:7: warning: call to undeclared function 'rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | if (rename("numnew","num") == -1) | ^ ezmlm-send.c:132: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] 132 | strerr_die2sys(111,FATAL,"unable to move numnew to num: "); | ^ ./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) | ^ ezmlm-send.c:137:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 137 | void main(argc,argv) | ^ ezmlm-send.c:137:1: note: change return type to 'int' 137 | void main(argc,argv) | ^~~~ | int ezmlm-send.c:152:3: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | umask(022); | ^ ezmlm-send.c:158: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] 158 | sender = env_get("SENDER"); | ^ ezmlm-send.c:160:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | if (chdir(dir) == -1) | ^ ezmlm-send.c:161: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] 161 | strerr_die4sys(111,FATAL,"unable to switch to ",dir,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-send.c:163:23: warning: passing arguments to 'open_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | fdlock = open_append("lock"); | ^ ezmlm-send.c:165: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] 165 | strerr_die4sys(111,FATAL,"unable to open ",dir,"/lock: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-send.c:166:14: warning: passing arguments to 'lock_ex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | if (lock_ex(fdlock) == -1) | ^ ezmlm-send.c:167: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] 167 | strerr_die4sys(111,FATAL,"unable to obtain ",dir,"/lock: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-send.c:169: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] 169 | if (qmail_open(&qq) == -1) | ^ ezmlm-send.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_die2sys(111,FATAL,"unable to run qmail-queue: "); | ^ ./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) | ^ ezmlm-send.c:172:30: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | flagarchived = getconf_line(&line,"archived",0,FATAL,dir); | ^ ezmlm-send.c:174:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | getconf_line(&num,"num",1,FATAL,dir); | ^ ezmlm-send.c:175: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] 175 | if (!stralloc_0(&num)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-send.c:176:13: 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] 176 | scan_ulong(num.s,&msgnum); | ^ ezmlm-send.c:179:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | getconf_line(&outhost,"outhost",1,FATAL,dir); | ^ ezmlm-send.c:180:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | getconf_line(&outlocal,"outlocal",1,FATAL,dir); | ^ ezmlm-send.c:181:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | getconf_line(&mailinglist,"mailinglist",1,FATAL,dir); | ^ ezmlm-send.c:182:29: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | flagsublist = getconf_line(&sublist,"sublist",0,FATAL,dir); | ^ ezmlm-send.c:184:10: warning: passing arguments to 'getconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | getconf(&headerremove,"headerremove",1,FATAL,dir); | ^ ezmlm-send.c:185:16: warning: passing arguments to 'constmap_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | constmap_init(&headerremovemap,headerremove.s,headerremove.len,0); | ^ ezmlm-send.c:187:10: warning: passing arguments to 'getconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | getconf(&headeradd,"headeradd",1,FATAL,dir); | ^ ezmlm-send.c:192: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] 192 | if (!stralloc_copys(&mydtline,"Delivered-To: mailing list ")) die_nomem(); | ^ ezmlm-send.c:193: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] 193 | if (!stralloc_catb(&mydtline,outlocal.s,outlocal.len)) die_nomem(); | ^ ezmlm-send.c:194: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] 194 | if (!stralloc_cats(&mydtline,"@")) die_nomem(); | ^ ezmlm-send.c:195: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] 195 | if (!stralloc_catb(&mydtline,outhost.s,outhost.len)) die_nomem(); | ^ ezmlm-send.c:196: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] 196 | if (!stralloc_cats(&mydtline,"\n")) die_nomem(); | ^ ezmlm-send.c:200: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] 200 | strerr_die2x(100,FATAL,"I don't distribute bounce messages (#5.7.2)"); | ^ ./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) | ^ ezmlm-send.c:201:9: 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] 201 | if (str_equal(sender,"#@[]")) | ^ ./str.h:12:34: note: expanded from macro 'str_equal' 12 | #define str_equal(s,t) (!str_diff((s),(t))) | ^ ezmlm-send.c:202: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] 202 | strerr_die2x(100,FATAL,"I don't distribute bounce messages (#5.7.2)"); | ^ ./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) | ^ ezmlm-send.c:205: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] 205 | strerr_die2x(100,FATAL,"this message is not from my parent list (#5.7.2)"); | ^ ./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) | ^ ezmlm-send.c:209: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] 209 | if (!stralloc_copys(&fnadir,"archive/")) die_nomem(); | ^ ezmlm-send.c:210:48: 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] 210 | if (!stralloc_catb(&fnadir,strnum,fmt_ulong(strnum,msgnum / 100))) die_nomem(); | ^ ezmlm-send.c:210: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] 210 | if (!stralloc_catb(&fnadir,strnum,fmt_ulong(strnum,msgnum / 100))) die_nomem(); | ^ ezmlm-send.c:211: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] 211 | if (!stralloc_copy(&fnaf,&fnadir)) die_nomem(); | ^ ezmlm-send.c:212: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] 212 | if (!stralloc_cats(&fnaf,"/")) die_nomem(); | ^ ezmlm-send.c:213:46: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | if (!stralloc_catb(&fnaf,strnum,fmt_uint0(strnum,(unsigned int) (msgnum % 100),2))) die_nomem(); | ^ ezmlm-send.c:213: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] 213 | if (!stralloc_catb(&fnaf,strnum,fmt_uint0(strnum,(unsigned int) (msgnum % 100),2))) die_nomem(); | ^ ezmlm-send.c:214: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] 214 | if (!stralloc_0(&fnadir)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-send.c:215: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] 215 | if (!stralloc_0(&fnaf)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-send.c:217:9: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | if (mkdir(fnadir.s,0755) == -1) | ^ ezmlm-send.c:219:2: 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,"unable to create ",fnadir.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-send.c:220:27: 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] 220 | fdarchive = open_trunc(fnaf.s); | ^ ezmlm-send.c:222: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] 222 | strerr_die4sys(111,FATAL,"unable to write ",fnaf.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-send.c:224:19: 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] 224 | substdio_fdbuf(&ssarchive,write,fdarchive,archivebuf,sizeof(archivebuf)); | ^ ezmlm-send.c:240: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] 240 | if (getln(&ss0,&line,&match,'\n') == -1) | ^ ezmlm-send.c:241: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] 241 | 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) | ^ ezmlm-send.c:248:39: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | if (constmap(&headerremovemap,line.s,byte_chr(line.s,line.len,':'))) | ^ ezmlm-send.c:248:14: warning: passing arguments to 'constmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | if (constmap(&headerremovemap,line.s,byte_chr(line.s,line.len,':'))) | ^ ezmlm-send.c:250:17: warning: passing arguments to 'case_startb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | if (case_startb(line.s,line.len,"mailing-list:")) | ^ ezmlm-send.c:253:9: warning: call to undeclared function 'byte_diff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | if (!byte_diff(line.s,line.len,mydtline.s)) | ^ ezmlm-send.c:254: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] 254 | strerr_die2x(100,FATAL,"this message is looping: it already has my Delivered-To line (#5.4.6)"); | ^ ./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) | ^ ezmlm-send.c:267: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] 267 | strerr_die2x(100,FATAL,"sublist messages must have Mailing-List (#5.7.2)"); | ^ ./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) | ^ ezmlm-send.c:270: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] 270 | strerr_die2x(100,FATAL,"message already has Mailing-List (#5.7.2)"); | ^ ./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) | ^ ezmlm-send.c:273:23: 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] 273 | if (substdio_flush(&ssarchive) == -1) die_archive(); | ^ ezmlm-send.c:274:9: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 274 | if (fsync(fdarchive) == -1) die_archive(); | ^ ezmlm-send.c:275:9: warning: call to undeclared function 'fchmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 275 | if (fchmod(fdarchive,0744) == -1) die_archive(); | ^ ezmlm-send.c:276:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | if (close(fdarchive) == -1) die_archive(); /* NFS stupidity */ | ^ ezmlm-send.c:281: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] 281 | if (!stralloc_copy(&line,&outlocal)) die_nomem(); | ^ ezmlm-send.c:282: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] 282 | if (!stralloc_cats(&line,"-return-")) die_nomem(); | ^ ezmlm-send.c:283:44: 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] 283 | if (!stralloc_catb(&line,strnum,fmt_ulong(strnum,msgnum))) die_nomem(); | ^ ezmlm-send.c:283: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] 283 | if (!stralloc_catb(&line,strnum,fmt_ulong(strnum,msgnum))) die_nomem(); | ^ ezmlm-send.c:284: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] 284 | if (!stralloc_cats(&line,"-@")) die_nomem(); | ^ ezmlm-send.c:285: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] 285 | if (!stralloc_cat(&line,&outhost)) die_nomem(); | ^ ezmlm-send.c:286: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] 286 | if (!stralloc_cats(&line,"-@[]")) die_nomem(); | ^ ezmlm-send.c:287: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] 287 | if (!stralloc_0(&line)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-send.c:289: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] 289 | qmail_from(&qq,line.s); | ^ ezmlm-send.c:293: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] 293 | if (!stralloc_copys(&fnsub,"subscribers/")) die_nomem(); | ^ ezmlm-send.c:294: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] 294 | if (!stralloc_catb(&fnsub,&ch,1)) strerr_die2x(111,FATAL,"out of memory"); | ^ ezmlm-send.c:294:39: 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] 294 | if (!stralloc_catb(&fnsub,&ch,1)) 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) | ^ ezmlm-send.c:295: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] 295 | if (!stralloc_0(&fnsub)) strerr_die2x(111,FATAL,"out of memory"); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-send.c:295:30: 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] 295 | if (!stralloc_0(&fnsub)) 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) | ^ ezmlm-send.c:296:19: 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] 296 | fd = open_read(fnsub.s); | ^ ezmlm-send.c:299:2: 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] 299 | strerr_die4sys(111,FATAL,"unable to read ",fnsub.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-send.c:302:21: 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] 302 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf)); | ^ ezmlm-send.c:303:21: 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] 303 | substdio_fdbuf(&ssout,mywrite,-1,outbuf,sizeof(outbuf)); | ^ ezmlm-send.c:304:24: 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] 304 | if (substdio_copy(&ssout,&ssin) != 0) | ^ ezmlm-send.c:305:2: 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] 305 | strerr_die4sys(111,FATAL,"unable to read ",fnsub.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-send.c:306:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | close(fd); | ^ ezmlm-send.c:310:21: 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] 310 | switch(qmail_close(&qq)) { | ^ ezmlm-send.c:312:39: 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] 312 | strnum[fmt_ulong(strnum,qmail_qp(&qq))] = 0; | ^ ezmlm-send.c:312:23: 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] 312 | strnum[fmt_ulong(strnum,qmail_qp(&qq))] = 0; | ^ ezmlm-send.c:313: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] 313 | strerr_die2x(0,"ezmlm-send: info: qp ",strnum); | ^ ./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) | ^ ezmlm-send.c:317: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] 317 | strerr_die2x(111,FATAL,"temporary qmail-queue error"); | ^ ./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) | ^ ezmlm-send.c:137:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | void main(argc,argv) | ^ 112 warnings generated. --- ezmlm-make.o --- ezmlm-make.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_die1x(100,"ezmlm-make: usage: ezmlm-make [ -aApP ] dir dot local host"); | ^ ./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) | ^ ezmlm-make.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,"dir must start with slash"); | ^ ./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) | ^ ezmlm-make.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,"newlines not allowed"); | ^ ./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) | ^ ezmlm-make.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_die2x(100,FATAL,"quotes not allowed"); | ^ ./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) | ^ ezmlm-make.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_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) | ^ ezmlm-make.c:43:31: 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] 43 | ch = u; if (!stralloc_append(&key,&ch)) die_nomem(); u >>= 8; | ^ ezmlm-make.c:44:31: 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] 44 | ch = u; if (!stralloc_append(&key,&ch)) die_nomem(); u >>= 8; | ^ ezmlm-make.c:45:31: 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] 45 | ch = u; if (!stralloc_append(&key,&ch)) die_nomem(); u >>= 8; | ^ ezmlm-make.c:46:31: 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] 46 | ch = u; if (!stralloc_append(&key,&ch)) die_nomem(); | ^ ezmlm-make.c:39:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | void keyadd(u) | ^ ezmlm-make.c:66: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] 66 | if (!stralloc_copys(&dirplus,dir)) die_nomem(); | ^ ezmlm-make.c:67: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] 67 | if (!stralloc_cats(&dirplus,slash)) die_nomem(); | ^ ezmlm-make.c:68: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] 68 | if (!stralloc_0(&dirplus)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-make.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 dirplusmake(slash) | ^ ezmlm-make.c:75: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] 75 | if (!stralloc_copys(&dotplus,dot)) die_nomem(); | ^ ezmlm-make.c:76: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] 76 | if (!stralloc_cats(&dotplus,dash)) die_nomem(); | ^ ezmlm-make.c:77: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] 77 | if (!stralloc_0(&dotplus)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-make.c:79:7: warning: call to undeclared function 'symlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | if (symlink(dirplus.s,dotplus.s) == -1) | ^ ezmlm-make.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_die4sys(111,FATAL,"unable to create ",dotplus.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-make.c:71:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | void linkdotdir(dash,slash) | ^ ezmlm-make.c:88:7: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | if (mkdir(dirplus.s,0755) == -1) | ^ ezmlm-make.c:89: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] 89 | strerr_die4sys(111,FATAL,"unable to create ",dirplus.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-make.c:84:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | void dcreate(slash) | ^ ezmlm-make.c:96:6: warning: declaration of built-in function 'fopen' requires inclusion of the header [-Wbuiltin-requires-header] 96 | void fopen(slash) | ^ ezmlm-make.c:102: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] 102 | fd = open_trunc(dirplus.s); | ^ ezmlm-make.c:104: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] 104 | strerr_die4sys(111,FATAL,"unable to create ",dirplus.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-make.c:106: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] 106 | substdio_fdbuf(&ss,write,fd,ssbuf,sizeof(ssbuf)); | ^ ezmlm-make.c:96:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | void fopen(slash) | ^ ezmlm-make.c:113:20: warning: passing arguments to 'substdio_bput' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | if (substdio_bput(&ss,buf,len) == -1) | ^ ezmlm-make.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_die4sys(111,FATAL,"unable to write to ",dirplus.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-make.c:109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | void fput(buf,len) | ^ ezmlm-make.c:119:21: warning: passing arguments to 'substdio_bputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | if (substdio_bputs(&ss,buf) == -1) | ^ ezmlm-make.c:120: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] 120 | strerr_die4sys(111,FATAL,"unable to write to ",dirplus.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-make.c:116:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | void fputs(buf) | ^ ezmlm-make.c:125: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] 125 | if (substdio_flush(&ss) == -1) | ^ ezmlm-make.c:126: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] 126 | strerr_die4sys(111,FATAL,"unable to write to ",dirplus.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-make.c:127:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | if (fsync(ss.fd) == -1) | ^ ezmlm-make.c:128: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] 128 | strerr_die4sys(111,FATAL,"unable to write to ",dirplus.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-make.c:129:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | if (close(ss.fd) == -1) /* NFS stupidity */ | ^ ezmlm-make.c:130: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] 130 | strerr_die4sys(111,FATAL,"unable to write to ",dirplus.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-make.c:134:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 134 | void main(argc,argv) | ^ ezmlm-make.c:134:1: note: change return type to 'int' 134 | void main(argc,argv) | ^~~~ | int ezmlm-make.c:142:10: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | keyadd(getpid()); | ^ ezmlm-make.c:143:10: warning: call to undeclared function 'getppid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | keyadd(getppid()); | ^ ezmlm-make.c:144:10: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | keyadd(getuid()); | ^ ezmlm-make.c:145:10: warning: call to undeclared function 'getgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | keyadd(getgid()); | ^ ezmlm-make.c:149:3: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | umask(077); | ^ ezmlm-make.c:154: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] 154 | while ((opt = getopt(argc,argv,"aApP")) != opteof) | ^ ezmlm-make.c:171:18: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | if (dir[str_chr(dir,'\'')]) die_quote(); | ^ ezmlm-make.c:172:18: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | if (dir[str_chr(dir,'\n')]) die_newline(); | ^ ezmlm-make.c:173:20: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | if (local[str_chr(local,'\n')]) die_newline(); | ^ ezmlm-make.c:174:19: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | if (host[str_chr(host,'\n')]) die_newline(); | ^ ezmlm-make.c:134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | void main(argc,argv) | ^ 52 warnings generated. --- auto-str --- ./load auto-str substdio.a error.a str.a --- ezmlm-list --- --- ezmlm-weed --- --- ezmlm-manage.o --- In file included from ezmlm-manage.c:25: ./log.h:4:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] 4 | extern void log(); | ^ ./log.h:4:13: note: 'log' is a builtin with type 'double (double)' ezmlm-manage.c:28:20: 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] 28 | void die_usage() { strerr_die1x(100,"ezmlm-manage: usage: ezmlm-manage dir"); } | ^ ./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) | ^ ezmlm-manage.c:29:20: 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 | void die_nomem() { 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) | ^ ezmlm-manage.c:32: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] 32 | strerr_die2x(100,FATAL,"I do not accept messages at this address (#5.1.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) | ^ ezmlm-manage.c:61:8: warning: call to undeclared function 'scan_ulong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | x += scan_ulong(x,&u); | ^ ezmlm-manage.c:67:19: 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] 67 | strnum[fmt_ulong(strnum,u)] = 0; | ^ ezmlm-manage.c:68:9: warning: passing arguments to 'cookie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | cookie(hash,key.s,key.len,strnum,target.s,action + 1); | ^ ezmlm-manage.c:71:14: 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] 71 | if (str_len(x) != COOKIE) return 0; | ^ ezmlm-manage.c:72:10: 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] 72 | return byte_equal(hash,COOKIE,x); | ^ ./byte.h:11:38: note: expanded from macro 'byte_equal' 11 | #define byte_equal(s,n,t) (!byte_diff((s),(n),(t))) | ^ ezmlm-manage.c:54:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | int hashok(action) | ^ ezmlm-manage.c:78: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] 78 | qmail_put(&qq,buf,len); | ^ ezmlm-manage.c:76:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | int qqwrite(fd,buf,len) int fd; char *buf; unsigned int len; | ^ ezmlm-manage.c:97:8: warning: call to undeclared function 'open_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | fd = open_read(fn); | ^ ezmlm-manage.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 open ",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) | ^ ezmlm-manage.c:101: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] 101 | substdio_fdbuf(&sstext,read,fd,textbuf,sizeof(textbuf)); | ^ ezmlm-manage.c:103: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] 103 | if (getln(&sstext,&line,&match,'\n') == -1) | ^ ezmlm-manage.c:104: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] 104 | 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) | ^ ezmlm-manage.c:109:14: 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] 109 | qmail_puts(&qq," "); | ^ ezmlm-manage.c:110:14: 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] 110 | qmail_puts(&qq,confirm.s); | ^ ezmlm-manage.c:111:14: 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] 111 | qmail_puts(&qq,"\n"); | ^ ezmlm-manage.c:115:14: 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] 115 | qmail_puts(&qq," "); | ^ ezmlm-manage.c:116:14: 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] 116 | qmail_puts(&qq,target.s); | ^ ezmlm-manage.c:117:14: 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] 117 | qmail_puts(&qq,"\n"); | ^ ezmlm-manage.c:122:14: 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] 122 | qmail_put(&qq,line.s,line.len); | ^ ezmlm-manage.c:128:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | close(fd); | ^ ezmlm-manage.c:91:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | void copy(fn) | ^ ezmlm-manage.c:133:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 133 | void main(argc,argv) | ^ ezmlm-manage.c:133:1: note: change return type to 'int' 133 | void main(argc,argv) | ^~~~ | int ezmlm-manage.c:156: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] 156 | sender = env_get("SENDER"); | ^ ezmlm-manage.c:157:16: 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] 157 | if (!sender) strerr_die2x(100,FATAL,"SENDER not 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) | ^ ezmlm-manage.c:158:18: 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] 158 | local = env_get("LOCAL"); | ^ ezmlm-manage.c:159:15: 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] 159 | if (!local) strerr_die2x(100,FATAL,"LOCAL not 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) | ^ ezmlm-manage.c:160:17: 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] 160 | host = env_get("HOST"); | ^ ezmlm-manage.c:161:14: 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] 161 | if (!host) strerr_die2x(100,FATAL,"HOST not 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) | ^ ezmlm-manage.c:164: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] 164 | strerr_die2x(100,FATAL,"I don't reply to bounce messages (#5.7.2)"); | ^ ./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) | ^ ezmlm-manage.c:165:22: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | if (!sender[str_chr(sender,'@')]) | ^ ezmlm-manage.c:166: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] --- ezmlm-list --- ./load ezmlm-list strerr.a getln.a substdio.a stralloc.a alloc.a error.a open.a str.a --- ezmlm-manage.o --- 166 | strerr_die2x(100,FATAL,"I don't reply to senders without host names (#5.7.2)"); | ^ ./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) | ^ ezmlm-manage.c:167:7: 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] 167 | if (str_equal(sender,"#@[]")) | ^ ./str.h:12:34: note: expanded from macro 'str_equal' 12 | #define str_equal(s,t) (!str_diff((s),(t))) | ^ ezmlm-manage.c:168: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] 168 | strerr_die2x(100,FATAL,"I don't reply to bounce messages (#5.7.2)"); | ^ ./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) | ^ ezmlm-manage.c:170:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | if (chdir(dir) == -1) | ^ ezmlm-manage.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_die4sys(111,FATAL,"unable to switch to ",dir,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-manage.c:173:15: warning: passing arguments to 'slurp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | switch(slurp("key",&key,32)) { | ^ ezmlm-manage.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_die4sys(111,FATAL,"unable to read ",dir,"/key: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-manage.c:177: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] 177 | strerr_die3x(100,FATAL,dir,"/key does not exist"); | ^ ./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) | ^ ezmlm-manage.c:179:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | getconf_line(&mailinglist,"mailinglist",1,FATAL,dir); | ^ ezmlm-manage.c:180:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | getconf_line(&inhost,"inhost",1,FATAL,dir); | ^ ezmlm-manage.c:181:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | getconf_line(&inlocal,"inlocal",1,FATAL,dir); | ^ ezmlm-manage.c:182:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | getconf_line(&outhost,"outhost",1,FATAL,dir); --- ezmlm-weed --- ./load ezmlm-weed getln.a strerr.a substdio.a error.a stralloc.a alloc.a str.a --- ezmlm-manage.o --- | ^ ezmlm-manage.c:183:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | getconf_line(&outlocal,"outlocal",1,FATAL,dir); | ^ ezmlm-manage.c:185:28: 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] 185 | if (inhost.len != str_len(host)) die_badaddr(); | ^ ezmlm-manage.c:186:17: warning: passing arguments to 'case_diffb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | if (case_diffb(inhost.s,inhost.len,host)) die_badaddr(); | ^ ezmlm-manage.c:187:28: 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] 187 | if (inlocal.len > str_len(local)) die_badaddr(); | ^ ezmlm-manage.c:188:17: warning: passing arguments to 'case_diffb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | if (case_diffb(inlocal.s,inlocal.len,local)) die_badaddr(); | ^ ezmlm-manage.c:192:15: warning: passing arguments to 'slurp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | switch(slurp("public",&line,1)) { | ^ ezmlm-manage.c:194: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] 194 | strerr_die4sys(111,FATAL,"unable to read ",dir,"/public: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-manage.c:196: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] 196 | strerr_die2x(100,FATAL,"sorry, I've been told to reject all requests (#5.7.2)"); | ^ ./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) | ^ ezmlm-manage.c:199: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] 199 | if (!stralloc_copys(&target,sender)) die_nomem(); | ^ ezmlm-manage.c:201:20: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | i = 1 + str_chr(action + 1,'-'); | ^ ezmlm-manage.c:204: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] 204 | if (!stralloc_copys(&target,action + i + 1)) die_nomem(); | ^ ezmlm-manage.c:205:20: warning: passing arguments to 'byte_rchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | i = byte_rchr(target.s,target.len,'='); | ^ ezmlm-manage.c:210: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] 210 | if (!stralloc_0(&target)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-manage.c:211: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] 211 | if (!stralloc_copys(&confirm,"")) die_nomem(); | ^ ezmlm-manage.c:213: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] 213 | if (qmail_open(&qq) == -1) | ^ ezmlm-manage.c:214: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] 214 | strerr_die2sys(111,FATAL,"unable to run qmail-queue: "); | ^ ./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) | ^ ezmlm-manage.c:216: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] 216 | qmail_puts(&qq,"Mailing-List: "); | ^ ezmlm-manage.c:217: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] 217 | qmail_put(&qq,mailinglist.s,mailinglist.len); | ^ ezmlm-manage.c:218: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] 218 | qmail_puts(&qq,"\nDate: "); | ^ ezmlm-manage.c:219:15: warning: passing arguments to 'datetime_tai' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | datetime_tai(&dt,when); | ^ ezmlm-manage.c:220:32: warning: passing arguments to 'date822fmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | qmail_put(&qq,date,date822fmt(date,&dt)); | ^ ezmlm-manage.c:220: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] 220 | qmail_put(&qq,date,date822fmt(date,&dt)); | ^ ezmlm-manage.c:221: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] 221 | qmail_puts(&qq,"Message-ID: <"); | ^ ezmlm-manage.c:222:33: 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] 222 | qmail_put(&qq,strnum,fmt_ulong(strnum,(unsigned long) when)); | ^ ezmlm-manage.c:222: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] 222 | qmail_put(&qq,strnum,fmt_ulong(strnum,(unsigned long) when)); | ^ ezmlm-manage.c:223: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] 223 | qmail_puts(&qq,"."); | ^ ezmlm-manage.c:224:57: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | qmail_put(&qq,strnum,fmt_ulong(strnum,(unsigned long) getpid())); | ^ ezmlm-manage.c:224:33: 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] 224 | qmail_put(&qq,strnum,fmt_ulong(strnum,(unsigned long) getpid())); | ^ ezmlm-manage.c:224: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] 224 | qmail_put(&qq,strnum,fmt_ulong(strnum,(unsigned long) getpid())); | ^ ezmlm-manage.c:225: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] 225 | qmail_puts(&qq,".ezmlm@"); | ^ ezmlm-manage.c:226: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] 226 | qmail_put(&qq,outhost.s,outhost.len); | ^ ezmlm-manage.c:227: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] 227 | qmail_puts(&qq,">\nFrom: "); | ^ ezmlm-manage.c:228:13: warning: passing arguments to 'quote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | if (!quote("ed,&outlocal)) die_nomem(); | ^ ezmlm-manage.c:229: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] 229 | qmail_put(&qq,quoted.s,quoted.len); | ^ ezmlm-manage.c:230: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] 230 | qmail_puts(&qq,"-help@"); | ^ ezmlm-manage.c:231: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] 231 | qmail_put(&qq,outhost.s,outhost.len); | ^ ezmlm-manage.c:232: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] 232 | qmail_puts(&qq,"\nTo: "); | ^ ezmlm-manage.c:233:14: warning: passing arguments to 'quote2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | if (!quote2("ed,target.s)) die_nomem(); | ^ ezmlm-manage.c:234: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] 234 | qmail_put(&qq,quoted.s,quoted.len); | ^ ezmlm-manage.c:235: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] 235 | qmail_puts(&qq,"\n"); | ^ ezmlm-manage.c:238:16: warning: passing arguments to 'str_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | if (str_start(action,"-sc.")) flaghashok = hashok(action); | ^ ezmlm-manage.c:239:16: warning: passing arguments to 'str_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | if (str_start(action,"-uc.")) flaghashok = hashok(action); | ^ ezmlm-manage.c:242:7: 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] 242 | if (str_equal(action,"-subscribe")) flagconfirm = 1; | ^ ./str.h:12:34: note: expanded from macro 'str_equal' 12 | #define str_equal(s,t) (!str_diff((s),(t))) | ^ ezmlm-manage.c:243:7: 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] 243 | if (str_equal(action,"-unsubscribe")) flagconfirm = 1; | ^ ./str.h:12:34: note: expanded from macro 'str_equal' 12 | #define str_equal(s,t) (!str_diff((s),(t))) | ^ ezmlm-manage.c:247:21: 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] 247 | strnum[fmt_ulong(strnum,(unsigned long) when)] = 0; | ^ ezmlm-manage.c:248:11: warning: passing arguments to 'cookie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | cookie(hash,key.s,key.len,strnum,target.s,action + 1); | ^ ezmlm-manage.c:249: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] 249 | if (!stralloc_copy(&confirm,&outlocal)) die_nomem(); | ^ ezmlm-manage.c:250: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] 250 | if (!stralloc_cats(&confirm,"-")) die_nomem(); | ^ ezmlm-manage.c:251: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] 251 | if (!stralloc_catb(&confirm,action + 1,1)) die_nomem(); | ^ ezmlm-manage.c:252: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] 252 | if (!stralloc_cats(&confirm,"c.")) die_nomem(); | ^ ezmlm-manage.c:253: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] 253 | if (!stralloc_cats(&confirm,strnum)) die_nomem(); | ^ ezmlm-manage.c:254: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] 254 | if (!stralloc_cats(&confirm,".")) die_nomem(); | ^ ezmlm-manage.c:255: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] 255 | if (!stralloc_catb(&confirm,hash,COOKIE)) die_nomem(); | ^ ezmlm-manage.c:256: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] 256 | if (!stralloc_cats(&confirm,"-")) die_nomem(); | ^ ezmlm-manage.c:257:17: warning: passing arguments to 'str_rchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | i = str_rchr(target.s,'@'); | ^ ezmlm-manage.c:258: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] 258 | if (!stralloc_catb(&confirm,target.s,i)) die_nomem(); | ^ ezmlm-manage.c:260: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] 260 | if (!stralloc_cats(&confirm,"=")) die_nomem(); | ^ ezmlm-manage.c:261: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] 261 | if (!stralloc_cats(&confirm,target.s + i + 1)) die_nomem(); | ^ ezmlm-manage.c:263: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] 263 | if (!stralloc_cats(&confirm,"@")) die_nomem(); | ^ ezmlm-manage.c:264: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] 264 | if (!stralloc_cat(&confirm,&outhost)) die_nomem(); | ^ ezmlm-manage.c:265: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] 265 | if (!stralloc_0(&confirm)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-manage.c:267:15: 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] 267 | qmail_puts(&qq,"Reply-To: "); | ^ ezmlm-manage.c:268:16: warning: passing arguments to 'quote2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | if (!quote2("ed,confirm.s)) die_nomem(); | ^ ezmlm-manage.c:269:14: 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] 269 | qmail_put(&qq,quoted.s,quoted.len); | ^ ezmlm-manage.c:270:15: 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] 270 | qmail_puts(&qq,"\n"); | ^ ezmlm-manage.c:272: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] 272 | if (!stralloc_0(&confirm)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-manage.c:274: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] 274 | qmail_puts(&qq,"Subject: ezmlm response\n"); | ^ ezmlm-manage.c:276: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] 276 | if (!stralloc_copys(&mydtline,"Delivered-To: responder for ")) die_nomem(); | ^ ezmlm-manage.c:277: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] 277 | if (!stralloc_catb(&mydtline,outlocal.s,outlocal.len)) die_nomem(); | ^ ezmlm-manage.c:278: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] 278 | if (!stralloc_cats(&mydtline,"@")) die_nomem(); | ^ ezmlm-manage.c:279: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] 279 | if (!stralloc_catb(&mydtline,outhost.s,outhost.len)) die_nomem(); | ^ ezmlm-manage.c:280: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] 280 | if (!stralloc_cats(&mydtline,"\n")) die_nomem(); | ^ ezmlm-manage.c:282: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] 282 | qmail_put(&qq,mydtline.s,mydtline.len); | ^ ezmlm-manage.c:286: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] 286 | if (getln(&ssin,&line,&match,'\n') == -1) | ^ ezmlm-manage.c:287: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] 287 | 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) | ^ ezmlm-manage.c:292:22: warning: passing arguments to 'case_startb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | if (case_startb(line.s,line.len,"mailing-list:")) | ^ ezmlm-manage.c:293: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] 293 | strerr_die2x(100,FATAL,"incoming message has Mailing-List (#5.7.2)"); | ^ ./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) | ^ ezmlm-manage.c:295:6: 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] 295 | if (byte_equal(line.s,line.len,mydtline.s)) | ^ ./byte.h:11:38: note: expanded from macro 'byte_equal' 11 | #define byte_equal(s,n,t) (!byte_diff((s),(n),(t))) | ^ ezmlm-manage.c:296: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] 296 | strerr_die2x(100,FATAL,"this message is looping: it already has my Delivered-To line (#5.4.6)"); | ^ ./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) | ^ ezmlm-manage.c:297:22: warning: passing arguments to 'case_startb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | if (case_startb(line.s,line.len,"delivered-to:")) | ^ ezmlm-manage.c:299:22: warning: passing arguments to 'case_startb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | if (case_startb(line.s,line.len,"received:")) | ^ ezmlm-manage.c:303:16: 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] 303 | qmail_put(&qq,line.s,line.len); | ^ ezmlm-manage.c:305: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] 305 | 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)) | ^ ezmlm-manage.c:306: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] 306 | strerr_die2sys(111,FATAL,"unable to seek 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) | ^ ezmlm-manage.c:308: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] 308 | qmail_puts(&qq,"\n"); | ^ ezmlm-manage.c:310:7: 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] 310 | if (str_equal(action,"-subscribe")) | ^ ./str.h:12:34: note: expanded from macro 'str_equal' 12 | #define str_equal(s,t) (!str_diff((s),(t))) | ^ ezmlm-manage.c:312:12: 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] 312 | else if (str_equal(action,"-unsubscribe")) | ^ ./str.h:12:34: note: expanded from macro 'str_equal' 12 | #define str_equal(s,t) (!str_diff((s),(t))) | ^ ezmlm-manage.c:314:21: warning: passing arguments to 'str_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | else if (str_start(action,"-sc.")) { | ^ ezmlm-manage.c:318:23: warning: passing arguments to 'subscribe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | switch(subscribe(target.s,1)) { | ^ ezmlm-manage.c:319:18: 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] 319 | case -1: strerr_die1(111,FATAL,&subscribe_err); | ^ ./strerr.h:52:11: note: expanded from macro 'strerr_die1' 52 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ ezmlm-manage.c:320:18: 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] 320 | case -2: strerr_die1(100,FATAL,&subscribe_err); | ^ ./strerr.h:52:11: note: expanded from macro 'strerr_die1' 52 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ ezmlm-manage.c:321:13: warning: passing arguments to 'log' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | case 1: log("+",target.s); copy("text/sub-ok"); break; | ^ ezmlm-manage.c:325:21: warning: passing arguments to 'str_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | else if (str_start(action,"-uc.")) { | ^ ezmlm-manage.c:329:23: warning: passing arguments to 'subscribe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | switch(subscribe(target.s,0)) { | ^ ezmlm-manage.c:330:18: 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] 330 | case -1: strerr_die1(111,FATAL,&subscribe_err); | ^ ./strerr.h:52:11: note: expanded from macro 'strerr_die1' 52 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ ezmlm-manage.c:331:18: 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] 331 | case -2: strerr_die1(100,FATAL,&subscribe_err); | ^ ./strerr.h:52:11: note: expanded from macro 'strerr_die1' 52 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ ezmlm-manage.c:332:13: warning: passing arguments to 'log' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | case 1: log("-",target.s); copy("text/unsub-ok"); break; | ^ ezmlm-manage.c:336:21: warning: passing arguments to 'str_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | else if (str_start(action,"-get.")) { | ^ ezmlm-manage.c:342:5: warning: call to undeclared function 'scan_ulong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | scan_ulong(action + 5,&u); | ^ ezmlm-manage.c:344: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] 344 | if (!stralloc_copys(&line,"archive/")) die_nomem(); | ^ ezmlm-manage.c:345:46: 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] 345 | if (!stralloc_catb(&line,strnum,fmt_ulong(strnum,u / 100))) die_nomem(); | ^ ezmlm-manage.c:345: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] 345 | if (!stralloc_catb(&line,strnum,fmt_ulong(strnum,u / 100))) die_nomem(); | ^ ezmlm-manage.c:346: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] 346 | if (!stralloc_cats(&line,"/")) die_nomem(); | ^ ezmlm-manage.c:347:46: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | if (!stralloc_catb(&line,strnum,fmt_uint0(strnum,(unsigned int) (u % 100),2))) die_nomem(); | ^ ezmlm-manage.c:347: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] 347 | if (!stralloc_catb(&line,strnum,fmt_uint0(strnum,(unsigned int) (u % 100),2))) die_nomem(); | ^ ezmlm-manage.c:348: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] 348 | if (!stralloc_0(&line)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-manage.c:350:10: warning: call to undeclared function 'open_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | fd = open_read(line.s); | ^ ezmlm-manage.c:353:2: 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] 353 | strerr_die4sys(111,FATAL,"unable to open ",line.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-manage.c:362:23: 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] 362 | substdio_fdbuf(&sstext,read,fd,textbuf,sizeof(textbuf)); | ^ ezmlm-manage.c:363:12: 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] 363 | qmail_puts(&qq,"> "); | ^ ezmlm-manage.c:365:20: 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] 365 | r = substdio_get(&sstext,&ch,1); | ^ ezmlm-manage.c:366: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] 366 | if (r == -1) strerr_die4sys(111,FATAL,"unable to read ",line.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-manage.c:368:13: 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] 368 | qmail_put(&qq,&ch,1); | ^ ezmlm-manage.c:369:30: 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] 369 | if (ch == '\n') qmail_puts(&qq,"> "); | ^ ezmlm-manage.c:371:12: 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] 371 | qmail_puts(&qq,"\n"); | ^ ezmlm-manage.c:373:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 373 | close(fd); | ^ ezmlm-manage.c:381: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] 381 | qmail_puts(&qq,"Return-Path: <"); | ^ ezmlm-manage.c:382:14: warning: passing arguments to 'quote2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | if (!quote2("ed,sender)) die_nomem(); | ^ ezmlm-manage.c:383: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] 383 | qmail_put(&qq,quoted.s,quoted.len); | ^ ezmlm-manage.c:384: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] 384 | qmail_puts(&qq,">\n"); | ^ ezmlm-manage.c:385: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] 385 | if (substdio_copy(&ssqq,&ssin2) != 0) | ^ ezmlm-manage.c:386: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] 386 | 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) | ^ ezmlm-manage.c:388: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] 388 | if (!stralloc_copy(&line,&outlocal)) die_nomem(); | ^ ezmlm-manage.c:389: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] 389 | if (!stralloc_cats(&line,"-return-@")) die_nomem(); | ^ ezmlm-manage.c:390: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] 390 | if (!stralloc_cat(&line,&outhost)) die_nomem(); | ^ ezmlm-manage.c:391: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] 391 | if (!stralloc_0(&line)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-manage.c:392: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] 392 | qmail_from(&qq,line.s); | ^ ezmlm-manage.c:394:11: 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] 394 | qmail_to(&qq,target.s); | ^ ezmlm-manage.c:396:21: 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] 396 | switch(qmail_close(&qq)) { | ^ ezmlm-manage.c:398:39: 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] 398 | strnum[fmt_ulong(strnum,qmail_qp(&qq))] = 0; | ^ ezmlm-manage.c:398:23: 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] 398 | strnum[fmt_ulong(strnum,qmail_qp(&qq))] = 0; | ^ ezmlm-manage.c:399: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] 399 | strerr_die2x(0,"ezmlm-manage: info: qp ",strnum); | ^ ./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) | ^ ezmlm-manage.c:402: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] 402 | strerr_die2x(111,FATAL,"temporary qmail-queue error"); | ^ ./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) | ^ ezmlm-manage.c:133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | void main(argc,argv) | ^ 181 warnings generated. --- ezmlm-reject --- ./load ezmlm-reject getln.a strerr.a substdio.a error.a stralloc.a alloc.a str.a getopt.a case.a --- ezmlm-return.o --- In file included from ezmlm-return.c:20: ./log.h:4:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] 4 | extern void log(); | ^ ./log.h:4:13: note: 'log' is a builtin with type 'double (double)' ezmlm-return.c:23:20: 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] 23 | void die_usage() { strerr_die1x(100,"ezmlm-return: usage: ezmlm-return dir"); } | ^ ./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) | ^ ezmlm-return.c:24:20: 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 | void die_nomem() { 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) | ^ ezmlm-return.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_die2x(100,FATAL,"I do not accept messages at this address (#5.1.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) | ^ ezmlm-return.c:31: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] 31 | strerr_die1x(0,"ezmlm-return: info: trash address"); | ^ ./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) | ^ ezmlm-return.c:52: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] 52 | { strerr_die4sys(111,FATAL,"unable to write ",fnhashnew.s,": "); } | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-return.c:54: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] 54 | { strerr_die4sys(111,FATAL,"unable to write ",fndatenew.s,": "); } | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-return.c:56: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] 56 | { 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) | ^ ezmlm-return.c:65:13: warning: passing arguments to 'issub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | if (!issub(addr)) return; | ^ ezmlm-return.c:67: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] 67 | if (!stralloc_copys(&fndate,"bounce/w")) die_nomem(); | ^ ezmlm-return.c:68:46: 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] 68 | if (!stralloc_catb(&fndate,strnum,fmt_ulong(strnum,when))) die_nomem(); | ^ ezmlm-return.c:68: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] 68 | if (!stralloc_catb(&fndate,strnum,fmt_ulong(strnum,when))) die_nomem(); | ^ ezmlm-return.c:69: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] 69 | if (!stralloc_cats(&fndate,".")) die_nomem(); | ^ ezmlm-return.c:70:70: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | if (!stralloc_catb(&fndate,strnum,fmt_ulong(strnum,(unsigned long) getpid()))) die_nomem(); | ^ ezmlm-return.c:70:46: 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] 70 | if (!stralloc_catb(&fndate,strnum,fmt_ulong(strnum,(unsigned long) getpid()))) die_nomem(); | ^ ezmlm-return.c:70: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] 70 | if (!stralloc_catb(&fndate,strnum,fmt_ulong(strnum,(unsigned long) getpid()))) die_nomem(); | ^ ezmlm-return.c:71: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] 71 | if (!stralloc_0(&fndate)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-return.c:72: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] 72 | if (!stralloc_copy(&fndatenew,&fndate)) die_nomem(); | ^ ezmlm-return.c:75:8: warning: call to undeclared function 'open_trunc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | fd = open_trunc(fndatenew.s); | ^ ezmlm-return.c:77: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] 77 | substdio_fdbuf(&ssout,write,fd,outbuf,sizeof(outbuf)); | ^ ezmlm-return.c:78: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] 78 | if (substdio_puts(&ssout,addr) == -1) die_datenew(); | ^ ezmlm-return.c:79: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] 79 | if (substdio_put(&ssout,"",1) == -1) die_datenew(); | ^ ezmlm-return.c:80: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] 80 | if (substdio_puts(&ssout,"Return-Path: <") == -1) die_datenew(); | ^ ezmlm-return.c:81:14: warning: passing arguments to 'quote2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | if (!quote2("ed,sender)) die_nomem(); | ^ ezmlm-return.c:82: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] 82 | if (substdio_put(&ssout,quoted.s,quoted.len) == -1) die_datenew(); | ^ ezmlm-return.c:83: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] 83 | if (substdio_puts(&ssout,">\n") == -1) die_datenew(); | ^ ezmlm-return.c:84: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] 84 | if (substdio_put(&ssout,bounce->s,bounce->len) == -1) die_datenew(); | ^ ezmlm-return.c:85: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] 85 | if (substdio_flush(&ssout) == -1) die_datenew(); | ^ ezmlm-return.c:86:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | if (fsync(fd) == -1) die_datenew(); | ^ ezmlm-return.c:87:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | if (close(fd) == -1) die_datenew(); /* NFS stupidity */ | ^ ezmlm-return.c:89:7: warning: call to undeclared function 'rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | if (rename(fndatenew.s,fndate.s) == -1) | ^ ezmlm-return.c:90: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] 90 | strerr_die6sys(111,FATAL,"unable to rename ",fndatenew.s," to ",fndate.s,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ ezmlm-return.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 dowit(addr,when,bounce) | ^ ezmlm-return.c:102:13: warning: passing arguments to 'issub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | if (!issub(addr)) return; | ^ ezmlm-return.c:104: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] 104 | if (!stralloc_copys(&fndate,"bounce/d")) die_nomem(); | ^ ezmlm-return.c:105:46: 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] 105 | if (!stralloc_catb(&fndate,strnum,fmt_ulong(strnum,when))) die_nomem(); | ^ ezmlm-return.c:105: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] 105 | if (!stralloc_catb(&fndate,strnum,fmt_ulong(strnum,when))) die_nomem(); | ^ ezmlm-return.c:106: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] 106 | if (!stralloc_cats(&fndate,".")) die_nomem(); | ^ ezmlm-return.c:107:70: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | if (!stralloc_catb(&fndate,strnum,fmt_ulong(strnum,(unsigned long) getpid()))) die_nomem(); | ^ ezmlm-return.c:107:46: 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] 107 | if (!stralloc_catb(&fndate,strnum,fmt_ulong(strnum,(unsigned long) getpid()))) die_nomem(); | ^ ezmlm-return.c:107: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] 107 | if (!stralloc_catb(&fndate,strnum,fmt_ulong(strnum,(unsigned long) getpid()))) die_nomem(); | ^ ezmlm-return.c:108: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] 108 | if (!stralloc_0(&fndate)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-return.c:109: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] 109 | if (!stralloc_copy(&fndatenew,&fndate)) die_nomem(); | ^ ezmlm-return.c:112:8: warning: call to undeclared function 'open_trunc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | fd = open_trunc(fndatenew.s); | ^ ezmlm-return.c:114: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] 114 | substdio_fdbuf(&ssout,write,fd,outbuf,sizeof(outbuf)); | ^ ezmlm-return.c:115: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] 115 | if (substdio_puts(&ssout,addr) == -1) die_datenew(); | ^ ezmlm-return.c:116: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] 116 | if (substdio_put(&ssout,"",1) == -1) die_datenew(); | ^ ezmlm-return.c:117: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] 117 | if (substdio_puts(&ssout,"Return-Path: <") == -1) die_datenew(); | ^ ezmlm-return.c:118:14: warning: passing arguments to 'quote2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | if (!quote2("ed,sender)) die_nomem(); | ^ ezmlm-return.c:119: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] 119 | if (substdio_put(&ssout,quoted.s,quoted.len) == -1) die_datenew(); | ^ ezmlm-return.c:120: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] 120 | if (substdio_puts(&ssout,">\n") == -1) die_datenew(); | ^ ezmlm-return.c:121: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] 121 | if (substdio_put(&ssout,bounce->s,bounce->len) == -1) die_datenew(); | ^ ezmlm-return.c:122: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] 122 | if (substdio_flush(&ssout) == -1) die_datenew(); | ^ ezmlm-return.c:123:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | if (fsync(fd) == -1) die_datenew(); | ^ ezmlm-return.c:124:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | if (close(fd) == -1) die_datenew(); /* NFS stupidity */ | ^ ezmlm-return.c:126:9: warning: passing arguments to 'cookie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | cookie(hash,"",0,"",addr,""); | ^ ezmlm-return.c:127: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] 127 | if (!stralloc_copys(&fnhash,"bounce/h")) die_nomem(); | ^ ezmlm-return.c:128: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] 128 | if (!stralloc_catb(&fnhash,hash,COOKIE)) die_nomem(); | ^ ezmlm-return.c:129: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] 129 | if (!stralloc_0(&fnhash)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-return.c:130: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] 130 | if (!stralloc_copy(&fnhashnew,&fnhash)) die_nomem(); | ^ ezmlm-return.c:135: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] 135 | substdio_fdbuf(&ssout,write,fdnew,outbuf,sizeof(outbuf)); | ^ ezmlm-return.c:137:8: warning: call to undeclared function 'open_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | fd = open_read(fnhash.s); | ^ ezmlm-return.c:140: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] 140 | strerr_die4sys(111,FATAL,"unable to read ",fnhash.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-return.c:141:9: warning: call to undeclared function 'rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | if (rename(fndatenew.s,fndate.s) == -1) | ^ ezmlm-return.c:142: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] 142 | strerr_die6sys(111,FATAL,"unable to rename ",fndatenew.s," to ",fndate.s,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ ezmlm-return.c:145:19: 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] 145 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf)); | ^ ezmlm-return.c:146:25: 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] 146 | switch(substdio_copy(&ssout,&ssin)) { | ^ ezmlm-return.c:151:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | if (unlink(fndatenew.s) == -1) | ^ ezmlm-return.c:152: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] 152 | strerr_die4sys(111,FATAL,"unable to unlink ",fndatenew.s,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-return.c:154: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] 154 | if (substdio_puts(&ssout," ") == -1) die_hashnew(); | ^ ezmlm-return.c:155:43: 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] 155 | if (substdio_put(&ssout,strnum,fmt_ulong(strnum,msgnum)) == -1) die_hashnew(); | ^ ezmlm-return.c:155: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] 155 | if (substdio_put(&ssout,strnum,fmt_ulong(strnum,msgnum)) == -1) die_hashnew(); | ^ ezmlm-return.c:156: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] 156 | if (substdio_puts(&ssout,"\n") == -1) die_hashnew(); | ^ ezmlm-return.c:157: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] 157 | if (substdio_flush(&ssout) == -1) die_hashnew(); | ^ ezmlm-return.c:161:7: warning: call to undeclared function 'rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | if (rename(fnhashnew.s,fnhash.s) == -1) | ^ ezmlm-return.c:162: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] 162 | strerr_die6sys(111,FATAL,"unable to rename ",fnhashnew.s," to ",fnhash.s,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ ezmlm-return.c:93:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | void doit(addr,msgnum,when,bounce) | ^ ezmlm-return.c:183:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 183 | void main(argc,argv) | ^ ezmlm-return.c:183:1: note: change return type to 'int' 183 | void main(argc,argv) | ^~~~ | int ezmlm-return.c:198:3: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | umask(022); | ^ ezmlm-return.c:205: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] 205 | sender = env_get("SENDER"); | ^ ezmlm-return.c:206:16: 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] 206 | if (!sender) strerr_die2x(100,FATAL,"SENDER not 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) | ^ ezmlm-return.c:207:18: 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] 207 | local = env_get("LOCAL"); | ^ ezmlm-return.c:208:15: 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] 208 | if (!local) strerr_die2x(100,FATAL,"LOCAL not 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) | ^ ezmlm-return.c:209:17: 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] 209 | host = env_get("HOST"); | ^ ezmlm-return.c:210:14: 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 | if (!host) strerr_die2x(100,FATAL,"HOST not 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) | ^ ezmlm-return.c:212:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | if (chdir(dir) == -1) | ^ ezmlm-return.c:213: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] 213 | strerr_die4sys(111,FATAL,"unable to switch to ",dir,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-return.c:215:15: warning: passing arguments to 'slurp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | switch(slurp("key",&key,32)) { | ^ ezmlm-return.c:217: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] 217 | strerr_die4sys(111,FATAL,"unable to read ",dir,"/key: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-return.c:219: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] 219 | strerr_die3x(100,FATAL,dir,"/key does not exist"); | ^ ./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) | ^ ezmlm-return.c:221:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | getconf_line(&inhost,"inhost",1,FATAL,dir); | ^ ezmlm-return.c:222:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | getconf_line(&inlocal,"inlocal",1,FATAL,dir); | ^ ezmlm-return.c:223:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | getconf_line(&outhost,"outhost",1,FATAL,dir); | ^ ezmlm-return.c:224:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | getconf_line(&outlocal,"outlocal",1,FATAL,dir); | ^ ezmlm-return.c:226:28: 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] 226 | if (inhost.len != str_len(host)) die_badaddr(); | ^ ezmlm-return.c:227:17: warning: passing arguments to 'case_diffb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | if (case_diffb(inhost.s,inhost.len,host)) die_badaddr(); | ^ ezmlm-return.c:228:28: 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] 228 | if (inlocal.len > str_len(local)) die_badaddr(); | ^ ezmlm-return.c:229:17: warning: passing arguments to 'case_diffb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (case_diffb(inlocal.s,inlocal.len,local)) die_badaddr(); | ^ ezmlm-return.c:233:17: warning: passing arguments to 'str_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | if (!str_start(action,"-return-")) die_badaddr(); | ^ ezmlm-return.c:238:16: warning: passing arguments to 'str_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | if (str_start(action,"probe-")) { | ^ ezmlm-return.c:240:15: warning: call to undeclared function 'scan_ulong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | action += scan_ulong(action,&cookiedate); | ^ ezmlm-return.c:243:16: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | i = str_chr(action,'-'); | ^ ezmlm-return.c:245: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] 245 | byte_copy(hashcopy,COOKIE,action); | ^ ezmlm-return.c:248:17: warning: passing arguments to 'str_rchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | i = str_rchr(action,'='); | ^ ezmlm-return.c:249: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] 249 | if (!stralloc_copyb(&line,action,i)) die_nomem(); | ^ ezmlm-return.c:251: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] 251 | if (!stralloc_cats(&line,"@")) die_nomem(); | ^ ezmlm-return.c:252: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] 252 | if (!stralloc_cats(&line,action + i + 1)) die_nomem(); | ^ ezmlm-return.c:254: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] 254 | if (!stralloc_0(&line)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-return.c:255:21: 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] 255 | strnum[fmt_ulong(strnum,cookiedate)] = 0; | ^ ezmlm-return.c:256:11: warning: passing arguments to 'cookie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | cookie(hash,key.s,key.len,strnum,line.s,"P"); | ^ ezmlm-return.c:257:18: 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] 257 | if (byte_diff(hash,COOKIE,hashcopy)) die_trash(); | ^ ezmlm-return.c:259:18: warning: passing arguments to 'subscribe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | if (subscribe(line.s,0) == 1) log("-probe",line.s); | ^ ezmlm-return.c:259:38: warning: passing arguments to 'log' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | if (subscribe(line.s,0) == 1) log("-probe",line.s); | ^ ezmlm-return.c:260:5: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 260 | _exit(0); | ^ ezmlm-return.c:260:5: note: include the header or explicitly provide a declaration for '_exit' ezmlm-return.c:263:12: warning: call to undeclared function 'open_append'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | fdlock = open_append("lockbounce"); | ^ ezmlm-return.c:265: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] 265 | strerr_die4sys(111,FATAL,"unable to open ",dir,"/lockbounce: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-return.c:266:7: warning: call to undeclared function 'lock_ex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | if (lock_ex(fdlock) == -1) | ^ ezmlm-return.c:267: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] 267 | strerr_die4sys(111,FATAL,"unable to lock ",dir,"/lockbounce: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-return.c:269:16: warning: passing arguments to 'str_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | if (str_start(action,"warn-")) { | ^ ezmlm-return.c:271:15: warning: call to undeclared function 'scan_ulong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | action += scan_ulong(action,&cookiedate); | ^ ezmlm-return.c:274:16: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | i = str_chr(action,'-'); | ^ ezmlm-return.c:276: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] 276 | byte_copy(hashcopy,COOKIE,action); | ^ ezmlm-return.c:279:17: warning: passing arguments to 'str_rchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | i = str_rchr(action,'='); | ^ ezmlm-return.c:280: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] 280 | if (!stralloc_copyb(&line,action,i)) die_nomem(); | ^ ezmlm-return.c:282: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] 282 | if (!stralloc_cats(&line,"@")) die_nomem(); | ^ ezmlm-return.c:283: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] 283 | if (!stralloc_cats(&line,action + i + 1)) die_nomem(); | ^ ezmlm-return.c:285: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] 285 | if (!stralloc_0(&line)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-return.c:286:21: 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] 286 | strnum[fmt_ulong(strnum,cookiedate)] = 0; | ^ ezmlm-return.c:287:11: warning: passing arguments to 'cookie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | cookie(hash,key.s,key.len,strnum,line.s,"W"); | ^ ezmlm-return.c:288:18: 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] 288 | if (byte_diff(hash,COOKIE,hashcopy)) die_trash(); | ^ ezmlm-return.c:290:9: warning: call to undeclared function 'slurpclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | if (slurpclose(0,&bounce,1024) == -1) die_msgin(); | ^ ezmlm-return.c:295:13: warning: call to undeclared function 'scan_ulong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | action += scan_ulong(action,&msgnum); | ^ ezmlm-return.c:300:9: warning: call to undeclared function 'slurpclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 300 | if (slurpclose(0,&bounce,1024) == -1) die_msgin(); | ^ ezmlm-return.c:302:17: warning: passing arguments to 'str_rchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | i = str_rchr(action,'='); | ^ ezmlm-return.c:303: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] 303 | if (!stralloc_copyb(&line,action,i)) die_nomem(); | ^ ezmlm-return.c:305: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] 305 | if (!stralloc_cats(&line,"@")) die_nomem(); | ^ ezmlm-return.c:306: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] 306 | if (!stralloc_cats(&line,action + i + 1)) die_nomem(); | ^ ezmlm-return.c:308: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] 308 | if (!stralloc_0(&line)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-return.c:315: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] 315 | substdio_fdbuf(&ssmsgin,read,0,msginbuf,sizeof(msginbuf)); | ^ ezmlm-return.c:321: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] 321 | if (!stralloc_copys(¶graph,"")) die_nomem(); | ^ ezmlm-return.c:323:16: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | if (getln(&ssmsgin,&line,&match,'\n') == -1) die_msgin(); | ^ ezmlm-return.c:325: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] 325 | if (!stralloc_cat(¶graph,&line)) die_nomem(); | ^ ezmlm-return.c:330:25: 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] 330 | if (!stralloc_copy(&header,¶graph)) die_nomem(); | ^ ezmlm-return.c:337: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] 337 | if (str_diffn(paragraph.s,"Hi. This is the",15)) die_trash(); | ^ ezmlm-return.c:338:25: 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] 338 | if (!stralloc_copy(&intro,¶graph)) die_nomem(); | ^ ezmlm-return.c:347:25: 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] 347 | if (!stralloc_copy(&failure,¶graph)) die_nomem(); | ^ ezmlm-return.c:349:25: 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] 349 | if (!stralloc_copy(&bounce,&header)) die_nomem(); | ^ ezmlm-return.c:350: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] 350 | if (!stralloc_cat(&bounce,&intro)) die_nomem(); | ^ ezmlm-return.c:351: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] 351 | if (!stralloc_cat(&bounce,&failure)) die_nomem(); | ^ ezmlm-return.c:353:19: 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] 353 | i = byte_chr(failure.s,failure.len,'\n'); | ^ ezmlm-return.c:356:26: 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] 356 | if (!stralloc_copyb(&line,failure.s + 1,i - 3)) die_nomem(); | ^ ezmlm-return.c:357:19: 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] 357 | if (byte_chr(line.s,line.len,'\0') == line.len) { | ^ ezmlm-return.c:358: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] 358 | if (!stralloc_0(&line)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-return.c:183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | void main(argc,argv) | ^ 154 warnings generated. --- wait_pid.o --- wait_pid.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 wait_pid(wstat,pid) int *wstat; int pid; | ^ 1 warning generated. --- wait.a --- ./makelib wait.a wait_pid.o --- auto_bin.c --- --- auto_qmail.c --- --- fork.h --- rm -f tryvfork.o tryvfork --- auto_bin.c --- ./auto-str auto_bin `head -1 conf-bin` > auto_bin.c --- auto_qmail.c --- ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c --- qmail.o --- ./compile qmail.c --- auto_bin.o --- --- auto_qmail.o --- --- auto_bin.o --- ./compile auto_bin.c --- auto_qmail.o --- ./compile auto_qmail.c --- uint32.h --- rm -f tryulong32.o tryulong32 --- cookie.o --- --- issub.o --- --- subscribe.o --- --- surf.o --- --- surfpcs.o --- --- cookie.o --- ./compile cookie.c --- issub.o --- ./compile issub.c --- subscribe.o --- ./compile subscribe.c --- surf.o --- ./compile surf.c --- surfpcs.o --- ./compile surfpcs.c --- ezmlm-warn.o --- ezmlm-warn.c:23:20: 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] 23 | void die_usage() { strerr_die1x(100,"ezmlm-warn: usage: ezmlm-warn dir"); } | ^ ./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) | ^ ezmlm-warn.c:24:20: 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 | void die_nomem() { 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) | ^ ezmlm-warn.c:36:19: 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 | void die_read() { strerr_die6sys(111,FATAL,"unable to read ",dir,"/",fn.s,": "); } | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ ezmlm-warn.c:53: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] 53 | qmail_put(&qq,buf,len); | ^ ezmlm-warn.c:51:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | int qqwrite(fd,buf,len) int fd; char *buf; unsigned int len; | ^ ezmlm-warn.c:67:8: warning: call to undeclared function 'open_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | fd = open_read(fn); | ^ ezmlm-warn.c:69: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] 69 | strerr_die4sys(111,FATAL,"unable to open ",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) | ^ ezmlm-warn.c:71: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] 71 | substdio_fdbuf(&sstext,read,fd,textbuf,sizeof(textbuf)); | ^ ezmlm-warn.c:73: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] 73 | if (getln(&sstext,&line,&match,'\n') == -1) | ^ ezmlm-warn.c:74: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] 74 | 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) | ^ ezmlm-warn.c:77:14: 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] 77 | qmail_put(&qq,line.s,line.len); | ^ ezmlm-warn.c:80:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | close(fd); | ^ ezmlm-warn.c:61:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | void copy(fn) | ^ ezmlm-warn.c:92:8: warning: call to undeclared function 'open_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | fd = open_read(fn.s); | ^ ezmlm-warn.c:94: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] 94 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf)); | ^ ezmlm-warn.c:96:12: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | if (getln(&ssin,&addr,&match,'\0') == -1) die_read(); | ^ ezmlm-warn.c:97:17: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | if (!match) { close(fd); return; } | ^ ezmlm-warn.c:99:8: warning: call to undeclared function 'issub'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | if (!issub(addr.s)) { close(fd); /*XXX*/unlink(fn.s); return; } | ^ ezmlm-warn.c:99:25: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | if (!issub(addr.s)) { close(fd); /*XXX*/unlink(fn.s); return; } | ^ ezmlm-warn.c:99:43: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | if (!issub(addr.s)) { close(fd); /*XXX*/unlink(fn.s); return; } | ^ ezmlm-warn.c:101:9: warning: passing arguments to 'cookie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | cookie(hash,"",0,"",addr.s,""); | ^ ezmlm-warn.c:102: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] 102 | if (!stralloc_copys(&fnhash,"bounce/h")) die_nomem(); | ^ ezmlm-warn.c:103: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] 103 | if (!stralloc_catb(&fnhash,hash,COOKIE)) die_nomem(); | ^ ezmlm-warn.c:104: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] 104 | if (!stralloc_0(&fnhash)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-warn.c:106: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] 106 | if (qmail_open(&qq) == -1) | ^ ezmlm-warn.c:107: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] 107 | strerr_die2sys(111,FATAL,"unable to run qmail-queue: "); | ^ ./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) | ^ ezmlm-warn.c:110: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] 110 | qmail_puts(&qq,"Mailing-List: "); | ^ ezmlm-warn.c:111: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] 111 | qmail_put(&qq,mailinglist.s,mailinglist.len); | ^ ezmlm-warn.c:112: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] 112 | qmail_puts(&qq,"\nDate: "); | ^ ezmlm-warn.c:113:15: warning: passing arguments to 'datetime_tai' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | datetime_tai(&dt,msgwhen); | ^ ezmlm-warn.c:114:32: warning: passing arguments to 'date822fmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | qmail_put(&qq,date,date822fmt(date,&dt)); | ^ ezmlm-warn.c:114: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] 114 | qmail_put(&qq,date,date822fmt(date,&dt)); | ^ ezmlm-warn.c:115: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] 115 | qmail_puts(&qq,"Message-ID: <"); | ^ ezmlm-warn.c:116:33: 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] 116 | qmail_put(&qq,strnum,fmt_ulong(strnum,(unsigned long) msgwhen)); | ^ ezmlm-warn.c:116: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] 116 | qmail_put(&qq,strnum,fmt_ulong(strnum,(unsigned long) msgwhen)); | ^ ezmlm-warn.c:117: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] 117 | qmail_puts(&qq,"."); | ^ ezmlm-warn.c:118:57: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | qmail_put(&qq,strnum,fmt_ulong(strnum,(unsigned long) getpid())); | ^ ezmlm-warn.c:118:33: 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] 118 | qmail_put(&qq,strnum,fmt_ulong(strnum,(unsigned long) getpid())); | ^ ezmlm-warn.c:118: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] 118 | qmail_put(&qq,strnum,fmt_ulong(strnum,(unsigned long) getpid())); | ^ ezmlm-warn.c:119: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] 119 | qmail_puts(&qq,".ezmlm-warn@"); | ^ ezmlm-warn.c:120: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] 120 | qmail_put(&qq,outhost.s,outhost.len); | ^ ezmlm-warn.c:121: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] 121 | qmail_puts(&qq,">\nFrom: "); | ^ ezmlm-warn.c:122:8: warning: call to undeclared function 'quote'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | if (!quote("ed,&outlocal)) die_nomem(); | ^ ezmlm-warn.c:123: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] 123 | qmail_put(&qq,quoted.s,quoted.len); | ^ ezmlm-warn.c:124: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] 124 | qmail_puts(&qq,"-help@"); | ^ ezmlm-warn.c:125: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] 125 | qmail_put(&qq,outhost.s,outhost.len); | ^ ezmlm-warn.c:126: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] 126 | qmail_puts(&qq,"\nTo: "); | ^ ezmlm-warn.c:127:8: warning: call to undeclared function 'quote2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | if (!quote2("ed,addr.s)) die_nomem(); | ^ ezmlm-warn.c:128: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] 128 | qmail_put(&qq,quoted.s,quoted.len); | ^ ezmlm-warn.c:129: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] 129 | qmail_puts(&qq,flagw ? "\nSubject: ezmlm probe\n\n" : "\nSubject: ezmlm warning\n\n"); | ^ ezmlm-warn.c:138: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] 138 | strerr_die6sys(111,FATAL,"unable to open ",dir,"/",fnhash.s,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ ezmlm-warn.c:142:21: 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] 142 | substdio_fdbuf(&sstext,read,fdhash,textbuf,sizeof(textbuf)); | ^ ezmlm-warn.c:143:24: 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] 143 | if (substdio_copy(&ssqq,&sstext) < 0) | ^ ezmlm-warn.c:144: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] 144 | strerr_die6sys(111,FATAL,"unable to read ",dir,"/",fnhash.s,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ ezmlm-warn.c:145:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | close(fdhash); | ^ ezmlm-warn.c:150: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] 150 | if (substdio_copy(&ssqq,&ssin) < 0) die_read(); | ^ ezmlm-warn.c:151:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | close(fd); | ^ ezmlm-warn.c:153:19: 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] 153 | strnum[fmt_ulong(strnum,when)] = 0; | ^ ezmlm-warn.c:154:9: warning: passing arguments to 'cookie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | cookie(hash,key.s,key.len,strnum,addr.s,flagw ? "P" : "W"); | ^ ezmlm-warn.c:155: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] 155 | if (!stralloc_copy(&line,&outlocal)) die_nomem(); | ^ ezmlm-warn.c:156: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] 156 | if (!stralloc_cats(&line,flagw ? "-return-probe-" : "-return-warn-")) die_nomem(); | ^ ezmlm-warn.c:157: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] 157 | if (!stralloc_cats(&line,strnum)) die_nomem(); | ^ ezmlm-warn.c:158: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] 158 | if (!stralloc_cats(&line,".")) die_nomem(); | ^ ezmlm-warn.c:159: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] 159 | if (!stralloc_catb(&line,hash,COOKIE)) die_nomem(); | ^ ezmlm-warn.c:160: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] 160 | if (!stralloc_cats(&line,"-")) die_nomem(); | ^ ezmlm-warn.c:161:14: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | i = str_chr(addr.s,'@'); | ^ ezmlm-warn.c:162: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] 162 | if (!stralloc_catb(&line,addr.s,i)) die_nomem(); | ^ ezmlm-warn.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(&line,"=")) die_nomem(); | ^ ezmlm-warn.c:165: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] 165 | if (!stralloc_cats(&line,addr.s + i + 1)) die_nomem(); | ^ ezmlm-warn.c:167: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] 167 | if (!stralloc_cats(&line,"@")) die_nomem(); | ^ ezmlm-warn.c:168: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] 168 | if (!stralloc_cat(&line,&outhost)) die_nomem(); | ^ ezmlm-warn.c:169: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] 169 | if (!stralloc_0(&line)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-warn.c:170: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] 170 | qmail_from(&qq,line.s); | ^ ezmlm-warn.c:172:11: 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] 172 | qmail_to(&qq,addr.s); | ^ ezmlm-warn.c:173: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] 173 | if (qmail_close(&qq) != 0) | ^ ezmlm-warn.c:174: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] 174 | strerr_die2x(111,FATAL,"temporary qmail-queue error"); | ^ ./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) | ^ ezmlm-warn.c:176:35: 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] 176 | strnum[fmt_ulong(strnum,qmail_qp(&qq))] = 0; | ^ ezmlm-warn.c:176:19: 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] 176 | strnum[fmt_ulong(strnum,qmail_qp(&qq))] = 0; | ^ ezmlm-warn.c:177:3: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | strerr_warn2("ezmlm-warn: info: qp ",strnum,0); | ^ ./strerr.h:37:12: note: expanded from macro 'strerr_warn2' 37 | strerr_warn((x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ ezmlm-warn.c:180:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | if (unlink(fnhash.s) == -1) | ^ ezmlm-warn.c:182: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] 182 | strerr_die6sys(111,FATAL,"unable to remove ",dir,"/",fnhash.s,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ ezmlm-warn.c:184:7: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | if (unlink(fn.s) == -1) | ^ ezmlm-warn.c:185: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] 185 | strerr_die6sys(111,FATAL,"unable to remove ",dir,"/",fn.s,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ ezmlm-warn.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 doit(flagw) | ^ ezmlm-warn.c:188:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 188 | void main(argc,argv) | ^ ezmlm-warn.c:188:1: note: change return type to 'int' 188 | void main(argc,argv) | ^~~~ | int ezmlm-warn.c:204:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | if (chdir(dir) == -1) | ^ ezmlm-warn.c:205: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] 205 | strerr_die4sys(111,FATAL,"unable to switch to ",dir,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-warn.c:207:15: warning: passing arguments to 'slurp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | switch(slurp("key",&key,32)) { | ^ ezmlm-warn.c:209: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] 209 | strerr_die4sys(111,FATAL,"unable to read ",dir,"/key: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-warn.c:211: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] 211 | strerr_die3x(100,FATAL,dir,"/key does not exist"); | ^ ./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) | ^ ezmlm-warn.c:213:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | getconf_line(&outhost,"outhost",1,FATAL,dir); | ^ ezmlm-warn.c:214:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | getconf_line(&outlocal,"outlocal",1,FATAL,dir); | ^ ezmlm-warn.c:215:15: warning: passing arguments to 'getconf_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | getconf_line(&mailinglist,"mailinglist",1,FATAL,dir); | ^ ezmlm-warn.c:217:12: warning: call to undeclared function 'open_append'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | fdlock = open_append("lockbounce"); | ^ ezmlm-warn.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,"unable to open ",dir,"/lockbounce: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-warn.c:220:7: warning: call to undeclared function 'lock_ex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | if (lock_ex(fdlock) == -1) | ^ ezmlm-warn.c:221: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] 221 | strerr_die4sys(111,FATAL,"unable to lock ",dir,"/lockbounce: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-warn.c:225: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] 225 | strerr_die4sys(111,FATAL,"unable to open ",dir,"/bounce: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ezmlm-warn.c:227:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 227 | while (d = readdir(bouncedir)) { | ~~^~~~~~~~~~~~~~~~~~~~ ezmlm-warn.c:227:12: note: place parentheses around the assignment to silence this warning 227 | while (d = readdir(bouncedir)) { | ^ | ( ) ezmlm-warn.c:227:12: note: use '==' to turn this assignment into an equality comparison 227 | while (d = readdir(bouncedir)) { | ^ | == ezmlm-warn.c:228:9: 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] 228 | if (str_equal(d->d_name,".")) continue; | ^ ./str.h:12:34: note: expanded from macro 'str_equal' 12 | #define str_equal(s,t) (!str_diff((s),(t))) | ^ ezmlm-warn.c:229:9: 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] 229 | if (str_equal(d->d_name,"..")) continue; | ^ ./str.h:12:34: note: expanded from macro 'str_equal' 12 | #define str_equal(s,t) (!str_diff((s),(t))) | ^ ezmlm-warn.c:231: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] 231 | if (!stralloc_copys(&fn,"bounce/")) die_nomem(); | ^ ezmlm-warn.c:232: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] 232 | if (!stralloc_cats(&fn,d->d_name)) die_nomem(); | ^ ezmlm-warn.c:233: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] 233 | if (!stralloc_0(&fn)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ezmlm-warn.c:237: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] 237 | strerr_die6sys(111,FATAL,"unable to stat ",dir,"/",fn.s,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ ezmlm-warn.c:241:11: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 241 | if (unlink(fn.s) == -1) | ^ ezmlm-warn.c:242: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] 242 | strerr_die6sys(111,FATAL,"unable to remove ",dir,"/",fn.s,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ ezmlm-warn.c:245:7: warning: call to undeclared function 'scan_ulong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | scan_ulong(d->d_name + 1,&bouncedate); | ^ ezmlm-warn.c:253: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] 253 | _exit(0); | ^ ezmlm-warn.c:253:3: note: include the header or explicitly provide a declaration for '_exit' ezmlm-warn.c:188:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | void main(argc,argv) | ^ 110 warnings generated. --- hassgact.h --- rm -f trysgact.o trysgact --- sig_catch.o --- ./compile sig_catch.c --- hasflock.h --- rm -f tryflock.o tryflock --- lock_ex.o --- ./compile lock_ex.c lock_ex.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 lock_ex(fd) int fd; { return flock(fd,LOCK_EX); } | ^ In file included from lock_ex.c:5: ./lock.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 lock_ex(); | ^ 2 warnings generated. --- ezmlm-make --- --- lock.a --- --- ezmlm-make --- ./load ezmlm-make auto_bin.o open.a getopt.a substdio.a strerr.a stralloc.a alloc.a error.a str.a --- lock.a --- ./makelib lock.a lock_ex.o --- sig_catch.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. --- sig.a --- ./makelib sig.a sig_catch.o sig_pipe.o --- surf.o --- surf.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 surf(out,in,seed) | ^ In file included from surf.c:3: ./surf.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 surf(); | ^ 2 warnings generated. --- surfpcs.o --- surfpcs.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 surfpcs_init(s,k) | ^ In file included from surfpcs.c:4: ./surfpcs.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 surfpcs_init(); | ^ surfpcs.c:40:11: warning: passing arguments to 'surf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | surf(s->out,s->in,s->seed); | ^ surfpcs.c:26:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | void surfpcs_add(s,x,n) | ^ In file included from surfpcs.c:4: ./surfpcs.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 surfpcs_add(); | ^ surfpcs.c:52:17: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 52 | surfpcs_add(s,".",1); | ^~~ surfpcs.c:53:33: warning: passing 'char[1]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 53 | while (s->todo) surfpcs_add(s,"",1); | ^~ surfpcs.c:56:7: warning: passing arguments to 'surf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | surf(s->out,s->in,s->seed); | ^ surfpcs.c:47:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | void surfpcs_out(s,h) | ^ In file included from surfpcs.c:4: ./surfpcs.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 surfpcs_out(); | ^ 10 warnings generated. --- surf.a --- ./makelib surf.a surf.o surfpcs.o --- cookie.o --- cookie.c:27:17: warning: passing arguments to 'surfpcs_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | surfpcs_init(&s,seed); | ^ cookie.c:28:16: warning: passing arguments to 'surfpcs_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | surfpcs_add(&s,key,keylen); | ^ cookie.c:29:16: warning: passing arguments to 'surfpcs_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | surfpcs_out(&s,out); | ^ cookie.c:36:15: warning: passing arguments to 'surfpcs_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | surfpcs_init(&s,seed); | ^ cookie.c:37:30: 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] 37 | surfpcs_add(&s,date,str_len(date) + 1); | ^ cookie.c:37:14: warning: passing arguments to 'surfpcs_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | surfpcs_add(&s,date,str_len(date) + 1); | ^ cookie.c:38:30: 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] 38 | surfpcs_add(&s,addr,str_len(addr) + 1); | ^ cookie.c:38:14: warning: passing arguments to 'surfpcs_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | surfpcs_add(&s,addr,str_len(addr) + 1); | ^ cookie.c:39:14: warning: passing arguments to 'surfpcs_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | surfpcs_add(&s,action,1); | ^ cookie.c:40:14: warning: passing arguments to 'surfpcs_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | surfpcs_out(&s,out); | ^ cookie.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 cookie(hash,key,keylen,date,addr,action) | ^ In file included from cookie.c:1: ./cookie.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 cookie(); | ^ 12 warnings generated. --- subscribe.o --- subscribe.c:36:16: warning: call to undeclared function 'str_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | if (userhost[str_chr(userhost,'\n')]) return -8; | ^ subscribe.c:37: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] 37 | if (!stralloc_copys(&addr,"T")) return -2; | ^ subscribe.c:38: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] 38 | if (!stralloc_cats(&addr,userhost)) return -2; | ^ subscribe.c:41:16: warning: passing arguments to 'byte_rchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | j = byte_rchr(addr.s,addr.len,'@'); | ^ subscribe.c:43: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] 43 | case_lowerb(addr.s + j + 1,addr.len - j - 1); | ^ subscribe.c:50: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] 50 | if (!stralloc_0(&addr)) return -2; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ subscribe.c:52: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] 52 | if (!stralloc_copys(&fn,"subscribers/")) return -2; | ^ subscribe.c:53: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] 53 | if (!stralloc_catb(&fn,&ch,1)) return -2; | ^ subscribe.c:54: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] 54 | if (!stralloc_copy(&fnnew,&fn)) return -2; | ^ subscribe.c:55: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] 55 | if (!stralloc_cats(&fnnew,"n")) return -2; | ^ subscribe.c:56: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] 56 | if (!stralloc_0(&fnnew)) return -2; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ subscribe.c:57: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] 57 | if (!stralloc_0(&fn)) return -2; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ subscribe.c:59:21: 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] 59 | fdnew = open_trunc(fnnew.s); | ^ subscribe.c:61: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] 61 | substdio_fdbuf(&ssnew,write,fdnew,ssnewbuf,sizeof(ssnewbuf)); | ^ subscribe.c:65: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] 65 | fd = open_read(fn.s); | ^ subscribe.c:67:33: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | if (errno != error_noent) { close(fdnew); return -3; } | ^ subscribe.c:70:19: 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] 70 | substdio_fdbuf(&ss,read,fd,ssbuf,sizeof(ssbuf)); | ^ subscribe.c:73:16: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if (getln(&ss,&line,&match,'\0') == -1) { close(fd); close(fdnew); return -3; } | ^ subscribe.c:73:49: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | if (getln(&ss,&line,&match,'\0') == -1) { close(fd); close(fdnew); return -3; } | ^ subscribe.c:76:23: 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] 76 | if (!byte_diff(line.s,line.len,addr.s)) { | ^ subscribe.c:81:24: warning: passing arguments to 'substdio_bput' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | if (substdio_bput(&ssnew,line.s,line.len) == -1) { close(fd); close(fdnew); return -4; } | ^ subscribe.c:81:58: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | if (substdio_bput(&ssnew,line.s,line.len) == -1) { close(fd); close(fdnew); return -4; } | ^ subscribe.c:84:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | close(fd); | ^ subscribe.c:88:22: warning: passing arguments to 'substdio_bput' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | if (substdio_bput(&ssnew,addr.s,addr.len) == -1) { close(fdnew); return -4; } | ^ subscribe.c:88:56: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | if (substdio_bput(&ssnew,addr.s,addr.len) == -1) { close(fdnew); return -4; } | ^ subscribe.c:90: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] 90 | if (substdio_flush(&ssnew) == -1) { close(fdnew); return -4; } | ^ subscribe.c:90:39: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | if (substdio_flush(&ssnew) == -1) { close(fdnew); return -4; } | ^ subscribe.c:91:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | if (fsync(fdnew) == -1) { close(fdnew); return -4; } | ^ subscribe.c:91:29: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | if (fsync(fdnew) == -1) { close(fdnew); return -4; } | ^ subscribe.c:92:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | close(fdnew); | ^ subscribe.c:94:7: warning: call to undeclared function 'rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | if (rename(fnnew.s,fn.s) == -1) return -5; | ^ subscribe.c:26:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | static int doit(userhost,flagadd) | ^ subscribe.c:107:23: warning: passing arguments to 'open_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | fdlock = open_append("lock"); | ^ subscribe.c:110:14: warning: passing arguments to 'lock_ex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if (lock_ex(fdlock) == -1) { | ^ subscribe.c:111:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | close(fdlock); | ^ subscribe.c:116:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | close(fdlock); | ^ subscribe.c:100:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | int subscribe(userhost,flagadd) | ^ In file included from subscribe.c:12: ./subscribe.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 subscribe(); | ^ 38 warnings generated. --- qmail.o --- 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(120); | ^ 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:86: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] 86 | if (!qq->flagerr) if (substdio_flush(&qq->ss) == -1) qq->flagerr = 1; | ^ qmail.c:87:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | close(qq->fde); | ^ qmail.c:89: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] 89 | if (wait_pid(&wstat,qq->pid) != qq->pid) return QMAIL_WAITPID; | ^ qmail.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 qmail_close(qq) | ^ In file included from qmail.c:7: ./qmail.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 qmail_close(); | ^ 33 warnings generated. --- ezmlm-sub --- --- ezmlm-unsub --- --- ezmlm-sub --- ./load ezmlm-sub subscribe.o log.o now.o fs.a strerr.a getln.a substdio.a stralloc.a alloc.a error.a str.a case.a open.a lock.a --- ezmlm-unsub --- ./load ezmlm-unsub subscribe.o log.o now.o fs.a strerr.a getln.a substdio.a stralloc.a alloc.a error.a str.a case.a open.a lock.a --- ezmlm-send --- ./load ezmlm-send auto_qmail.o getconf.o qmail.o constmap.o slurp.o slurpclose.o wait.a getln.a strerr.a sig.a env.a open.a lock.a substdio.a stralloc.a alloc.a error.a str.a fd.a case.a fs.a --- issub.o --- issub.c:28: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] 28 | if (!stralloc_copys(&addr,"T")) return -2; | ^ issub.c:29: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] 29 | if (!stralloc_cats(&addr,userhost)) return -2; | ^ issub.c:31:16: warning: passing arguments to 'byte_rchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | j = byte_rchr(addr.s,addr.len,'@'); | ^ issub.c:33: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] 33 | case_lowerb(addr.s + j + 1,addr.len - j - 1); | ^ issub.c:40: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] 40 | if (!stralloc_0(&addr)) return -2; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ issub.c:42: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] 42 | if (!stralloc_copys(&fn,"subscribers/")) return -2; | ^ issub.c:43: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] 43 | if (!stralloc_catb(&fn,&ch,1)) return -2; | ^ issub.c:44: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] 44 | if (!stralloc_0(&fn)) return -2; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ issub.c:46: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] 46 | fd = open_read(fn.s); | ^ issub.c:51: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] 51 | substdio_fdbuf(&ss,read,fd,ssbuf,sizeof(ssbuf)); | ^ issub.c:54: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] 54 | if (getln(&ss,&line,&match,'\0') == -1) { close(fd); return -3; } | ^ issub.c:54:47: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | if (getln(&ss,&line,&match,'\0') == -1) { close(fd); return -3; } | ^ issub.c:57:21: 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] 57 | if (!byte_diff(line.s,line.len,addr.s)) { close(fd); return 1; } | ^ issub.c:57:49: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | if (!byte_diff(line.s,line.len,addr.s)) { close(fd); return 1; } | ^ issub.c:60:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | close(fd); | ^ issub.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 doit(userhost) | ^ issub.c:72:23: warning: passing arguments to 'open_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | fdlock = open_append("lock"); | ^ issub.c:75:14: warning: passing arguments to 'lock_ex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | if (lock_ex(fdlock) == -1) { | ^ issub.c:76:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | close(fdlock); | ^ issub.c:81:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | close(fdlock); | ^ issub.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 issub(userhost) | ^ In file included from issub.c:10: ./issub.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 issub(); | ^ 22 warnings generated. --- ezmlm-manage --- --- ezmlm-return --- --- ezmlm-warn --- --- ezmlm-manage --- ./load ezmlm-manage auto_qmail.o getconf.o subscribe.o log.o cookie.o now.o datetime.o date822fmt.o slurpclose.o slurp.o qmail.o quote.o surf.a getln.a env.a sig.a strerr.a substdio.a stralloc.a alloc.a error.a str.a fs.a case.a open.a seek.a wait.a lock.a fd.a --- ezmlm-return --- ./load ezmlm-return quote.o getconf.o issub.o subscribe.o log.o slurpclose.o slurp.o now.o cookie.o surf.a lock.a env.a sig.a strerr.a getln.a substdio.a stralloc.a alloc.a error.a str.a fs.a case.a open.a --- ezmlm-warn --- ./load ezmlm-warn auto_qmail.o getconf.o cookie.o issub.o now.o slurpclose.o slurp.o quote.o datetime.o date822fmt.o qmail.o surf.a case.a strerr.a sig.a getln.a substdio.a stralloc.a alloc.a error.a open.a lock.a str.a fs.a fd.a wait.a =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ezmlm-0.53_2 depends on file: /var/qmail/bin/qmail-send - not found ===> Installing existing package /packages/All/netqmail-1.06_7.pkg [pkg.DaveG.ca] Installing netqmail-1.06_7... ===> Creating groups Creating group 'qmail' with gid '82' Creating group 'qnofiles' with gid '81' ===> Creating users Creating user 'alias' with uid '81' ===> Creating homedir(s) Creating user 'qmaild' with uid '82' ===> Creating homedir(s) Creating user 'qmaill' with uid '83' ===> Creating homedir(s) Creating user 'qmailp' with uid '84' ===> Creating homedir(s) Creating user 'qmailq' with uid '85' ===> Creating homedir(s) Creating user 'qmailr' with uid '86' ===> Creating homedir(s) Creating user 'qmails' with uid '87' ===> Creating homedir(s) [pkg.DaveG.ca] Extracting netqmail-1.06_7: .......... done A /usr/local/etc/rc.d/qmailsmtpd and a /usr/local/etc/rc.d/qmailsend symlink were created. Your hostname is pkg.daveg.ca. soft error Sorry, I couldn't find your host's canonical name in DNS. You will have to set up control/me yourself. ===== Message from netqmail-1.06_7: -- ATTENTION: You can enable qmail as your default mailer executing: > /var/qmail/scripts/enable-qmail ===> ezmlm-0.53_2 depends on file: /var/qmail/bin/qmail-send - found ===> Returning to build of ezmlm-0.53_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ezmlm-0.53_2 ===> Generating temporary packing list cd /wrkdirs/usr/ports/mail/ezmlm/work/ezmlm-0.53 && install -s -m 555 ezmlm-make ezmlm-manage ezmlm-send ezmlm-reject ezmlm-return ezmlm-warn ezmlm-weed ezmlm-list ezmlm-sub ezmlm-unsub /wrkdirs/usr/ports/mail/ezmlm/work/stage/usr/local/bin && install -m 444 *.1 /wrkdirs/usr/ports/mail/ezmlm/work/stage/usr/local/share/man/man1 && install -m 444 *.5 /wrkdirs/usr/ports/mail/ezmlm/work/stage/usr/local/share/man/man5 cd /wrkdirs/usr/ports/mail/ezmlm/work/ezmlm-0.53 && install -m 0644 BLURB INSTALL README THANKS TODO /wrkdirs/usr/ports/mail/ezmlm/work/stage/usr/local/share/doc/ezmlm ====> 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=2026-02-18T16:32:06+0000' 'PKG_NOTE_ports_top_git_hash=eac71dbf758c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=c75c94468641' '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 ezmlm-0.53_2 ===> Building ezmlm-0.53_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ezmlm-0.53_2 build of mail/ezmlm | ezmlm-0.53_2 ended at Wed Feb 18 11:32:12 EST 2026 build time: 00:00:07