=>> Building mail/serialmail build started at Thu Dec 11 23:53:02 EST 2025 port directory: /usr/ports/mail/serialmail package name: serialmail-0.75_5 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2166 Oct 16 2024 /usr/ports/mail/serialmail/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: c115a1975819 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 14 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 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_13_5_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_13_5_x64-HEAD-ALL/14/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_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 serialmail-0.75_5: AUTH=off: Add CRAM-MD5, PLAIN and LOGIN authentication DOCS=on: Build and/or install documentation UCSPI_SSL=off: ucspi-ssl SMTP SSL transport layer support ===> 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/serialmail/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/serialmail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/serialmail/work/.cache HOME=/wrkdirs/usr/ports/mail/serialmail/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/serialmail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/serialmail/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/serialmail/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/serialmail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/serialmail/work/.cache HOME=/wrkdirs/usr/ports/mail/serialmail/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/serialmail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/serialmail/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="" AUTH="@comment " NO_AUTH="" DOCS="" NO_DOCS="@comment " UCSPI_SSL="@comment " NO_UCSPI_SSL="" OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/serialmail" EXAMPLESDIR="share/examples/serialmail" DATADIR="share/serialmail" WWWDIR="www/serialmail" ETCDIR="etc/serialmail" --End PLIST_SUB-- --SUB_LIST-- AUTH="@comment " NO_AUTH="" DOCS="" NO_DOCS="@comment " UCSPI_SSL="@comment " NO_UCSPI_SSL="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/serialmail DOCSDIR=/usr/local/share/doc/serialmail EXAMPLESDIR=/usr/local/share/examples/serialmail WWWDIR=/usr/local/www/serialmail ETCDIR=/usr/local/etc/serialmail --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 --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The serialmail 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 ===> serialmail-0.75_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> serialmail-0.75_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of serialmail-0.75_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The serialmail 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 serialmail-0.75_5 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The serialmail 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 serialmail-0.75_5 for building => SHA256 Checksum OK for serialmail-0.75.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 serialmail 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 serialmail-0.75_5 for building ===> Extracting for serialmail-0.75_5 => SHA256 Checksum OK for serialmail-0.75.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 serialmail-0.75_5 ===> Applying FreeBSD patches for serialmail-0.75_5 from /usr/ports/mail/serialmail/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> serialmail-0.75_5 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. ===> serialmail-0.75_5 depends on file: /usr/local/bin/ccache - found ===> Returning to build of serialmail-0.75_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for serialmail-0.75_5 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for serialmail-0.75_5 --- load --- --- compile --- --- systype --- --- maildirsmtp --- --- maildirqmtp --- --- rts --- --- load --- ( cat warn-auto.sh; echo 'main="$1"; shift'; echo exec "`head -1 conf-ld`" '-o "$main" "$main".o ${1+"$@"}' ) > load --- compile --- ( cat warn-auto.sh; echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' ) > compile --- systype --- ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\'; cat find-systype.sh; ) | sh > systype --- maildirsmtp --- cat warn-auto.sh maildirsmtp.sh | sed s}HOME}"`head -1 conf-home`"}g > maildirsmtp --- maildirqmtp --- cat warn-auto.sh maildirqmtp.sh | sed s}HOME}"`head -1 conf-home`"}g > maildirqmtp --- rts --- cat warn-auto.sh rts.sh | sed s}HOME}"`head -1 conf-home`"}g > rts --- load --- chmod 755 load --- compile --- chmod 755 compile --- alloc.o --- --- alloc_re.o --- --- auto-str.o --- --- byte_chr.o --- --- byte_copy.o --- --- byte_cr.o --- --- byte_diff.o --- --- caldate_fmjd.o --- --- case_diffb.o --- --- config.o --- --- direntry.h --- --- env.o --- --- error.o --- --- error_str.o --- --- fd_copy.o --- --- fd_move.o --- --- fmt_ulong.o --- --- fork.h --- --- getln.o --- --- getln2.o --- --- hasflock.h --- --- hassgact.h --- --- haswaitp.h --- --- hier.o --- --- install.o --- --- instcheck.o --- --- leapsecs_init.o --- --- mess822_date.o --- --- now.o --- --- open_append.o --- --- open_read.o --- --- open_trunc.o --- --- prioq.o --- --- quote.o --- --- scan_ulong.o --- --- select.h --- --- serialsmtp.o --- --- setlock.o --- --- sgetopt.o --- --- sig_pipe.o --- --- str_diff.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_eady.o --- --- stralloc_num.o --- --- stralloc_opyb.o --- --- stralloc_opys.o --- --- stralloc_pend.o --- --- strerr_die.o --- --- strerr_sys.o --- --- subfderr.o --- --- subfdins.o --- --- subfdouts.o --- --- subgetopt.o --- --- 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_num.o --- ./compile stralloc_num.c stralloc_num.c:17: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] 17 | if (!stralloc_readyplus(sa,len)) return 0; | ^ stralloc_num.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 stralloc_catulong0(sa,u,n) | ^ In file included from stralloc_num.c:1: ./stralloc.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 stralloc_catulong0(); | ^ stralloc_num.c:31: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] 31 | if (!stralloc_append(sa,"-")) return 0; | ^ stralloc_num.c:25:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | int stralloc_catlong0(sa,l,n) | ^ In file included from stralloc_num.c:1: ./stralloc.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 stralloc_catlong0(); | ^ 6 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. --- 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. --- 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_diff.o --- ./compile str_diff.c 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. --- 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. --- setlock.o --- ./compile setlock.c setlock.c:10: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] 10 | strerr_die1x(100,"setlock: usage: setlock [ -nNxX ] file program [ arg ... ]"); | ^ ./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) | ^ setlock.c:16:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 16 | void main(argc,argv) | ^ setlock.c:16:1: note: change return type to 'int' 16 | void main(argc,argv) | ^~~~ | int setlock.c:24: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] 24 | while ((opt = getopt(argc,argv,"nNxX")) != opteof) | ^ setlock.c:38: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] 38 | fd = open_append(file); | ^ setlock.c:41: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] 41 | strerr_die4sys(111,FATAL,"unable to open ",file,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ setlock.c:44:41: 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] 44 | if ((flagndelay ? lock_exnb : lock_ex)(fd) == -1) { | ^ setlock.c:46: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] 46 | strerr_die4sys(111,FATAL,"unable to lock ",file,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ setlock.c:49:3: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | execvp(*argv,argv); | ^ setlock.c:50: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] 50 | strerr_die4sys(111,FATAL,"unable to run ",*argv,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ setlock.c:16:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | void main(argc,argv) | ^ 10 warnings generated. --- select.h --- ( ./compile trysysel.c >/dev/null 2>&1 && cat select.h2 || cat select.h1 ) > select.h rm -f trysysel.o trysysel --- 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. --- quote.o --- ./compile quote.c 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:32: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | if (!*s) return stralloc_copys(sa,s); | ^ quote.c:77: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] 77 | j = str_rchr(s,'@'); | ^ quote.c:78: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] 78 | if (!stralloc_copys(&foo,s)) return 0; | ^ quote.c:82: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] 82 | 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(); | ^ 13 warnings generated. --- prioq.o --- ./compile prioq.c prioq.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_readyplus(prioq,struct prioq_elt,p,len,a,i,n,x,100,prioq_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; \ | ^ prioq.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:28:38: note: expanded from macro 'GEN_ALLOC_readyplus' 28 | return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); } | ^ prioq.c:5:62: 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_readyplus(prioq,struct prioq_elt,p,len,a,i,n,x,100,prioq_readyplus) | ^ prioq.c:7:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | int prioq_min(pq,pe) | ^ In file included from prioq.c:3: ./prioq.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 prioq_min(); | ^ prioq.c:20:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | int prioq_insert(pq,pe) | ^ In file included from prioq.c:3: ./prioq.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 prioq_insert(); | ^ prioq.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | void prioq_delmin(pq) | ^ In file included from prioq.c:3: ./prioq.h:13: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] 13 | extern void prioq_delmin(); | ^ 9 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 --- mess822_date.o --- ./compile mess822_date.c mess822_date.c:14: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] 14 | if (!stralloc_copys(out,"")) return 0; | ^ mess822_date.c:18:8: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | if (!stralloc_catint(out,when->ct.date.day)) return 0; | ^ ./stralloc.h:27:49: note: expanded from macro 'stralloc_catint' 27 | #define stralloc_catint(sa,i) (stralloc_catlong0((sa),(long) (i),0)) | ^ mess822_date.c:19: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] 19 | if (!stralloc_cats(out," ")) return 0; | ^ mess822_date.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(out,montab[i])) return 0; | ^ mess822_date.c:25: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] 25 | if (!stralloc_cats(out," ")) return 0; | ^ mess822_date.c:27:8: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if (!stralloc_catlong(out,when->ct.date.year)) return 0; | ^ ./stralloc.h:24:50: note: expanded from macro 'stralloc_catlong' 24 | #define stralloc_catlong(sa,l) (stralloc_catlong0((sa),(l),0)) | ^ mess822_date.c:28: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] 28 | if (!stralloc_cats(out," ")) return 0; | ^ mess822_date.c:30:8: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (!stralloc_catint0(out,when->ct.hour,2)) return 0; | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ mess822_date.c:31: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] 31 | if (!stralloc_cats(out,":")) return 0; | ^ mess822_date.c:32:8: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | if (!stralloc_catint0(out,when->ct.minute,2)) return 0; | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ mess822_date.c:33: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] 33 | if (!stralloc_cats(out,":")) return 0; | ^ mess822_date.c:34:8: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | if (!stralloc_catint0(out,when->ct.second,2)) return 0; | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ mess822_date.c:37: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] 37 | if (!stralloc_cats(out," -0000")) return 0; | ^ mess822_date.c:42: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] 42 | if (!stralloc_cats(out," -")) return 0; | ^ mess822_date.c:46: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] 46 | if (!stralloc_cats(out," +")) return 0; | ^ mess822_date.c:48:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (!stralloc_catint0(out,(int) (i / 60),2)) return 0; | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ mess822_date.c:49:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (!stralloc_catint0(out,(int) (i % 60),2)) return 0; | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ mess822_date.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 mess822_date(out,when) | ^ In file included from mess822_date.c:1: ./mess822.h:32:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | extern int mess822_date(); | ^ 19 warnings generated. --- leapsecs_init.o --- ./compile leapsecs_init.c --- instcheck.o --- ./compile instcheck.c instcheck.c:27:7: 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_warn6(WARNING,prefix1,prefix2,prefix3,file," does not exist",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:29:7: 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] 29 | strerr_warn4(WARNING,"unable to stat .../",file,": ",&strerr_sys); | ^ ./strerr.h:33:12: note: expanded from macro 'strerr_warn4' 33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ instcheck.c:34:5: 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] 34 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong owner",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:36:5: 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] 36 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong group",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:38:5: 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] 38 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong permissions",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:40:5: 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] 40 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong type",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:13:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | void perm(prefix1,prefix2,prefix3,file,type,uid,gid,mode) | ^ instcheck.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | void h(home,uid,gid,mode) | ^ instcheck.c:59:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | if (chdir(home) == -1) | ^ instcheck.c:60:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ instcheck.c:52:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | void d(home,subdir,uid,gid,mode) | ^ instcheck.c:71:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | if (chdir(home) == -1) | ^ instcheck.c:72:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ instcheck.c:64:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | void p(home,fifo,uid,gid,mode) | ^ instcheck.c:84:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | if (chdir(home) == -1) | ^ instcheck.c:85: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] 85 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ instcheck.c:87: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] 87 | strerr_die6sys(111,FATAL,"unable to switch to ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ instcheck.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | void c(home,subdir,file,uid,gid,mode) | ^ instcheck.c:99:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | if (chdir(home) == -1) | ^ instcheck.c:100: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] 100 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ instcheck.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 z(home,file,len,uid,gid,mode) | ^ instcheck.c:104:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 104 | void main() | ^ instcheck.c:104:1: note: change return type to 'int' 104 | void main() | ^~~~ | int 22 warnings generated. --- hier.o --- ./compile hier.c hier.c:5:3: warning: call to undeclared function 'h'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 5 | h(auto_home,-1,-1,02755); | ^ hier.c:7:3: warning: call to undeclared function 'd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 7 | d(auto_home,"bin",-1,-1,02755); | ^ hier.c:14:3: warning: call to undeclared function 'c'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | c(auto_home,"bin","serialqmtp",-1,-1,0755); | ^ 3 warnings generated. --- haswaitp.h --- ( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null 2>&1 && echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h rm -f trywaitp.o trywaitp --- hassgact.h --- ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null 2>&1 && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h rm -f trysgact.o trysgact --- hasflock.h --- ( ( ./compile tryflock.c && ./load tryflock ) >/dev/null 2>&1 && echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h rm -f tryflock.o tryflock --- 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. --- fork.h --- ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null 2>&1 && cat fork.h2 || cat fork.h1 ) > fork.h rm -f tryvfork.o tryvfork --- 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. --- 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 --- env.o --- ./compile env.c env.c:11: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] 11 | len = str_len(s); | ^ env.c:13:18: 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] 13 | if (str_start(environ[i],s) && (environ[i][len] == '=')) | ^ env.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 env.c:2: ./env.h:6: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] 6 | extern /*@null@*/char *env_get(); | ^ 4 warnings generated. --- direntry.h --- ( ./compile trydrent.c >/dev/null 2>&1 && cat direntry.h2 || cat direntry.h1 ) > direntry.h rm -f trydrent.o --- config.o --- ./compile config.c config.c:16: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] 16 | if (!stralloc_copys(&c->sa,s)) return -1; | ^ config.c:10:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | int config_default(c,s) | ^ In file included from config.c:7: ./config.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 config_default(); | ^ config.c:27: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] 27 | if (!stralloc_copy(&c->sa,&d->sa)) return -1; | ^ config.c:21:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | int config_copy(c,d) | ^ In file included from config.c:7: ./config.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 config_copy(); | ^ config.c:37:14: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | s = env_get(s); | ^ config.c:39: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] 39 | if (!stralloc_copys(&c->sa,s)) return -1; | ^ config.c:32:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | int config_env(c,s) | ^ In file included from config.c:7: ./config.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 config_env(); | ^ config.c:44:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | static void process(sa) | ^ config.c:74: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] 74 | fd = open_read(fn); | ^ config.c:79: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] 79 | substdio_fdbuf(&ss,read,fd,inbuf,sizeof inbuf); | ^ config.c:81: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] 81 | if (getln(&ss,&line,&match,'\n') == -1) { | ^ config.c:82:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | close(fd); | ^ config.c:85:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | close(fd); | ^ config.c:88: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] 88 | if (!stralloc_copy(&c->sa,&line)) return -1; | ^ config.c:64:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | int config_readline(c,fn) | ^ In file included from config.c:7: ./config.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 config_readline(); | ^ config.c:103: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] 103 | if (!stralloc_copys(&c->sa,"")) return -1; | ^ config.c:105: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] 105 | fd = open_read(fn); | ^ config.c:110: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] 110 | substdio_fdbuf(&ss,read,fd,inbuf,sizeof inbuf); | ^ config.c:113: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] 113 | if (getln(&ss,&line,&match,'\n') == -1) { close(fd); return -1; } | ^ config.c:113:47: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | if (getln(&ss,&line,&match,'\n') == -1) { close(fd); return -1; } | ^ config.c:115: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] 115 | if (!stralloc_0(&line)) { close(fd); return -1; } | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ config.c:115:31: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | if (!stralloc_0(&line)) { close(fd); return -1; } | ^ config.c:118:19: 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] 118 | if (!stralloc_cat(&c->sa,&line)) { close(fd); return -1; } | ^ config.c:118:37: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | if (!stralloc_cat(&c->sa,&line)) { close(fd); return -1; } | ^ config.c:121:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | close(fd); | ^ config.c:93:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | int config_readfile(c,fn) | ^ In file included from config.c:7: ./config.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 config_readfile(); | ^ 31 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. --- caldate_fmjd.o --- ./compile caldate_fmjd.c caldate_fmjd.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 caldate_frommjd(cd,day,pwday,pyday) | ^ In file included from caldate_fmjd.c:1: ./caldate.h:13: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] 13 | extern void caldate_frommjd(); | ^ 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. --- auto-str.o --- ./compile auto-str.c auto-str.c:11:20: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | if (substdio_puts(&ss1,s) == -1) _exit(111); | ^ auto-str.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void puts(s) | ^ auto-str.c:14:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 14 | void main(argc,argv) | ^ auto-str.c:14:1: note: change return type to 'int' 14 | void main(argc,argv) | ^~~~ | int auto-str.c:32:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 32 | while (ch = *value++) { | ~~~^~~~~~~~~~ auto-str.c:32:13: note: place parentheses around the assignment to silence this warning 32 | while (ch = *value++) { | ^ | ( ) auto-str.c:32:13: note: use '==' to turn this assignment into an equality comparison 32 | while (ch = *value++) { | ^ | == auto-str.c:42:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | if (substdio_flush(&ss1) == -1) _exit(111); | ^ auto-str.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | void main(argc,argv) | ^ 6 warnings generated. --- 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. --- alloc.o --- ./compile alloc.c 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. --- rts --- chmod 755 rts --- maildirqmtp --- chmod 755 maildirqmtp --- maildirsmtp --- chmod 755 maildirsmtp --- subfderr.o --- ./compile subfderr.c --- strerr_sys.o --- ./compile strerr_sys.c --- 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); --- serialsmtp.o --- ./compile serialsmtp.c --- install.o --- ./compile install.c --- subfdins.o --- ./compile subfdins.c --- subfdouts.o --- ./compile subfdouts.c --- substdi.o --- --- substdio.o --- --- substdio_copy.o --- --- substdo.o --- --- uint64.h --- --- timeoutread.o --- --- timeoutwrite.o --- --- wait_pid.o --- --- sig_catch.o --- --- lock_ex.o --- --- lock_exnb.o --- --- qmail.o --- --- serialqmtp.o --- --- maildir.o --- --- makelib --- --- wait_pid.o --- ./compile wait_pid.c wait_pid.c:8:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | int wait_pid(wstat,pid) int *wstat; int pid; | ^ 1 warning generated. --- timeoutwrite.o --- ./compile timeoutwrite.c In file included from timeoutwrite.c:2: ./select.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 previous declaration [-Wdeprecated-non-prototype] 7 | extern int select(); | ^ /usr/include/sys/select.h:103:5: note: conflicting prototype is here 103 | int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | ^ timeoutwrite.c:18:39: warning: passing arguments to 'write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | if (FD_ISSET(fd,&wfds)) return write(fd,buf,len); | ^ timeoutwrite.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 timeoutwrite(t,fd,buf,len) int t; int fd; char *buf; int len; | ^ In file included from timeoutwrite.c:1: ./timeoutwrite.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 timeoutwrite(); | ^ 4 warnings generated. --- timeoutread.o --- ./compile timeoutread.c In file included from timeoutread.c:2: ./select.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 previous declaration [-Wdeprecated-non-prototype] 7 | extern int select(); | ^ /usr/include/sys/select.h:103:5: note: conflicting prototype is here 103 | int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | ^ timeoutread.c:18:38: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | if (FD_ISSET(fd,&rfds)) return read(fd,buf,len); | ^ timeoutread.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 timeoutread(t,fd,buf,len) int t; int fd; char *buf; int len; | ^ In file included from timeoutread.c:1: ./timeoutread.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 timeoutread(); | ^ 4 warnings generated. --- 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. --- subfdins.o --- subfdins.c:7:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | if (substdio_flush(subfdoutsmall) == -1) return -1; | ^ subfdins.c:8:14: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | return read(fd,buf,len); | ^ subfdins.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int subfd_readsmall(fd,buf,len) int fd; char *buf; int len; | ^ In file included from subfdins.c:3: ./subfd.h:13:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | extern int subfd_readsmall(); | ^ 4 warnings generated. --- strerr_sys.o --- 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 --- | ^ 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. --- uint64.h --- ( ( ./compile tryulong64.c && ./load tryulong64 && ./tryulong64 ) >/dev/null 2>&1 && cat uint64.h1 || cat uint64.h2 ) > uint64.h --- qmail.o --- ./compile qmail.c --- lock_exnb.o --- ./compile lock_exnb.c --- serialsmtp.o --- serialsmtp.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_die1x(100,"serialsmtp: usage: serialsmtp prefix helohost"); | ^ ./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) | ^ serialsmtp.c:24: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] 24 | 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) | ^ --- install.o --- install.c:20:7: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | if (mkdir(home,0700) == -1) | ^ install.c:22: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] 22 | strerr_die4sys(111,FATAL,"unable to mkdir ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:23:7: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | if (chown(home,uid,gid) == -1) | ^ install.c:24:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- serialqmtp.o --- ./compile serialqmtp.c --- sig_catch.o --- ./compile sig_catch.c --- lock_ex.o --- ./compile lock_ex.c --- serialsmtp.o --- serialsmtp.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_die2sys(111,FATAL,"unable to write output: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ serialsmtp.c:30:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | strerr_die2sys(111,FATAL,"unable to read file: "); | ^ ./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) | ^ serialsmtp.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] --- install.o --- 24 | strerr_die4sys(111,FATAL,"unable to chown ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:25:7: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | if (chmod(home,mode) == -1) | ^ install.c:26: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] 26 | strerr_die4sys(111,FATAL,"unable to chmod ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ --- makelib --- ( cat warn-auto.sh; echo 'main="$1"; shift'; echo 'rm -f "$main"'; echo 'ar cr "$main" ${1+"$@"}'; case "`cat systype`" in sunos-5.*) ;; unix_sv*) ;; irix64-*) ;; irix-*) ;; dgux-*) ;; hp-ux-*) ;; sco*) ;; *) echo 'ranlib "$main"' ;; esac ) > makelib --- serialsmtp.o --- 33 | strerr_die2x(111,FATAL,"SMTP cannot transfer messages with partial final lines"); | ^ ./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) | ^ serialsmtp.c:36: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] 36 | strerr_die2x(111,FATAL,"network read error: end of file"); | ^ ./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) | ^ serialsmtp.c:39: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] 39 | strerr_die2sys(111,FATAL,"network read error: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' --- install.o --- install.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 h(home,uid,gid,mode) | ^ install.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(home) == -1) | ^ install.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 ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:38:7: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- serialsmtp.o --- 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ serialsmtp.c:42: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] 42 | strerr_die2sys(111,FATAL,"network write error: "); | ^ ./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) | ^ serialsmtp.c:45: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] 45 | strerr_die2x(111,FATAL,"protocol violation"); | ^ ./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) | ^ --- install.o --- 38 | if (mkdir(subdir,0700) == -1) | ^ install.c:40: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] 40 | strerr_die6sys(111,FATAL,"unable to mkdir ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:41:7: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | if (chown(subdir,uid,gid) == -1) | ^ install.c:42: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] 42 | strerr_die6sys(111,FATAL,"unable to chown ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' --- serialsmtp.o --- serialsmtp.c:51:18: warning: passing arguments to 'timeoutread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | r = timeoutread(81,fd,buf,len); | ^ serialsmtp.c:48:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | int saferead(fd,buf,len) int fd; char *buf; int len; | ^ serialsmtp.c:60:19: warning: passing arguments to 'timeoutwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | r = timeoutwrite(73,fd,buf,len); | ^ serialsmtp.c:57:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | int safewrite(fd,buf,len) int fd; char *buf; int len; | ^ --- install.o --- 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:43:7: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | if (chmod(subdir,mode) == -1) | ^ install.c:44: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] 44 | strerr_die6sys(111,FATAL,"unable to chmod ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:29:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | void d(home,subdir,uid,gid,mode) | ^ --- serialsmtp.o --- serialsmtp.c:79: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] 79 | if (getln(ssfrom,&dataline,&match,'\n') == -1) die_readmess(); | ^ serialsmtp.c:81: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] 81 | substdio_put(&ss7,".\r\n",3); | ^ serialsmtp.c:82: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] 82 | substdio_flush(&ss7); | ^ serialsmtp.c:87:61: 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] 87 | if (dataline.len && (dataline.s[0] == '.')) substdio_put(&ss7,".",1); --- install.o --- install.c:63:7: warning: call to undeclared function 'fchdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | if (fchdir(fdsourcedir) == -1) | ^ install.c:64: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] 64 | strerr_die2sys(111,FATAL,"unable to switch back to source directory: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:66: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] 66 | fdin = open_read(file); | ^ --- serialsmtp.o --- | ^ serialsmtp.c:88:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | substdio_put(&ss7,dataline.s,dataline.len); | ^ serialsmtp.c:89:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | substdio_put(&ss7,"\r\n",2); | ^ serialsmtp.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 blast(ssfrom) | ^ serialsmtp.c:106: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] 106 | if (getln(&ss6,&smtpline,&match,'\n') != 0) die_proto(); --- install.o --- install.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_die4sys(111,FATAL,"unable to read ",file,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:69: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] 69 | substdio_fdbuf(&ssin,read,fdin,inbuf,sizeof inbuf); | ^ install.c:71:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | if (chdir(home) == -1) | ^ --- serialsmtp.o --- | ^ serialsmtp.c:113:5: warning: call to undeclared function 'byte_copy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | byte_copy(num,3,smtpline.s); | ^ serialsmtp.c:115:19: 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] 115 | if (scan_ulong(num,&code) != 3) die_proto(); | ^ serialsmtp.c:120:21: 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] 120 | if (!case_diffb("PIPELINING",10,smtpline.s + 4)) | ^ serialsmtp.c:96:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | unsigned long smtpcode(flagehlo) | ^ --- install.o --- install.c:72:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:74:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | strerr_die6sys(111,FATAL,"unable to switch to ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:76: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] --- serialsmtp.o --- serialsmtp.c:132: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] 132 | substdio_puts(&ss7,"QUIT\r\n"); | ^ serialsmtp.c:133: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] 133 | substdio_flush(&ss7); | ^ serialsmtp.c:159: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] 159 | if (!stralloc_copyb(&line,"D",1)) die_nomem(); | ^ serialsmtp.c:162: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] 162 | if (!stralloc_copyb(&line,"Z",1)) die_nomem(); --- install.o --- 76 | fdout = open_trunc(file); | ^ install.c:78:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:79: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] 79 | substdio_fdbuf(&ssout,write,fdout,outbuf,sizeof outbuf); | ^ install.c:81:23: 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] 81 | switch(substdio_copy(&ssout,&ssin)) { | ^ --- serialsmtp.o --- | ^ serialsmtp.c:165: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] 165 | if (!stralloc_copyb(&line,"K",1)) die_nomem(); | ^ serialsmtp.c:169: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] 169 | if (!stralloc_cats(&line,remoteip)) die_nomem(); | ^ serialsmtp.c:170: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] 170 | if (!stralloc_cats(&line," said: ")) die_nomem(); | ^ --- install.o --- install.c:83: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] 83 | strerr_die4sys(111,FATAL,"unable to read ",file,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:85: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] 85 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:88:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | close(fdin); --- serialsmtp.o --- serialsmtp.c:173: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] 173 | if (!stralloc_cat(&line,&smtpline)) die_nomem(); | ^ serialsmtp.c:180: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] 180 | if (!stralloc_catb(&line,"\n",1)) die_nomem(); | ^ serialsmtp.c:182: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] 182 | if (substdio_put(subfdoutsmall,fn.s,fn.len) == -1) die_output(); | ^ serialsmtp.c:183: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] --- install.o --- | ^ install.c:89: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] 89 | if (substdio_flush(&ssout) == -1) | ^ install.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 write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.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(fdout) == -1) | ^ --- serialsmtp.o --- 183 | if (substdio_put(subfdoutsmall,line.s,line.len) == -1) die_output(); | ^ serialsmtp.c:184: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] 184 | if (substdio_flush(subfdoutsmall) == -1) die_output(); | ^ serialsmtp.c:152:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | void result(code) | ^ serialsmtp.c:193: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] 193 | substdio_fdbuf(&ssmess,read,fd,messbuf,sizeof messbuf); | ^ --- install.o --- install.c:92:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:94:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:96:7: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- serialsmtp.o --- serialsmtp.c:195: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] 195 | if (getln(&ssmess,&line,&match,'\n') == -1) die_readmess(); | ^ serialsmtp.c:197:23: 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] 197 | if (!stralloc_starts(&line,"Return-Path: <")) return; | ^ serialsmtp.c:200: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] 200 | if (!stralloc_copyb(&sender,line.s + 14,line.len - 16)) die_nomem(); | ^ serialsmtp.c:202: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] --- install.o --- 96 | if (chown(file,uid,gid) == -1) | ^ install.c:97: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] 97 | strerr_die6sys(111,FATAL,"unable to chown .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:98:7: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | if (chmod(file,mode) == -1) | ^ install.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_die6sys(111,FATAL,"unable to chmod .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' --- serialsmtp.o --- 202 | if (getln(&ssmess,&line,&match,'\n') == -1) die_readmess(); | ^ serialsmtp.c:204:23: 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] 204 | if (!stralloc_starts(&line,"Delivered-To: ")) return; | ^ serialsmtp.c:206: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] 206 | if (!stralloc_copyb(&recipient,line.s + 14,line.len - 15)) die_nomem(); | ^ serialsmtp.c:208:23: 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] 208 | if (!stralloc_starts(&recipient,prefix)) return; | ^ --- install.o --- 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:52:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | void c(home,subdir,file,uid,gid,mode) | ^ install.c:113:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | if (chdir(home) == -1) | ^ install.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 switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ --- serialsmtp.o --- serialsmtp.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(&sender)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ serialsmtp.c:211: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] 211 | if (!quote2(&quosender,sender.s)) die_nomem(); | ^ serialsmtp.c:212: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] 212 | if (!stralloc_0(&recipient)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") --- install.o --- install.c:116: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] 116 | strerr_die6sys(111,FATAL,"unable to switch to ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:118: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] 118 | fdout = open_trunc(file); | ^ install.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_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' --- serialsmtp.o --- | ^ serialsmtp.c:213:46: 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] 213 | if (!quote2(&quorecip,recipient.s + str_len(prefix))) die_nomem(); | ^ serialsmtp.c:213: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] 213 | if (!quote2(&quorecip,recipient.s + str_len(prefix))) die_nomem(); | ^ serialsmtp.c:216:18: 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] 216 | substdio_puts(&ss7,"RSET\r\n"); /* what a stupid protocol */ | ^ --- install.o --- 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:121: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] 121 | substdio_fdbuf(&ssout,write,fdout,outbuf,sizeof outbuf); | ^ install.c:124: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] 124 | if (substdio_put(&ssout,"",1) == -1) | ^ install.c:125: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] 125 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) --- serialsmtp.o --- serialsmtp.c:218: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] 218 | substdio_flush(&ss7); | ^ serialsmtp.c:224: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] 224 | substdio_puts(&ss7,"MAIL FROM:<"); | ^ serialsmtp.c:225:15: 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] 225 | substdio_put(&ss7,quosender.s,quosender.len); | ^ serialsmtp.c:226: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] 226 | substdio_puts(&ss7,">\r\n"); | ^ --- install.o --- | ^ install.c:127: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] 127 | if (substdio_flush(&ssout) == -1) | ^ install.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_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.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(fdout) == -1) | ^ --- serialsmtp.o --- serialsmtp.c:228:19: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | substdio_flush(&ss7); | ^ serialsmtp.c:233: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] 233 | substdio_puts(&ss7,"RCPT TO:<"); | ^ serialsmtp.c:234:15: 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] 234 | substdio_put(&ss7,quorecip.s,quorecip.len); | ^ serialsmtp.c:235: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] 235 | substdio_puts(&ss7,">\r\n"); | ^ --- install.o --- install.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_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:131:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | if (close(fdout) == -1) /* NFS silliness */ | ^ install.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_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' --- serialsmtp.o --- serialsmtp.c:237:19: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | substdio_flush(&ss7); | ^ serialsmtp.c:242: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] 242 | substdio_puts(&ss7,"DATA\r\n"); | ^ serialsmtp.c:243: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] 243 | substdio_flush(&ss7); | ^ serialsmtp.c:187:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | void doit(fd) | ^ serialsmtp.c:272:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] --- install.o --- 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:134:7: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | if (chown(file,uid,gid) == -1) | ^ install.c:135: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] 135 | strerr_die6sys(111,FATAL,"unable to chown .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:136:7: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | if (chmod(file,mode) == -1) | ^ --- serialsmtp.o --- 272 | void main(argc,argv) | ^ serialsmtp.c:272:1: note: change return type to 'int' 272 | void main(argc,argv) | ^~~~ | int serialsmtp.c:288:21: 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] 288 | remoteip = env_get("TCPREMOTEIP"); | ^ serialsmtp.c:292: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] 292 | strerr_die2x(111,FATAL,"connected but greeting failed"); | ^ ./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) | ^ serialsmtp.c:295: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] --- install.o --- install.c:137: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] 137 | strerr_die6sys(111,FATAL,"unable to chmod .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | void z(home,subdir,file,len,uid,gid,mode) | ^ install.c:140:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 140 | void main() | ^ install.c:140:1: note: change return type to 'int' 140 | void main() | ^~~~ | int install.c:142:26: 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] --- serialsmtp.o --- 295 | substdio_puts(&ss7,"EHLO "); | ^ serialsmtp.c:296: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] 296 | substdio_puts(&ss7,helohost); | ^ serialsmtp.c:297: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] 297 | substdio_puts(&ss7,"\r\n"); | ^ serialsmtp.c:298: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] 298 | substdio_flush(&ss7); | ^ serialsmtp.c:301:18: 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] 301 | substdio_puts(&ss7,"HELO "); --- install.o --- 142 | fdsourcedir = open_read("."); | ^ install.c:144: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] 144 | strerr_die2sys(111,FATAL,"unable to open current directory: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:146:3: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | umask(077); | ^ 64 warnings generated. --- serialsmtp.o --- | ^ serialsmtp.c:302:18: 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] 302 | substdio_puts(&ss7,helohost); | ^ serialsmtp.c:303:18: 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] 303 | substdio_puts(&ss7,"\r\n"); | ^ serialsmtp.c:304:19: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | substdio_flush(&ss7); | ^ serialsmtp.c:308: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] 308 | strerr_die2x(111,FATAL,"connected but my name was rejected"); | ^ ./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) | ^ serialsmtp.c:313: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] 313 | if (getln(subfdinsmall,&fn,&match,'\0') == -1) | ^ serialsmtp.c:314: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] 314 | 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) | ^ serialsmtp.c:317: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] 317 | fd = open_read(fn.s); | ^ serialsmtp.c:319: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] 319 | strerr_die4sys(111,FATAL,"unable to open ",fn.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) | ^ serialsmtp.c:322:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 322 | close(fd); | ^ serialsmtp.c:272:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | void main(argc,argv) | ^ 82 warnings generated. --- maildir.o --- ./compile maildir.c --- 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. --- 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); | ^ --- lock_exnb.o --- lock_exnb.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_exnb(fd) int fd; { return flock(fd,LOCK_EX | LOCK_NB); } | ^ In file included from lock_exnb.c:5: ./lock.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 lock_exnb(); | ^ 2 warnings generated. --- qmail.o --- qmail.c:30:18: warning: passing arguments to 'fd_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (fd_move(1,pie[0]) == -1) _exit(120); | ^ qmail.c:31:11: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | if (chdir(auto_qmail) == -1) _exit(61); | ^ qmail.c:32:7: warning: call to undeclared function 'execv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | execv(*binqqargs,binqqargs); | ^ qmail.c:36:21: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | qq->fdm = pim[1]; close(pim[0]); | ^ qmail.c:38:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | substdio_fdbuf(&qq->ss,write,qq->fdm,qq->buf,sizeof(qq->buf)); | ^ qmail.c:12:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | int qmail_open(qq) | ^ In file included from qmail.c:7: ./qmail.h:15:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | extern int qmail_open(); | ^ qmail.c:43:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | unsigned long qmail_qp(qq) struct qmail *qq; | ^ In file included from qmail.c:7: ./qmail.h:22:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | extern unsigned long qmail_qp(); | ^ qmail.c:48:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | void qmail_fail(qq) struct qmail *qq; | ^ In file included from qmail.c:7: ./qmail.h:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern void qmail_fail(); | ^ qmail.c:55:37: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | if (!qq->flagerr) if (substdio_put(&qq->ss,s,len) == -1) qq->flagerr = 1; | ^ qmail.c:53:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | void qmail_put(qq,s,len) struct qmail *qq; char *s; int len; | ^ In file included from qmail.c:7: ./qmail.h:16:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern void qmail_put(); | ^ qmail.c:60:38: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | if (!qq->flagerr) if (substdio_puts(&qq->ss,s) == -1) qq->flagerr = 1; | ^ qmail.c:58:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | void qmail_puts(qq,s) struct qmail *qq; char *s; | ^ In file included from qmail.c:7: ./qmail.h:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern void qmail_puts(); | ^ qmail.c:65:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | if (substdio_flush(&qq->ss) == -1) qq->flagerr = 1; | ^ qmail.c:66:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | close(qq->fdm); | ^ qmail.c:67:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | substdio_fdbuf(&qq->ss,write,qq->fde,qq->buf,sizeof(qq->buf)); | ^ qmail.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | void qmail_from(qq,s) struct qmail *qq; char *s; | ^ In file included from qmail.c:7: ./qmail.h:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern void qmail_from(); | ^ qmail.c:73:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | void qmail_to(qq,s) struct qmail *qq; char *s; | ^ In file included from qmail.c:7: ./qmail.h:19:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | extern void qmail_to(); | ^ qmail.c:87:39: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | if (!qq->flagerr) if (substdio_flush(&qq->ss) == -1) qq->flagerr = 1; | ^ qmail.c:88:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | close(qq->fde); | ^ qmail.c:90:15: warning: passing arguments to 'wait_pid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | if (wait_pid(&wstat,qq->pid) != qq->pid) | ^ qmail.c:80:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | char *qmail_close(qq) | ^ In file included from qmail.c:7: ./qmail.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | extern char *qmail_close(); | ^ 33 warnings generated. --- lock_ex.o --- 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. --- uint64.h --- rm -f tryulong64.o tryulong64 --- makelib --- chmod 755 makelib --- caltime_utc.o --- --- leapsecs_read.o --- --- leapsecs_sub.o --- --- maildirserial.o --- --- tai_now.o --- --- tai_unpack.o --- --- maildir.o --- maildir.c:18: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] 18 | maildir = env_get("MAILDIR"); | ^ maildir.c:21:6: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | if (chdir(maildir) == -1) | ^ maildir.c:39:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 39 | while (d = readdir(dir)) | ~~^~~~~~~~~~~~~~ maildir.c:39:11: note: place parentheses around the assignment to silence this warning 39 | while (d = readdir(dir)) | ^ | ( ) maildir.c:39:11: note: use '==' to turn this assignment into an equality comparison 39 | while (d = readdir(dir)) | ^ | == maildir.c:42:23: 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(tmpname,"tmp/")) break; | ^ maildir.c:43: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] 43 | if (!stralloc_cats(tmpname,d->d_name)) break; | ^ maildir.c:44:9: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | if (!stralloc_0(tmpname)) break; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ maildir.c:47:8: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | unlink(tmpname->s); | ^ maildir.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 maildir_clean(tmpname) | ^ In file included from maildir.c:10: ./maildir.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 maildir_clean(); | ^ maildir.c:68:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 68 | while (d = readdir(dir)) | ~~^~~~~~~~~~~~~~ maildir.c:68:11: note: place parentheses around the assignment to silence this warning 68 | while (d = readdir(dir)) | ^ | ( ) maildir.c:68:11: note: use '==' to turn this assignment into an equality comparison 68 | while (d = readdir(dir)) | ^ | == maildir.c:72: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] 72 | if (!stralloc_cats(filenames,subdir)) break; | ^ maildir.c:73: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] 73 | if (!stralloc_cats(filenames,"/")) break; | ^ maildir.c:74: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] 74 | if (!stralloc_cats(filenames,d->d_name)) break; | ^ maildir.c:75:9: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | if (!stralloc_0(filenames)) break; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ maildir.c:81:25: warning: passing arguments to 'prioq_insert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | if (!prioq_insert(pq,&pe)) break; | ^ maildir.c:52:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | static int append(pq,filenames,subdir,time) | ^ maildir.c:99: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] 99 | if (!stralloc_copys(filenames,"")) return 0; | ^ maildir.c:100:18: warning: passing arguments to 'prioq_min' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | while (prioq_min(pq,&pe)) prioq_delmin(pq); | ^ maildir.c:100:40: warning: passing arguments to 'prioq_delmin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | while (prioq_min(pq,&pe)) prioq_delmin(pq); | ^ maildir.c:90:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | int maildir_scan(pq,filenames,flagnew,flagcur) | ^ In file included from maildir.c:10: ./maildir.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 maildir_scan(); | ^ 21 warnings generated. --- tai_unpack.o --- ./compile tai_unpack.c --- serialqmtp.o --- serialqmtp.c:41:19: warning: passing arguments to 'timeoutwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | w = timeoutwrite(73,fd,buf,len); | ^ serialqmtp.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 safewrite(fd,buf,len) int fd; char *buf; int len; | ^ serialqmtp.c:66: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] 66 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof inbuf); | ^ serialqmtp.c:68: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] 68 | if (getln(&ssin,&line,&match,'\n') == -1) _exit(32); | ^ --- tai_now.o --- ./compile tai_now.c --- caltime_utc.o --- ./compile caltime_utc.c --- leapsecs_read.o --- ./compile leapsecs_read.c --- leapsecs_sub.o --- ./compile leapsecs_sub.c --- maildirserial.o --- ./compile maildirserial.c --- alloc.a --- --- case.a --- --- env.a --- --- error.a --- --- fd.a --- --- fs.a --- --- getln.a --- --- getopt.a --- --- lock.a --- --- mess822.a --- --- open.a --- --- sig.a --- --- str.a --- --- stralloc.a --- --- strerr.a --- --- substdio.a --- --- wait.a --- --- str.a --- ./makelib str.a str_len.o str_diff.o str_rchr.o str_start.o byte_chr.o byte_diff.o byte_copy.o byte_cr.o --- mess822.a --- ./makelib mess822.a mess822_date.o --- getopt.a --- ./makelib getopt.a subgetopt.o sgetopt.o --- getln.a --- ./makelib getln.a getln.o getln2.o --- fs.a --- ./makelib fs.a fmt_ulong.o scan_ulong.o --- fd.a --- ./makelib fd.a fd_copy.o fd_move.o --- error.a --- ./makelib error.a error.o error_str.o --- env.a --- ./makelib env.a env.o --- case.a --- ./makelib case.a case_diffb.o --- alloc.a --- ./makelib alloc.a alloc.o alloc_re.o --- tai_unpack.o --- tai_unpack.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 tai_unpack(s,t) | ^ In file included from tai_unpack.c:1: ./tai.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 tai_unpack(); | ^ 2 warnings generated. --- tai_now.o --- tai_now.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 tai_now(t) | ^ In file included from tai_now.c:2: ./tai.h:10: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] 10 | extern void tai_now(); | ^ 2 warnings generated. --- leapsecs_sub.o --- leapsecs_sub.c:9:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | int leapsecs_sub(t) | ^ In file included from leapsecs_sub.c:1: ./leapsecs.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 leapsecs_sub(); | ^ 2 warnings generated. --- leapsecs_read.o --- leapsecs_read.c:23:19: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | if (leapsecs) free(leapsecs); | ^ leapsecs_read.c:23:19: note: include the header or explicitly provide a declaration for 'free' leapsecs_read.c:29:30: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | if (fstat(fd,&st) == -1) { close(fd); return -1; } | ^ leapsecs_read.c:31:22: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | t = (struct tai *) malloc(st.st_size); | ^ leapsecs_read.c:31:22: note: include the header or explicitly provide a declaration for 'malloc' leapsecs_read.c:32:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | if (!t) { close(fd); return -1; } | ^ leapsecs_read.c:34:7: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | n = read(fd,(char *) t,st.st_size); | ^ leapsecs_read.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); | ^ leapsecs_read.c:41:15: warning: passing arguments to 'tai_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | tai_unpack((char *) &t[i],&u); | ^ leapsecs_read.c:49:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 49 | } | ^ 8 warnings generated. --- caltime_utc.o --- caltime_utc.c:21:22: warning: passing arguments to 'leapsecs_sub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | leap = leapsecs_sub(&t2); | ^ caltime_utc.c:32:18: warning: passing arguments to 'caldate_frommjd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | caldate_frommjd(&ct->date,/*XXX*/(long) (u - 53375995543064ULL),pwday,pyday); | ^ caltime_utc.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 caltime_utc(ct,t,pwday,pyday) | ^ In file included from caltime_utc.c:4: ./caltime.h:15: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] 15 | extern void caltime_utc(); | ^ 4 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 stralloc_num.o --- serialqmtp.o --- serialqmtp.c:71:23: 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] 71 | if (!stralloc_starts(&line,"Return-Path: <")) return; | ^ serialqmtp.c:74: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] 74 | if (!stralloc_copyb(&sender,line.s + 14,line.len - 16)) _exit(36); | ^ serialqmtp.c:76: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] 76 | if (getln(&ssin,&line,&match,'\n') == -1) _exit(32); | ^ serialqmtp.c:79:23: 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] --- substdio.a --- ./makelib substdio.a substdio.o substdi.o substdo.o subfderr.o subfdouts.o subfdins.o substdio_copy.o --- open.a --- ./makelib open.a open_read.o open_trunc.o open_append.o --- sig.a --- ./makelib sig.a sig_catch.o sig_pipe.o --- maildirserial.o --- maildirserial.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_die1x(100,"maildirserial: usage: maildirserial [ -b ] [ -t lifetime ] dir prefix client [ arg ... ]"); | ^ ./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) | ^ maildirserial.c:36: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] 36 | strerr_die2sys(111,FATAL,"unable to read from client: "); | ^ ./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) | ^ --- strerr.a --- ./makelib strerr.a strerr_sys.o strerr_die.o --- lock.a --- ./makelib lock.a lock_ex.o lock_exnb.o --- libtai.a --- --- serialqmtp.o --- 79 | if (!stralloc_starts(&line,"Delivered-To: ")) return; | ^ serialqmtp.c:81: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] 81 | if (!stralloc_copyb(&recipient,line.s + 14,line.len - 15)) _exit(36); | ^ serialqmtp.c:83:23: 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] 83 | if (!stralloc_starts(&recipient,prefix)) return; | ^ serialqmtp.c:88:24: 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] 88 | if (substdio_putflush(subfdoutsmall,fn.s,fn.len) == -1) _exit(33); | ^ --- wait.a --- ./makelib wait.a wait_pid.o --- maildirserial.o --- maildirserial.c:40: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] 40 | 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) | ^ maildirserial.c:44: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] 44 | strerr_die2sys(111,FATAL,"unable to run qq: "); | ^ ./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) | ^ maildirserial.c:77:20: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- serialqmtp.o --- serialqmtp.c:91:36: 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] 91 | substdio_put(&ssnet,num,fmt_ulong(num,len)); | ^ serialqmtp.c:91:15: 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] 91 | substdio_put(&ssnet,num,fmt_ulong(num,len)); | ^ serialqmtp.c:92:15: 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] 92 | substdio_put(&ssnet,":\n",2); | ^ serialqmtp.c:95: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] 95 | n = substdio_feed(&ssin); | ^ --- maildirserial.o --- 77 | fddir = open_read("."); | ^ maildirserial.c:79:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | strerr_die2sys(111,FATAL,"unable to open current directory: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ maildirserial.c:81:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | if (chdir(auto_qmail) == -1) | ^ maildirserial.c:82: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] 82 | strerr_die4sys(111,FATAL,"unable to chdir to ",auto_qmail,": "); | ^ --- serialqmtp.o --- serialqmtp.c:98:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | substdio_put(&ssnet,x,n); | ^ serialqmtp.c:102:15: 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] 102 | substdio_put(&ssnet,",",1); | ^ serialqmtp.c:105:36: 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 | substdio_put(&ssnet,num,fmt_ulong(num,len)); | ^ serialqmtp.c:105:15: 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] 105 | substdio_put(&ssnet,num,fmt_ulong(num,len)); | ^ --- maildirserial.o --- ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ maildirserial.c:84:22: warning: passing arguments to 'config_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | if (config_readline(&me,"control/me") == -1) | ^ maildirserial.c:85: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] 85 | strerr_die4sys(111,FATAL,"unable to read ",auto_qmail,"/control/me: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ --- serialqmtp.o --- serialqmtp.c:106:15: 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] 106 | substdio_put(&ssnet,":",1); | ^ serialqmtp.c:107:15: 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] 107 | substdio_put(&ssnet,sender.s,sender.len); | ^ serialqmtp.c:108:15: 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] 108 | substdio_put(&ssnet,",",1); | ^ serialqmtp.c:111: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] 111 | len2 = fmt_ulong(num2,len); | ^ --- maildirserial.o --- maildirserial.c:86:21: warning: passing arguments to 'config_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if (config_default(&me,"me") == -1) die_nomem(); | ^ maildirserial.c:88:22: warning: passing arguments to 'config_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | if (config_readline(&bouncefrom,"control/bouncefrom") == -1) | ^ maildirserial.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 read ",auto_qmail,"/control/bouncefrom: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ --- serialqmtp.o --- serialqmtp.c:113:36: 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] 113 | substdio_put(&ssnet,num,fmt_ulong(num,len)); | ^ serialqmtp.c:113:15: 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] 113 | substdio_put(&ssnet,num,fmt_ulong(num,len)); | ^ serialqmtp.c:114:15: 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] 114 | substdio_put(&ssnet,":",1); | ^ serialqmtp.c:115:15: 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] 115 | substdio_put(&ssnet,num2,len2); | ^ --- maildirserial.o --- maildirserial.c:90:21: warning: passing arguments to 'config_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | if (config_default(&bouncefrom,"MAILER-DAEMON") == -1) die_nomem(); | ^ maildirserial.c:92:22: warning: passing arguments to 'config_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | if (config_readline(&bouncehost,"control/bouncehost") == -1) | ^ maildirserial.c:93:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | strerr_die4sys(111,FATAL,"unable to read ",auto_qmail,"/control/bouncehost: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ --- serialqmtp.o --- serialqmtp.c:116:15: 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 | substdio_put(&ssnet,":",1); | ^ serialqmtp.c:117:15: 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] 117 | substdio_put(&ssnet,recipient.s + prefixlen,recipient.len - prefixlen); | ^ serialqmtp.c:118:15: 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] 118 | substdio_put(&ssnet,",,",2); | ^ serialqmtp.c:119: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] 119 | substdio_flush(&ssnet); | ^ --- maildirserial.o --- maildirserial.c:94:18: warning: passing arguments to 'config_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | if (config_copy(&bouncehost,&me) == -1) die_nomem(); | ^ maildirserial.c:96:22: warning: passing arguments to 'config_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | if (config_readline(&doublebouncehost,"control/doublebouncehost") == -1) | ^ maildirserial.c:97: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] 97 | strerr_die4sys(111,FATAL,"unable to read ",auto_qmail,"/control/doublebouncehost: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ --- serialqmtp.o --- serialqmtp.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 doit(fd) | ^ serialqmtp.c:128: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] 128 | substdio_fdbuf(&ssnet,safewrite,7,netbuf,sizeof netbuf); | ^ serialqmtp.c:131: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] 131 | if (getln(subfdinsmall,&fn,&match,'\0') == -1) _exit(34); | ^ serialqmtp.c:133: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] 133 | fd = open_read(fn.s); | ^ --- maildirserial.o --- maildirserial.c:98:18: warning: passing arguments to 'config_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | if (config_copy(&doublebouncehost,&me) == -1) die_nomem(); | ^ maildirserial.c:100:22: warning: passing arguments to 'config_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | if (config_readline(&doublebounceto,"control/doublebounceto") == -1) | ^ maildirserial.c:101: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] 101 | strerr_die4sys(111,FATAL,"unable to read ",auto_qmail,"/control/doublebounceto: "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ --- serialqmtp.o --- serialqmtp.c:136:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | close(fd); | ^ serialqmtp.c:143: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] 143 | void die_proto() { strerr_die2x(111,FATAL,"remote protocol violation"); } | ^ ./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) | ^ serialqmtp.c:144: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] 144 | void die_nomem() { strerr_die2x(111,FATAL,"out of memory"); } | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' --- maildirserial.o --- maildirserial.c:102:21: warning: passing arguments to 'config_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | if (config_default(&doublebounceto,"postmaster") == -1) die_nomem(); | ^ maildirserial.c:104: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] 104 | if (!stralloc_cats(config_data(&doublebounceto),"@")) die_nomem(); | ^ maildirserial.c:105: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] 105 | if (!stralloc_cat(config_data(&doublebounceto),config_data(&doublebouncehost))) die_nomem(); | ^ --- serialqmtp.o --- 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ serialqmtp.c:145:21: 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] 145 | void die_output() { strerr_die2sys(111,FATAL,"unable to write output: "); } | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ serialqmtp.c:150:18: warning: passing arguments to 'timeoutread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | r = timeoutread(3600,fd,buf,len); | ^ serialqmtp.c:151: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] --- maildirserial.o --- maildirserial.c:106: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] 106 | if (!stralloc_0(config_data(&doublebounceto))) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ maildirserial.c:108:7: warning: call to undeclared function 'fchdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | if (fchdir(fddir) == -1) | ^ maildirserial.c:109: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] 109 | strerr_die2sys(111,FATAL,"unable to set current directory: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' --- serialqmtp.o --- 151 | if (r == 0) strerr_die2x(111,FATAL,"network read error: end of file"); | ^ ./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) | ^ serialqmtp.c:152: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] 152 | if (r < 0) strerr_die2sys(111,FATAL,"network read error: "); | ^ ./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) | ^ serialqmtp.c:147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | int saferead(fd,buf,len) int fd; char *buf; int len; | ^ --- maildirserial.o --- 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ maildirserial.c:114:50: 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 | void put(buf,len) char *buf; int len; { qmail_put(&qq,buf,len); } | ^ maildirserial.c:114:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | void put(buf,len) char *buf; int len; { qmail_put(&qq,buf,len); } | ^ maildirserial.c:115:39: 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 | void puts(buf) char *buf; { qmail_puts(&qq,buf); } | ^ --- serialqmtp.o --- serialqmtp.c:161: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] 161 | substdio_fdbuf(&ssnet,saferead,6,netbuf,sizeof netbuf); | ^ serialqmtp.c:164: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] 164 | if (getln(subfdinsmall,&fn,&match,'\0') == -1) | ^ serialqmtp.c:165: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] 165 | strerr_die2sys(111,FATAL,"unable to read from child: "); | ^ ./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) | ^ --- maildirserial.o --- maildirserial.c:115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | void puts(buf) char *buf; { qmail_puts(&qq,buf); } | ^ maildirserial.c:139: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] 139 | substdio_fdbuf(&ssmess,read,fd,messbuf,sizeof messbuf); | ^ maildirserial.c:141: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] 141 | if (getln(&ssmess,&line,&match,'\n') == -1) return -1; | ^ maildirserial.c:143:23: 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] --- serialqmtp.o --- serialqmtp.c:170:19: warning: passing arguments to 'substdio_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | substdio_get(&ssnet,&ch,1); | ^ serialqmtp.c:177:17: 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] 177 | substdio_get(&ssnet,&ch,1); --len; | ^ serialqmtp.c:180: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] 180 | if (!stralloc_copyb(&line,&ch,1)) die_nomem(); | ^ serialqmtp.c:183: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] 183 | if (!stralloc_cats(&line,remoteip)) die_nomem(); --- maildirserial.o --- 143 | if (!stralloc_starts(&line,"Return-Path: <")) return -3; | ^ maildirserial.c:146: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] 146 | if (!stralloc_copyb(&sender,line.s + 14,line.len - 16)) die_nomem(); | ^ maildirserial.c:147:7: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | if (byte_chr(sender.s,sender.len,'\0') < sender.len) return -3; | ^ maildirserial.c:148: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] 148 | if (!stralloc_0(&sender)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") --- serialqmtp.o --- | ^ serialqmtp.c:184: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] 184 | if (!stralloc_cats(&line," said: ")) die_nomem(); | ^ serialqmtp.c:188:19: warning: passing arguments to 'substdio_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | substdio_get(&ssnet,&ch,1); | ^ serialqmtp.c:189:48: 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] 189 | if (line.len < 2000) if (!stralloc_append(&line,&ch)) die_nomem(); | ^ --- maildirserial.o --- | ^ maildirserial.c:150: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] 150 | if (getln(&ssmess,&line,&match,'\n') == -1) return -1; | ^ maildirserial.c:152:23: 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] 152 | if (!stralloc_starts(&line,"Delivered-To: ")) return -3; | ^ maildirserial.c:154: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] 154 | if (!stralloc_copyb(&recipient,line.s + 14,line.len - 15)) die_nomem(); | ^ --- serialqmtp.o --- serialqmtp.c:197: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] 197 | if (!stralloc_append(&line,"\n")) die_nomem(); | ^ serialqmtp.c:199: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] 199 | if (substdio_put(subfdoutsmall,fn.s,fn.len) == -1) die_output(); | ^ serialqmtp.c:200: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] 200 | if (substdio_put(subfdoutsmall,line.s,line.len) == -1) die_output(); | ^ --- maildirserial.o --- maildirserial.c:156: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] 156 | if (str_equal(sender.s,"#@[]")) return 2; | ^ ./str.h:12:34: note: expanded from macro 'str_equal' 12 | #define str_equal(s,t) (!str_diff((s),(t))) | ^ maildirserial.c:158: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] 158 | if (qmail_open(&qq) == -1) die_qq(); | ^ maildirserial.c:159:16: 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] 159 | qp = qmail_qp(&qq); | ^ --- serialqmtp.o --- serialqmtp.c:201: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] 201 | if (substdio_flush(subfdoutsmall) == -1) die_output(); | ^ serialqmtp.c:203:17: 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] 203 | substdio_get(&ssnet,&ch,1); | ^ serialqmtp.c:213:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 213 | void main(argc,argv) | ^ serialqmtp.c:213:1: note: change return type to 'int' 213 | void main(argc,argv) | ^~~~ | int serialqmtp.c:222:21: 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] 222 | remoteip = env_get("TCPREMOTEIP"); | ^ --- maildirserial.o --- maildirserial.c:164:10: warning: passing arguments to 'tai_now' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | tai_now(&datetai); | ^ maildirserial.c:165:14: warning: passing arguments to 'caltime_utc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | caltime_utc(&date.ct,&datetai,(int *) 0,(int *) 0); | ^ maildirserial.c:167:20: warning: passing arguments to 'mess822_date' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | if (!mess822_date(&datestr,&date)) die_nomem(); | ^ maildirserial.c:173:8: warning: call to undeclared function 'quote'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | if (!quote("ed,config_data(&bouncefrom))) die_nomem(); | ^ --- serialqmtp.o --- serialqmtp.c:226: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] 226 | strerr_die1x(100,"serialqmtp: usage: serialqmtp prefix"); | ^ ./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) | ^ serialqmtp.c:227:22: 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] 227 | prefixlen = str_len(prefix); | ^ serialqmtp.c:229:7: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229 | if (pipe(pic2p) == -1) | ^ --- maildirserial.o --- maildirserial.c:178:8: warning: call to undeclared function 'quote2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | if (!quote2("ed,bouncerecip)) die_nomem(); | ^ maildirserial.c:197:22: warning: passing arguments to 'stralloc_starts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | if (stralloc_starts(&recipient,prefix)) | ^ maildirserial.c:198: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] 198 | put(recipient.s + str_len(prefix),recipient.len - str_len(prefix)); | ^ maildirserial.c:198:62: 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] --- serialqmtp.o --- serialqmtp.c:230: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] 230 | strerr_die2sys(111,FATAL,"unable to create pipe: "); | ^ ./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) | ^ serialqmtp.c:234: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] 234 | strerr_die2sys(111,FATAL,"unable to fork: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ serialqmtp.c:237:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- maildirserial.o --- 198 | put(recipient.s + str_len(prefix),recipient.len - str_len(prefix)); | ^ maildirserial.c:214: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] 214 | n = substdio_feed(&ssmess); | ^ maildirserial.c:215: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] 215 | if (n < 0) strerr_die2sys(111,FATAL,"unable to read message: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ --- serialqmtp.o --- 237 | close(pic2p[0]); | ^ serialqmtp.c:238:12: 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] 238 | fd_move(1,pic2p[1]); | ^ serialqmtp.c:243:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | close(pic2p[1]); | ^ serialqmtp.c:244:10: 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] 244 | fd_move(0,pic2p[0]); | ^ serialqmtp.c:247: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] 247 | if (wait_pid(&wstat,pid) == -1) | ^ --- maildirserial.o --- maildirserial.c:222: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] 222 | qmail_from(&qq,bouncesender); | ^ maildirserial.c:223: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] 223 | qmail_to(&qq,bouncerecip); | ^ maildirserial.c:224:20: 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] 224 | qqx = qmail_close(&qq); | ^ maildirserial.c:128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | int bounce(fd,why,flagtimeout) | ^ --- serialqmtp.o --- serialqmtp.c:248: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] 248 | strerr_die2sys(111,FATAL,"unable to get child status: "); | ^ ./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) | ^ serialqmtp.c:250: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] 250 | strerr_die2x(111,FATAL,"child crashed"); | ^ ./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) | ^ --- maildirserial.o --- maildirserial.c:238: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] 238 | substdio_fdbuf(&ssmess,read,fd,messbuf,sizeof messbuf); | ^ maildirserial.c:240: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] 240 | if (getln(&ssmess,&line,&match,'\n') == -1) return -1; | ^ maildirserial.c:243: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] 243 | if (getln(&ssmess,&line,&match,'\n') == -1) return -1; | ^ maildirserial.c:245:23: 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] --- serialqmtp.o --- serialqmtp.c:253: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] 253 | case 31: strerr_die2x(111,FATAL,"unable to write to network"); | ^ ./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) | ^ serialqmtp.c:254: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] 254 | case 32: strerr_die2x(111,FATAL,"unable to read file"); | ^ ./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) | ^ --- maildirserial.o --- 245 | if (!stralloc_starts(&line,"Delivered-To: ")) return 0; | ^ maildirserial.c:247: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] 247 | if (!stralloc_copyb(&recipient,line.s + 14,line.len - 15)) return -1; | ^ maildirserial.c:249:25: 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] 249 | return stralloc_starts(&recipient,prefix); | ^ maildirserial.c:233:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | int hasprefix(fd) | ^ --- serialqmtp.o --- serialqmtp.c:255: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] 255 | case 34: strerr_die2x(111,FATAL,"unable to read input"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ serialqmtp.c:256: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] 256 | case 35: strerr_die2x(111,FATAL,"unable to open file"); | ^ ./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) | ^ --- maildirserial.o --- maildirserial.c:260: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] 260 | if (str_equal(fn,deadfiles.s + i)) return 0; | ^ ./str.h:12:34: note: expanded from macro 'str_equal' 12 | #define str_equal(s,t) (!str_diff((s),(t))) | ^ maildirserial.c:261: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] 261 | i += str_len(deadfiles.s + i); | ^ maildirserial.c:267: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] 267 | fd = open_read(fn); | ^ --- serialqmtp.o --- serialqmtp.c:259: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] 259 | strerr_die2x(111,FATAL,"internal 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) | ^ serialqmtp.c:213:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | void main(argc,argv) | ^ 78 warnings generated. --- maildirserial.o --- maildirserial.c:269:5: 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] 269 | strerr_warn4(WARNING,"unable to open ",fn,": ",&strerr_sys); | ^ ./strerr.h:33:12: note: expanded from macro 'strerr_warn4' 33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ maildirserial.c:275:5: 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] 275 | strerr_warn4(WARNING,"unable to read ",fn,": ",&strerr_sys); | ^ ./strerr.h:33:12: note: expanded from macro 'strerr_warn4' 33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ maildirserial.c:276:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | close(fd); | ^ maildirserial.c:252:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | int usable(fn) | ^ maildirserial.c:290:7: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | if (pipe(pis2c) == -1) | ^ maildirserial.c:291: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] 291 | strerr_die2sys(111,FATAL,"unable to create pipe: "); | ^ ./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) | ^ maildirserial.c:293: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] 293 | substdio_fdbuf(&ss,write,pis2c[1],buf,sizeof buf); | ^ maildirserial.c:295:16: warning: passing arguments to 'maildir_clean' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | maildir_clean(&filenames); | ^ maildirserial.c:297:19: warning: passing arguments to 'maildir_scan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | if (maildir_scan(&pq,&filenames,1,1) == -1) | ^ maildirserial.c:298: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] 298 | strerr_die1(111,FATAL,&maildir_scan_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)) | ^ maildirserial.c:300:19: warning: passing arguments to 'prioq_min' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | while (prioq_min(&pq,&pe)) { | ^ maildirserial.c:301:17: warning: passing arguments to 'prioq_delmin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | prioq_delmin(&pq); | ^ maildirserial.c:307: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] 307 | strerr_die2sys(111,FATAL,"unable to fork: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ maildirserial.c:309:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | close(pis2c[1]); | ^ maildirserial.c:310:11: 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] 310 | fd_move(0,pis2c[0]); | ^ maildirserial.c:312:4: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | execvp(*client,client); | ^ maildirserial.c:313: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] 313 | strerr_die4sys(111,FATAL,"unable to run ",*client,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ maildirserial.c:315:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | close(pis2c[0]); | ^ maildirserial.c:317:34: 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] 317 | substdio_put(&ss,fn,str_len(fn) + 1); /* ignore errors */ | ^ maildirserial.c:317: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] 317 | substdio_put(&ss,fn,str_len(fn) + 1); /* ignore errors */ | ^ maildirserial.c:321:13: 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] 321 | if (!pid) _exit(0); | ^ maildirserial.c:321:13: note: include the header or explicitly provide a declaration for '_exit' maildirserial.c:323: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] 323 | substdio_flush(&ss); /* ignore errors */ | ^ maildirserial.c:324:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 324 | close(pis2c[1]); | ^ maildirserial.c:326: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] 326 | if (wait_pid(&wstat,pid) == -1) | ^ maildirserial.c:327: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] 327 | strerr_die2sys(111,FATAL,"unable to get client status: "); | ^ ./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) | ^ maildirserial.c:329: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] 329 | strerr_die2x(111,FATAL,"client crashed"); | ^ ./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) | ^ maildirserial.c:353: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] 353 | substdio_puts(subfderr,INFO); | ^ maildirserial.c:354: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] 354 | substdio_puts(subfderr,fn.s); | ^ maildirserial.c:355: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] 355 | substdio_puts(subfderr,result); | ^ maildirserial.c:356:15: 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] 356 | substdio_put(subfderr,err.s,err.len); | ^ maildirserial.c:357: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] 357 | substdio_flush(subfderr); | ^ maildirserial.c:350:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | void info(result) | ^ maildirserial.c:360:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 360 | void main(argc,argv) | ^ maildirserial.c:360:1: note: change return type to 'int' 360 | void main(argc,argv) | ^~~~ | int maildirserial.c:373: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] 373 | while ((opt = getopt(argc,argv,"bt:")) != opteof) | ^ maildirserial.c:379:12: 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] 379 | scan_ulong(optarg,&lifetime); | ^ maildirserial.c:394:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | if (chdir(dir) == -1) | ^ maildirserial.c:395: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] 395 | strerr_die4sys(111,FATAL,"unable to chdir 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) | ^ maildirserial.c:399: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] 399 | if (!stralloc_copys(&deadfiles,"")) die_nomem(); | ^ maildirserial.c:404:9: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 404 | if (pipe(pic2p) == -1) | ^ maildirserial.c:405: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] 405 | strerr_die2sys(111,FATAL,"unable to create pipe: "); | ^ ./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) | ^ maildirserial.c:409: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] 409 | strerr_die2sys(111,FATAL,"unable to fork: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ maildirserial.c:412:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | close(pic2p[0]); | ^ maildirserial.c:413:14: 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] 413 | fd_move(1,pic2p[1]); | ^ maildirserial.c:417:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 417 | close(pic2p[1]); | ^ maildirserial.c:418: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] 418 | substdio_fdbuf(&ss,read,pic2p[0],buf,sizeof buf); | ^ maildirserial.c:423: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] 423 | if (getln(&ss,&fn,&match,'\0') == -1) die_readclient(); | ^ maildirserial.c:425:23: 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] 425 | r = substdio_get(&ss,&status,1); | ^ maildirserial.c:428: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] 428 | if (getln(&ss,&err,&match,'\n') == -1) die_readclient(); | ^ maildirserial.c:436:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 436 | if (unlink(fn.s) == -1) { | ^ maildirserial.c:437:4: 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] 437 | strerr_warn4(WARNING,"message will be delivered twice! unable to unlink ",fn.s,": ",&strerr_sys); | ^ ./strerr.h:33:12: note: expanded from macro 'strerr_warn4' 33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ maildirserial.c:438:28: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | if (!stralloc_cat(&deadfiles,&fn)) die_nomem(); | ^ maildirserial.c:447:4: 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] 447 | strerr_warn4(WARNING,"assuming message is still alive; unable to stat ",fn.s,": ",&strerr_sys); | ^ ./strerr.h:33:12: note: expanded from macro 'strerr_warn4' 33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ maildirserial.c:462:18: 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] 462 | fd = open_read(fn.s); | ^ maildirserial.c:464:6: 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] 464 | strerr_warn4(WARNING,"unable to read ",fn.s,": ",&strerr_sys); | ^ ./strerr.h:33:12: note: expanded from macro 'strerr_warn4' 33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ maildirserial.c:465:30: 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] 465 | if (!stralloc_cat(&deadfiles,&fn)) die_nomem(); | ^ maildirserial.c:471:6: 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] 471 | strerr_warn4(WARNING,"unable to bounce ",fn.s,": ",&strerr_sys); | ^ ./strerr.h:33:12: note: expanded from macro 'strerr_warn4' 33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ maildirserial.c:473:6: 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] 473 | strerr_warn5(WARNING,"unable to bounce ",fn.s,": qq failed: ",qqx + 1,0); | ^ ./strerr.h:31:12: note: expanded from macro 'strerr_warn5' 31 | strerr_warn((x1),(x2),(x3),(x4),(x5),(char *) 0,(struct strerr *) (se)) | ^ maildirserial.c:475:6: 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] 475 | strerr_warn4(WARNING,"unable to bounce ",fn.s,": bad file format",0); | ^ ./strerr.h:33:12: note: expanded from macro 'strerr_warn4' 33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ maildirserial.c:477:6: 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] 477 | strerr_warn4(INFO,"discarding ",fn.s,": triple bounce",0); | ^ ./strerr.h:33:12: note: expanded from macro 'strerr_warn4' 33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ maildirserial.c:479: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] 479 | substdio_puts(subfderr,INFO); | ^ maildirserial.c:480: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] 480 | substdio_puts(subfderr,"returned "); | ^ maildirserial.c:481: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] 481 | substdio_puts(subfderr,fn.s); | ^ maildirserial.c:482: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] 482 | substdio_puts(subfderr,": qp "); | ^ maildirserial.c:483:41: 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] 483 | substdio_put(subfderr,num,fmt_ulong(num,qp)); | ^ maildirserial.c:483: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] 483 | substdio_put(subfderr,num,fmt_ulong(num,qp)); | ^ maildirserial.c:484: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] 484 | substdio_puts(subfderr,"\n"); | ^ maildirserial.c:485:20: 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] 485 | substdio_flush(subfderr); | ^ maildirserial.c:491:10: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 491 | if (unlink(fn.s) == 0) | ^ maildirserial.c:493:6: 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] 493 | strerr_warn4(WARNING,"message has been bounced but not removed! unable to unlink ",fn.s,": ",&strerr_sys); | ^ ./strerr.h:33:12: note: expanded from macro 'strerr_warn4' 33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ maildirserial.c:495:28: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | if (!stralloc_cat(&deadfiles,&fn)) die_nomem(); | ^ maildirserial.c:500: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] 500 | if (!stralloc_cat(&deadfiles,&fn)) die_nomem(); | ^ maildirserial.c:505:17: 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] 505 | if (wait_pid(&wstat,pid) == -1) | ^ maildirserial.c:506: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] 506 | strerr_die2sys(111,FATAL,"unable to get scanner status: "); | ^ ./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) | ^ maildirserial.c:508: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] 508 | strerr_die2x(111,FATAL,"scanner crashed"); | ^ ./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) | ^ maildirserial.c:516: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] 516 | strerr_die2x(111,FATAL,"making no progress, giving up"); | ^ ./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) | ^ maildirserial.c:360:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | void main(argc,argv) | ^ 144 warnings generated. --- libtai.a --- ./makelib libtai.a tai_now.o tai_unpack.o caldate_fmjd.o leapsecs_read.o leapsecs_init.o leapsecs_sub.o caltime_utc.o --- auto-str --- ./load auto-str substdio.a error.a str.a --- setlock --- ./load setlock getopt.a strerr.a substdio.a error.a str.a lock.a open.a --- serialqmtp --- --- serialsmtp --- --- serialqmtp --- ./load serialqmtp timeoutread.o timeoutwrite.o env.a sig.a getln.a stralloc.a strerr.a substdio.a alloc.a error.a str.a wait.a open.a fd.a fs.a --- serialsmtp --- ./load serialsmtp timeoutread.o timeoutwrite.o quote.o case.a env.a sig.a getln.a stralloc.a strerr.a substdio.a alloc.a error.a str.a wait.a open.a fd.a fs.a --- auto_home.c --- --- auto_qmail.c --- --- auto_home.c --- ./auto-str auto_home `head -1 conf-home` > auto_home.c --- auto_qmail.c --- ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c --- auto_home.o --- ./compile auto_home.c --- auto_qmail.o --- ./compile auto_qmail.c --- install --- --- instcheck --- --- install --- ./load install hier.o auto_home.o strerr.a substdio.a open.a error.a str.a --- maildirserial --- --- instcheck --- ./load instcheck hier.o auto_home.o strerr.a substdio.a error.a str.a --- maildirserial --- ./load maildirserial auto_qmail.o qmail.o maildir.o config.o quote.o prioq.o now.o env.a getopt.a mess822.a libtai.a getln.a strerr.a substdio.a stralloc.a alloc.a error.a str.a open.a wait.a sig.a fd.a fs.a =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> serialmail-0.75_5 depends on executable: tcpserver - not found ===> Installing existing package /packages/All/ucspi-tcp-0.88_3.pkg [pkg.DaveG.ca] Installing ucspi-tcp-0.88_3... [pkg.DaveG.ca] Extracting ucspi-tcp-0.88_3: .......... done ===== Message from ucspi-tcp-0.88_3: -- ===> NOTICE: The ucspi-tcp 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 ===> serialmail-0.75_5 depends on executable: tcpserver - found ===> Returning to build of serialmail-0.75_5 ===> serialmail-0.75_5 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 ===> serialmail-0.75_5 depends on file: /var/qmail/bin/qmail-send - found ===> Returning to build of serialmail-0.75_5 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for serialmail-0.75_5 ===> Generating temporary packing list cd /wrkdirs/usr/ports/mail/serialmail/work/serialmail-0.75 && install -s -m 555 serialqmtp serialsmtp maildirserial setlock /wrkdirs/usr/ports/mail/serialmail/work/stage/usr/local/bin && install -m 555 maildirqmtp maildirsmtp /wrkdirs/usr/ports/mail/serialmail/work/stage/usr/local/bin && install -m 444 maildirqmtp.1 maildirserial.1 maildirsmtp.1 serialqmtp.1 serialsmtp.1 setlock.1 /wrkdirs/usr/ports/mail/serialmail/work/stage/usr/local/share/man/man1 cd /wrkdirs/usr/ports/mail/serialmail/work/serialmail-0.75 && install -m 0644 AUTOTURN BLURB CHANGES FROMISP README TODO TOISP THANKS /wrkdirs/usr/ports/mail/serialmail/work/stage/usr/local/share/doc/serialmail ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-12-12T04:53:03+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=c115a1975819' '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 serialmail-0.75_5 ===> Building serialmail-0.75_5 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for serialmail-0.75_5 build of mail/serialmail | serialmail-0.75_5 ended at Thu Dec 11 23:54:52 EST 2025 build time: 00:01:54