=>> Building mail/smtpfeed build started at Fri Mar 13 11:43:55 EDT 2026 port directory: /usr/ports/mail/smtpfeed package name: smtpfeed-1.23_1 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 926 Aug 27 2024 /usr/ports/mail/smtpfeed/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: c75c94468641 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 12 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_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_14_4_x64-HEAD-ALL/12/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_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 smtpfeed-1.23_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/smtpfeed/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/smtpfeed/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/smtpfeed/work/.cache HOME=/wrkdirs/usr/ports/mail/smtpfeed/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/smtpfeed/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/smtpfeed/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/smtpfeed/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/smtpfeed/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/smtpfeed/work/.cache HOME=/wrkdirs/usr/ports/mail/smtpfeed/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/smtpfeed/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/smtpfeed/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/smtpfeed" EXAMPLESDIR="share/examples/smtpfeed" DATADIR="share/smtpfeed" WWWDIR="www/smtpfeed" ETCDIR="etc/smtpfeed" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/smtpfeed DOCSDIR=/usr/local/share/doc/smtpfeed EXAMPLESDIR=/usr/local/share/examples/smtpfeed WWWDIR=/usr/local/www/smtpfeed ETCDIR=/usr/local/etc/smtpfeed --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The smtpfeed 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 ===> smtpfeed-1.23_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> smtpfeed-1.23_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of smtpfeed-1.23_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The smtpfeed 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 smtpfeed-1.23_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The smtpfeed 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 smtpfeed-1.23_1 for building => SHA256 Checksum OK for smtpfeed-1.23.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 smtpfeed 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 smtpfeed-1.23_1 for building ===> Extracting for smtpfeed-1.23_1 => SHA256 Checksum OK for smtpfeed-1.23.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 smtpfeed-1.23_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> smtpfeed-1.23_1 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. ===> smtpfeed-1.23_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of smtpfeed-1.23_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for smtpfeed-1.23_1 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for lib_exec... /usr/libexec checking for gcc... cc checking whether the C compiler (cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for rm... /bin/rm checking how to run the C preprocessor... cpp checking for main in -lnsl... no checking for connect... yes checking for setproctitle in -lutil... yes checking whether to enable ipv6... yes checking for lib_exec... (cached) /usr/libexec checking ipv6 stack type... kame using libc checking for IPv6 resolver type... normal checking for main in -lresolv... no checking for inet_aton in -lresolv... no checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for sys/time.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for netinet/in.h... (cached) yes Your has sin_len in sockaddr_in. checking for working const... yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether cc needs -traditional... no checking return type of signal handlers... void checking for strerror... (cached) yes checking for snprintf... (cached) yes checking for setproctitle... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating compat.h compat.h is unchanged =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for smtpfeed-1.23_1 --- address.o --- --- dns.o --- --- lmtp.o --- --- log.o --- --- main.o --- --- mxrand.o --- --- proctitle.o --- --- smtp.o --- --- util.o --- --- version.o --- --- address.o --- cc -DINET6 -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -c address.c -o address.o --- dns.o --- cc -DINET6 -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -c dns.c -o dns.o --- lmtp.o --- cc -DINET6 -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -c lmtp.c -o lmtp.o --- main.o --- cc -DINET6 -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -c main.c -o main.o --- log.o --- cc -DINET6 -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -c log.c -o log.o --- mxrand.o --- cc -DINET6 -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -c mxrand.c -o mxrand.o --- proctitle.o --- cc -DINET6 -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -c proctitle.c -o proctitle.o --- smtp.o --- cc -DINET6 -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -c smtp.c -o smtp.o --- util.o --- cc -DINET6 -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -c util.c -o util.o --- version.o --- cc -DINET6 -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -c version.c -o version.o --- log.o --- --- mxrand.o --- mxrand.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | mxrand(host1, host2) | ^ 1 warning generated. --- proctitle.o --- proctitle.c:191:22: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | environ[i] = newstr(envp[i]); | ^ proctitle.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | initsetproctitle(argc, argv, envp) | ^ In file included from proctitle.c:78: ./extern.h:71:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | void initsetproctitle(); | ^ 3 warnings generated. --- main.o --- main.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | usage(progname) | ^ main.c:159:18: warning: passing arguments to 'initsetproctitle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | initsetproctitle(argc, argv, envp); | ^ main.c:184:18: warning: passing arguments to 'addmyalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | if (addmyalias(optarg) < 0) | ^ main.c:257:25: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | cnf.pgateway = newstr(optarg); | ^ main.c:262:24: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | env.queueid = newstr(optarg); | ^ main.c:268:24: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | env.queueid = newstr(optarg); | ^ main.c:323:20: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | cnf.map = newstr(optarg); | ^ main.c:328:27: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | cnf.fallbackmx = newstr(optarg); | ^ main.c:364:25: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | cnf.sourceIP = newstr(optarg); | ^ main.c:381:16: warning: passing arguments to 'isnumeric' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | if(isnumeric(optarg)) | ^ main.c:384:27: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | cnf.rcpts_def = newstr(optarg); | ^ main.c:395:30: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | cnf.src_mod_path = newstr(optarg); | ^ main.c:403:29: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | cnf.src_mod_ptn = newstr(optarg); | ^ main.c:410:15: warning: passing arguments to 'set_timeout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | set_timeout(optarg); | ^ main.c:454:51: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 454 | if (getpeername(0, (struct sockaddr *)&peername, &peernamelen) == 0) | ^~~~~~~~~~~~ /usr/include/sys/socket.h:704:74: note: passing argument to parameter here 704 | int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ main.c:522:16: warning: passing arguments to 'resource_usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | resource_usage("initialize"); | ^ main.c:560:16: warning: passing arguments to 'addmyalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | if (addmyalias(myname) < 0) | ^ main.c:564:42: warning: passing arguments to 'isamyalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | if (cnf.fallbackmx != NULL && isamyalias(cnf.fallbackmx)) | ^ main.c:570:40: warning: passing arguments to 'isamyalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | if (cnf.pgateway != NULL && isamyalias(cnf.pgateway)) | ^ main.c:598:16: warning: passing arguments to 'resource_usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | resource_usage("all done"); | ^ main.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | main(argc, argv, envp) | ^ 21 warnings generated. --- address.o --- address.c:72:20: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | ha->name = newstr(name); | ^ address.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | addmyalias(name) | ^ In file included from address.c:43: ./extern.h:48:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | int addmyalias(); | ^ address.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | isamyalias(name) | ^ In file included from address.c:43: ./extern.h:49:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | int isamyalias(); | ^ address.c:108:27: warning: passing arguments to 'hash_host_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | hostp = hash_host_lookup(mxp->name, &hashp); | ^ address.c:132:25: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | hostp->name = newstr(mxp->name); | ^ address.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | addinetaddress(mxp, inet_domain, len, addr) | ^ In file included from address.c:43: ./extern.h:56:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | int addinetaddress(); | ^ address.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | parse_address(str, err, addr, dom) | ^ In file included from address.c:43: ./extern.h:42:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | char *parse_address(); | ^ address.c:475:24: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | rcpt->address = newstr(addr); | ^ address.c:482:24: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | rcpt->notify = newstr(notify); | ^ address.c:488:23: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | rcpt->orcpt = newstr(orcpt); | ^ address.c:493:24: warning: passing arguments to 'hash_domain_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | d = hash_domain_lookup(domain, &hashp); | ^ address.c:500:30: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | rcpt->domain->name = newstr(domain); | ^ address.c:503:49: warning: passing arguments to 'hash_domain_rcpts_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | rcpt->domain->rcpts = hash_domain_rcpts_lookup(domain); | ^ address.c:514:42: warning: passing arguments to 'host_map_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | rcpt->domain->map_arg = host_map_lookup(rcpt->domain->name); | ^ address.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | addrecipient(addr, domain, notify, orcpt) | ^ In file included from address.c:43: ./extern.h:44:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | int addrecipient(); | ^ address.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | dnsstatus(rcpt, rcode, response) | ^ 21 warnings generated. --- util.o --- util.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | newstr(str) | ^ In file included from util.c:43: ./extern.h:40:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | char *newstr(); | ^ util.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | strlower(str) | ^ In file included from util.c:43: ./extern.h:41:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | void strlower(); | ^ util.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | tv_sub(a, b, c) | ^ util.c:91:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 91 | static firsttime=1; | ~~~~~~ ^ | int util.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | resource_usage(buf) | ^ In file included from util.c:43: ./extern.h:58:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | void resource_usage(); | ^ util.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | hash_func(name) | ^ util.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | hash_query_lookup(name, ptr) | ^ In file included from util.c:43: ./extern.h:59:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | struct dns_stat *hash_query_lookup(); | ^ util.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | hash_domain_lookup(name, ptr) | ^ In file included from util.c:43: ./extern.h:60:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | struct domain *hash_domain_lookup(); | ^ util.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | hash_domain_rcpts_lookup(name) | ^ In file included from util.c:43: ./extern.h:66:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | int hash_domain_rcpts_lookup(); | ^ util.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | hash_domain_rcpts_enter(name, newdom_r_p) | ^ In file included from util.c:43: ./extern.h:67:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | void hash_domain_rcpts_enter(); | ^ util.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | isnumeric(p) | ^ In file included from util.c:43: ./extern.h:68:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | int isnumeric(); | ^ util.c:318:4: warning: expression result unused [-Wunused-value] 318 | *p++; | ^~~~ util.c:324:3: warning: expression result unused [-Wunused-value] 324 | *p++; | ^~~~ util.c:326:4: warning: expression result unused [-Wunused-value] 326 | *p++; | ^~~~ util.c:331:4: warning: expression result unused [-Wunused-value] 331 | *p++; | ^~~~ util.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | hash_host_lookup(name, ptr) | ^ In file included from util.c:43: ./extern.h:61: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] 61 | struct host *hash_host_lookup(); | ^ util.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | hash_map_lookup(name, ptr) | ^ In file included from util.c:43: ./extern.h:62:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | struct host_map *hash_map_lookup(); | ^ util.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | hash_map_enter(name, newmapp) | ^ util.c:579:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 579 | strncat (tmpbuf, ":", sizeof(tmpbuf)); | ^~~~~~~~~~~~~~ util.c:579:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte 579 | strncat (tmpbuf, ":", sizeof(tmpbuf)); | ^~~~~~~~~~~~~~ | sizeof(tmpbuf) - strlen(tmpbuf) - 1 util.c:580:30: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 580 | strncat (tmpbuf, *argp, sizeof(tmpbuf)); | ^~~~~~~~~~~~~~ util.c:580:30: note: change the argument to be the free space in the destination buffer minus the terminating null byte 580 | strncat (tmpbuf, *argp, sizeof(tmpbuf)); | ^~~~~~~~~~~~~~ | sizeof(tmpbuf) - strlen(tmpbuf) - 1 util.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | host_map_lookup(domain) | ^ In file included from util.c:43: ./extern.h:64:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | char **host_map_lookup(); | ^ 32 warnings generated. --- lmtp.o --- lmtp.c:122:24: 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] 122 | ret = (*cmdp->func)(p); | ^ lmtp.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | lmtp_lhlo(param) | ^ In file included from lmtp.c:44: ./lmtp.h:52:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static int lmtp_lhlo(), lmtp_mail(), lmtp_rcpt(), lmtp_data(), lmtp_quit(); | ^ lmtp.c:188:19: warning: passing arguments to 'parse_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | p = parse_address(param+5, &err, &addr, NULL); | ^ lmtp.c:193:21: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | env.sender = newstr(addr); | ^ lmtp.c:204:22: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | env.size = newstr(p + 5); | ^ lmtp.c:213:22: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | env.body = newstr(p + 5); | ^ lmtp.c:222:23: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | env.envid = newstr(p + 6); | ^ lmtp.c:231:21: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | env.ret = newstr(p + 4); | ^ lmtp.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | lmtp_mail(param) | ^ In file included from lmtp.c:44: ./lmtp.h:52:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static int lmtp_lhlo(), lmtp_mail(), lmtp_rcpt(), lmtp_data(), lmtp_quit(); | ^ lmtp.c:274:19: warning: passing arguments to 'parse_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | p = parse_address(param+3, &err, &addr, &domain); | ^ lmtp.c:312:18: warning: passing arguments to 'addrecipient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | if (addrecipient(addr, domain, notify, orcpt) < 0) { | ^ lmtp.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | lmtp_rcpt(param) | ^ In file included from lmtp.c:44: ./lmtp.h:52:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static int lmtp_lhlo(), lmtp_mail(), lmtp_rcpt(), lmtp_data(), lmtp_quit(); | ^ lmtp.c:360:20: warning: passing arguments to 'lmtp_data_response' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | lmtp_data_response(1); | ^ lmtp.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | lmtp_data(param) | ^ In file included from lmtp.c:44: ./lmtp.h:52:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static int lmtp_lhlo(), lmtp_mail(), lmtp_rcpt(), lmtp_data(), lmtp_quit(); | ^ lmtp.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | lmtp_help(param) | ^ In file included from lmtp.c:44: ./lmtp.h:53:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static int lmtp_rset(), lmtp_noop(), lmtp_help(), lmtp_nocmd(); | ^ lmtp.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | lmtp_data_response(finished) | ^ In file included from lmtp.c:43: ./extern.h:51:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | void lmtp_data_response(); | ^ lmtp.c:655:26: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | env.queueid = newstr(p); | ^ lmtp.c:675:21: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | env.mid = newstr(p); | ^ 24 warnings generated. --- util.o --- --- lmtp.o --- --- dns.o --- dns.c:134:20: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | if (query_domain(cnf.pgateway, T_A) < 0) | ^ dns.c:140:20: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | if (query_domain(cnf.pgateway, T_AAAA) < 0) | ^ dns.c:158:20: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if (query_domain(cnf.fallbackmx, T_A) < 0) | ^ dns.c:164:20: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | if (query_domain(cnf.fallbackmx, T_AAAA) < 0) | ^ dns.c:199:22: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | if (query_domain(p, T_A) < 0) | ^ dns.c:205:22: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | if (query_domain(p, T_AAAA) < 0) | ^ dns.c:253:21: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | if (query_domain(dp->name, T_MX) < 0) | ^ dns.c:265:22: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | if (query_domain(dp->name, T_A) < 0) | ^ dns.c:272:22: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | if (query_domain(dp->name, T_AAAA) < 0) | ^ dns.c:282:21: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | if (query_domain(*map_arg, T_MX) < 0) | ^ dns.c:307:22: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | if (query_domain((*map_arg) + 1, | ^ dns.c:318:22: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | if (query_domain((*map_arg) + 1, | ^ dns.c:343:20: warning: passing arguments to 'process_query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | if (process_query(1) < 0) /* sync */ | ^ dns.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | pregetmx(dl) | ^ In file included from dns.c:43: ./extern.h:53:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | int pregetmx(); | ^ dns.c:363:25: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | qrp = hash_query_lookup(name, &hashp); | ^ dns.c:372:21: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | qrp->name = newstr(name); | ^ dns.c:387:12: warning: passing arguments to 'make_query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | make_query(qrp, type); | ^ dns.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | query_domain(name, type) | ^ dns.c:83:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static int query_domain(), process_query(); | ^ dns.c:393:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 393 | static query_chain_count = 0; | ~~~~~~ ^ | int dns.c:516:19: warning: passing arguments to 'process_query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | if (process_query(0) < 0) | ^ dns.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | make_query(qrp, type) | ^ dns.c:84:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static int make_query(); | ^ dns.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | whichserver(inp) | ^ dns.c:666:18: warning: passing arguments to 'remove_query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | remove_query(qcp); | ^ dns.c:683:16: warning: passing arguments to 'remove_query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | remove_query(qcp); | ^ dns.c:828:35: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 828 | (struct sockaddr *)&from, &fromlen); | ^~~~~~~~ /usr/include/sys/socket.h:709:96: note: passing argument to parameter here 709 | ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ dns.c:838:35: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 838 | (struct sockaddr *)&from, &fromlen); | ^~~~~~~~ /usr/include/sys/socket.h:709:96: note: passing argument to parameter here 709 | ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ dns.c:856:5: warning: call to undeclared function 'show_query'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 856 | show_query("DNS: answer received", | ^ dns.c:896:27: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | qrp = hash_query_lookup(nbuf, NULL); | ^ dns.c:899:5: warning: call to undeclared function 'show_query'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 899 | show_query("DNS: no associated query sent", | ^ dns.c:908:5: warning: call to undeclared function 'show_query'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 908 | show_query("DNS: no associated query", | ^ dns.c:927:17: warning: passing arguments to 'remove_query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | remove_query(qcp); | ^ dns.c:936:17: warning: passing arguments to 'remove_query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | remove_query(qcp); | ^ dns.c:945:14: warning: passing arguments to 'got_answer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | got_answer(qcp, (u_char *)&answer, resplen); | ^ dns.c:965:17: warning: passing arguments to 'remove_query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | remove_query(qcp); | ^ dns.c:992:16: warning: passing arguments to 'remove_query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | remove_query(qcp); | ^ dns.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | process_query(sync) | ^ dns.c:83:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static int query_domain(), process_query(); | ^ dns.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | remove_query(qcp) | ^ dns.c:86: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] 86 | static void remove_query(); | ^ dns.c:1214:28: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | qrp = hash_query_lookup(nbuf, NULL); | ^ dns.c:1242:23: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | mxp->name = newstr(nbuf2); | ^ dns.c:1286:28: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | qrp = hash_query_lookup(nbuf, NULL); | ^ dns.c:1297:22: warning: passing arguments to 'addinetaddress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1297 | if (addinetaddress(&mxtmp, AF_INET6, n, ap) < 0) | ^ dns.c:1327:28: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | qrp = hash_query_lookup(nbuf, NULL); | ^ dns.c:1337:22: warning: passing arguments to 'addinetaddress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | if (addinetaddress(&mxtmp, AF_INET, n, ap) < 0) | ^ dns.c:1364:28: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1364 | qrp = hash_query_lookup(nbuf, NULL); | ^ dns.c:1375:28: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | qrp2 = hash_query_lookup(nbuf2, &hashp); | ^ dns.c:1386:24: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | qrp2->name = newstr(nbuf2); | ^ dns.c:1557:26: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1557 | qrp = hash_query_lookup(nbuf, &hashp); | ^ dns.c:1567:22: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1567 | qrp->name = newstr(nbuf); | ^ dns.c:1576:21: warning: passing arguments to 'addinetaddress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1576 | if (addinetaddress(&mxtmp, domain, addrsize, ap) < 0) | ^ dns.c:1591:27: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1591 | qrp = hash_query_lookup(mxp->name, &hashp); | ^ dns.c:1602:23: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1602 | qrp->name = newstr(mxp->name); | ^ dns.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | got_answer(qcp, answer, anssiz) | ^ dns.c:85: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] 85 | static void got_answer(); | ^ dns.c:1685:17: warning: passing arguments to 'getmxrr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1685 | rc = getmxrr(dp->name, dp, 1, offset, 1, opt); | ^ dns.c:1687:17: warning: passing arguments to 'getmxrr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | rc = getmxrr(dp->name, dp, 1, offset, 0, opt); | ^ dns.c:1689:17: warning: passing arguments to 'getmxrr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1689 | rc = getmxrr(dp->name, dp, 0, offset, 0, opt); | ^ dns.c:1691:17: warning: passing arguments to 'getmxrr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | rc = getmxrr(*map_arg, dp, 1, offset, 0, opt); | ^ dns.c:1728:20: warning: passing arguments to 'addinetaddress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1728 | addinetaddress(mxp, AF_UNSPEC, 0, NULL); | ^ dns.c:1772:25: warning: passing arguments to 'newmx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1772 | if ((gwmxp = newmx(cnf.pgateway, | ^ dns.c:1781:21: warning: passing arguments to 'addinetaddress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1781 | addinetaddress(gwmxp, AF_UNSPEC, | ^ dns.c:1643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1643 | getmxlist(dl) | ^ In file included from dns.c:43: ./extern.h:54:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | int getmxlist(); | ^ dns.c:1797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1797 | linkmx(domp, newmxp) | ^ dns.c:1897:21: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1897 | mxp->name = newstr(name); | ^ dns.c:1839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1839 | newmx(name, pref, weight, dp, opt) | ^ dns.c:87:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static struct mx* newmx(); | ^ dns.c:1951:25: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1951 | dp->response = newstr(msgbuf); | ^ dns.c:1965:18: warning: passing arguments to 'addinetaddress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1965 | addinetaddress(mxp, AF_INET, sizeof(nsin.in.sin_addr), | ^ dns.c:1976:18: warning: passing arguments to 'addinetaddress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1976 | addinetaddress(mxp, AF_INET6, | ^ dns.c:1997:25: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1997 | qrp = hash_query_lookup(name, NULL); | ^ dns.c:2044:25: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2044 | dp->response = newstr(msgbuf); | ^ dns.c:2096:17: warning: passing arguments to 'isamyalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | if (isamyalias(mxname)) | ^ dns.c:2115:27: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2115 | qrp2 = hash_query_lookup(mxname, NULL); | ^ dns.c:2162:10: warning: passing arguments to 'mxrand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2162 | mxrand(mxname, qrp->name), dp, opt); | ^ dns.c:1912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | getmxrr(name, dp, query_mx, offset, wait, opt) | ^ In file included from dns.c:43: ./extern.h:46:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | int getmxrr(); | ^ dns.c:2225:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2225 | show_query(t, b, e) | ^ | int dns.c:2242:3: warning: non-void function 'show_query' should return a value [-Wreturn-mismatch] 2242 | return; | ^ dns.c:2252:4: warning: non-void function 'show_query' should return a value [-Wreturn-mismatch] 2252 | return; | ^ dns.c:2262:3: warning: non-void function 'show_query' should return a value [-Wreturn-mismatch] 2262 | return; | ^ dns.c:2273:4: warning: non-void function 'show_query' should return a value [-Wreturn-mismatch] 2273 | return; | ^ dns.c:2282:4: warning: non-void function 'show_query' should return a value [-Wreturn-mismatch] 2282 | return; | ^ dns.c:2225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2225 | show_query(t, b, e) | ^ dns.c:2314:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2314 | } | ^ 89 warnings generated. --- smtp.o --- smtp.c:78:12: warning: passing arguments to 'markstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | markstatus(env.rcpt_list, SMTP_TEMPFAIL(51), | ^ smtp.c:148:16: warning: passing arguments to 'resource_usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | resource_usage("lmtp data done"); | ^ smtp.c:153:10: warning: passing arguments to 'pregetmx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | pregetmx(domain_list); | ^ smtp.c:154:16: warning: passing arguments to 'resource_usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | resource_usage("pre-getting MX done"); | ^ smtp.c:157:15: warning: passing arguments to 'getmxlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | if (getmxlist(domain_list) < 0) | ^ smtp.c:161:16: warning: passing arguments to 'resource_usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | resource_usage("get MX done"); | ^ smtp.c:167:16: warning: passing arguments to 'resource_usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | resource_usage("finalstatus done"); | ^ smtp.c:200:16: warning: passing arguments to 'resource_usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | resource_usage("smtp all done"); | ^ smtp.c:207:16: warning: passing arguments to 'resource_usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | resource_usage("finalstatus done"); | ^ smtp.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | set_timeout(opt) | ^ In file included from smtp.c:42: ./extern.h:57:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | void set_timeout(); | ^ smtp.c:354:14: warning: passing arguments to 'markstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | markstatus(rcptp, SMTP_TEMPFAIL(52), msg, 0); | ^ smtp.c:406:17: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | smtp_quit_s(&connwork[i]); | ^ smtp.c:446:17: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | smtp_quit_s(&connwork[i]); | ^ smtp.c:465:16: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | smtp_quit_s(&connwork[i]); | ^ smtp.c:530:15: warning: passing arguments to 'markstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | markstatus(env.rcpt_list, SMTP_TEMPFAIL(51), | ^ smtp.c:575:21: warning: passing arguments to 'process_connection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | process_connection(&r_fds, &w_fds, (rc<=0), true_terminate); | ^ smtp.c:633:30: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | qrp = hash_query_lookup(domp->curmx->host->name, NULL); | ^ smtp.c:653:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 653 | else | ^ smtp.c:666:16: warning: passing arguments to 'markstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | markstatus(rcptp, rc, msg, 0); | ^ smtp.c:673:14: warning: passing arguments to 'trim_rcpts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | trim_rcpts(domp); | ^ smtp.c:712:25: warning: passing arguments to 'open_transaction' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | conn = open_transaction(rcptp); | ^ smtp.c:751:14: warning: passing arguments to 'smtp_rset_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | smtp_rset_s(conn); | ^ smtp.c:755:20: warning: passing arguments to 'smtp_connect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | rc = smtp_connect(conn); | ^ smtp.c:759:21: warning: passing arguments to 'close_transaction' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | close_transaction(conn, 1); | ^ smtp.c:765:21: warning: passing arguments to 'close_transaction' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | close_transaction(conn, 0); | ^ smtp.c:809:20: warning: passing arguments to 'smtp_timeout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | if (smtp_timeout(conn) < 0) | ^ smtp.c:810:22: warning: passing arguments to 'close_transaction' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | close_transaction(conn, 1); | ^ smtp.c:823:30: 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] 823 | if ((*state_tbl[st].send)(conn) < 0) | ^ smtp.c:824:23: warning: passing arguments to 'close_transaction' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | close_transaction(conn, 1); | ^ smtp.c:850:30: 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] 850 | if ((*state_tbl[st].recv)(conn) < 0) | ^ smtp.c:851:23: warning: passing arguments to 'close_transaction' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | close_transaction(conn, 1); | ^ smtp.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | process_connection(r_fds, w_fds, timeout_only, true_term) | ^ In file included from smtp.c:43: ./smtp.h:93: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] 93 | static void process_connection(); | ^ smtp.c:912:26: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 912 | strncat(pbuf, "v6", sizeof(pbuf)); | ^~~~~~~~~~~~ smtp.c:912:26: note: change the argument to be the free space in the destination buffer minus the terminating null byte 912 | strncat(pbuf, "v6", sizeof(pbuf)); | ^~~~~~~~~~~~ | sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:916:26: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 916 | strncat(pbuf, "v4", sizeof(pbuf)); | ^~~~~~~~~~~~ smtp.c:916:26: note: change the argument to be the free space in the destination buffer minus the terminating null byte 916 | strncat(pbuf, "v4", sizeof(pbuf)); | ^~~~~~~~~~~~ | sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:921:6: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 921 | sizeof(pbuf)); | ^~~~~~~~~~~~ smtp.c:921:6: note: change the argument to be the free space in the destination buffer minus the terminating null byte 921 | sizeof(pbuf)); | ^~~~~~~~~~~~ | sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:924:6: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 924 | sizeof(pbuf)); | ^~~~~~~~~~~~ smtp.c:924:6: note: change the argument to be the free space in the destination buffer minus the terminating null byte 924 | sizeof(pbuf)); | ^~~~~~~~~~~~ | sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:931:6: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 931 | sizeof(pbuf)); | ^~~~~~~~~~~~ smtp.c:931:6: note: change the argument to be the free space in the destination buffer minus the terminating null byte 931 | sizeof(pbuf)); | ^~~~~~~~~~~~ | sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:934:6: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 934 | sizeof(pbuf)); | ^~~~~~~~~~~~ smtp.c:934:6: note: change the argument to be the free space in the destination buffer minus the terminating null byte 934 | sizeof(pbuf)); | ^~~~~~~~~~~~ | sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:942:6: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 942 | sizeof(pbuf)); | ^~~~~~~~~~~~ smtp.c:942:6: note: change the argument to be the free space in the destination buffer minus the terminating null byte 942 | sizeof(pbuf)); | ^~~~~~~~~~~~ | sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:945:6: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 945 | sizeof(pbuf)); | ^~~~~~~~~~~~ smtp.c:945:6: note: change the argument to be the free space in the destination buffer minus the terminating null byte 945 | sizeof(pbuf)); | ^~~~~~~~~~~~ | sizeof(pbuf) - strlen(pbuf) - 1 smtp.c:995:33: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 995 | strncat(hbuf, " (gateway)", sizeof(hbuf)); | ^~~~~~~~~~~~ smtp.c:995:33: note: change the argument to be the free space in the destination buffer minus the terminating null byte 995 | strncat(hbuf, " (gateway)", sizeof(hbuf)); | ^~~~~~~~~~~~ | sizeof(hbuf) - strlen(hbuf) - 1 smtp.c:1009:22: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | responsep = newstr(rbuf); | ^ smtp.c:1131:17: warning: passing arguments to 'resource_usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | resource_usage("smtp 90% done"); | ^ smtp.c:1143:20: warning: passing arguments to 'lmtp_data_response' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | lmtp_data_response(0); | ^ smtp.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | markstatus(rcptp, rcode, response, tracechain) | ^ In file included from smtp.c:43: ./smtp.h:91: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] 91 | static void smtp(), markstatus(), forced_terminate(), dump_internal(); | ^ smtp.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | open_transaction(rcptp) | ^ In file included from smtp.c:43: ./smtp.h:86:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static struct connection *open_transaction(); | ^ smtp.c:1366:15: warning: passing arguments to 'trim_rcpts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | trim_rcpts(domp); | ^ smtp.c:1418:13: warning: passing arguments to 'trim_rcpts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1418 | trim_rcpts(mxp->domain); | ^ smtp.c:1319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | close_transaction(conn, next) | ^ In file included from smtp.c:43: ./smtp.h:87: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] 87 | static void close_transaction(); | ^ smtp.c:1438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | trim_rcpts(domp) | ^ In file included from smtp.c:43: ./smtp.h:95: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] 95 | static void trim_rcpts(); | ^ smtp.c:1679:34: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1679 | conn->host->name, smtpstrerror(errno), sti.maxsock, | ^ smtp.c:1706:17: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | smtpstrerror(errno)); | ^ smtp.c:1730:32: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | if ((qrp = hash_query_lookup(p, NULL)) == NULL) | ^ smtp.c:1754:33: warning: passing arguments to 'hash_host_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | if ((hostp = hash_host_lookup(qrp->name, NULL)) == NULL) | ^ smtp.c:1850:17: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1850 | smtpstrerror(errno)); | ^ smtp.c:1877:49: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | conn->seq, sd, conn->host->name, smtpstrerror(errno)); | ^ smtp.c:1892:49: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1892 | conn->seq, sd, conn->host->name, smtpstrerror(errno)); | ^ smtp.c:1908:49: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1908 | conn->seq, sd, conn->host->name, smtpstrerror(errno)); | ^ smtp.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | smtp_connect(conn) | ^ In file included from smtp.c:43: ./smtp.h:88:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static int smtp_connect(), smtp_timeout(); | ^ smtp.c:1946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | smtp_close(sd) | ^ smtp.c:1961:57: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 1961 | if (getpeername(conn->socket, (struct sockaddr *)&cin, &len) < 0) | ^~~~ /usr/include/sys/socket.h:704:74: note: passing argument to parameter here 704 | int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ smtp.c:1965:16: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1965 | smtpstrerror(errno)); | ^ smtp.c:1992:25: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1992 | errmsg = smtpstrerror(errno); | ^ smtp.c:1994:45: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1994 | markstatus(conn->rcpt, SMTP_TEMPFAIL(52), errmsg, 1); | ^~~~~~ smtp.c:1954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1954 | smtp_connected(conn) | ^ smtp.c:210:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 210 | static int smtp_connected(), smtp_greeted(), smtp_flush(); | ^ smtp.c:2031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2031 | smtp_read(conn, buf, size, rest) | ^ smtp.c:2122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2122 | smtp_write(conn, buf, size, flush) | ^ smtp.c:2248:16: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2248 | smtpstrerror(errno), STATE(savestate)); | ^ smtp.c:2249:32: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2249 | conn->host->response = newstr(msgbuf); | ^ smtp.c:2235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2235 | smtp_flush(conn) | ^ smtp.c:210:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 210 | static int smtp_connected(), smtp_greeted(), smtp_flush(); | ^ smtp.c:2291:17: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2291 | smtpstrerror(errno), STATE(savestate)); | ^ smtp.c:2292:33: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2292 | conn->host->response = newstr(msgbuf); | ^ smtp.c:2311: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] 2311 | (*func)(conn, cbuf); | ^ smtp.c:2367:32: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2367 | conn->host->response = newstr(msgbuf); | ^ smtp.c:2262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2262 | smtp_get_reply(conn, func, firstline, size, rest) | ^ smtp.c:2422:16: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2422 | smtpstrerror(errno), buf); | ^ smtp.c:2423:32: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2423 | conn->host->response = newstr(msgbuf); | ^ smtp.c:2377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2377 | smtp_send_command(conn, buf, size, flush) | ^ smtp.c:2434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2434 | esmtp_check(conn, buf) | ^ smtp.c:2504:16: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2504 | smtpstrerror(errno), STATE(savestate)); | ^ smtp.c:2511:46: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2511 | markstatus(conn->rcpt, SMTP_TEMPFAIL(52), errmsg, 1); | ^~~~~~ smtp.c:2531:15: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2531 | smtp_quit_s(conn); | ^ smtp.c:2534:14: warning: passing arguments to 'smtp_helo_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2534 | smtp_helo_s(conn); | ^ smtp.c:2546:32: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2546 | conn->host->response = newstr(tmpbuf); | ^ smtp.c:2549:32: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2549 | conn->host->response = newstr(buf); | ^ smtp.c:2552:13: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2552 | smtp_quit_s(conn); | ^ smtp.c:2456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2456 | smtp_greeted(conn) | ^ smtp.c:210:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 210 | static int smtp_connected(), smtp_greeted(), smtp_flush(); | ^ smtp.c:2557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2557 | smtp_helo_s(conn) | ^ In file included from smtp.c:43: ./smtp.h:89:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | static int smtp_helo_s(), smtp_mail_s(), smtp_data_s(); | ^ smtp.c:2589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2589 | ehlo_opt(conn, buf) | ^ smtp.c:2650:42: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2650 | conn->seq, conn->socket, smtpstrerror(errno), | ^ smtp.c:2691:18: warning: passing arguments to 'isamyalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2691 | if (isamyalias(buf + 4)) | ^ smtp.c:2698:16: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2698 | smtp_quit_s(conn); | ^ smtp.c:2707:15: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2707 | smtp_quit_s(conn); | ^ smtp.c:2720:39: warning: passing arguments to 'may_be_reused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2720 | if (cnf.smtp_reuse && may_be_reused(conn)) | ^ smtp.c:2722:15: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2722 | smtp_quit_s(conn); | ^ smtp.c:2726:22: warning: passing arguments to 'smtp_mail_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2726 | return smtp_mail_s(conn); | ^ smtp.c:2737:32: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2737 | conn->host->response = newstr(tmpbuf); | ^ smtp.c:2740:32: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2740 | conn->host->response = newstr(buf); | ^ smtp.c:2743:13: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2743 | smtp_quit_s(conn); | ^ smtp.c:2628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2628 | smtp_helo_r(conn) | ^ smtp.c:211:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 211 | static int smtp_helo_r(), smtp_helo_r(); | ^ smtp.c:2875:21: warning: passing arguments to 'smtp_rcpt_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2875 | return smtp_rcpt_s(conn); | ^ smtp.c:2884:13: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2884 | smtp_quit_s(conn); | ^ smtp.c:2748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2748 | smtp_mail_s(conn) | ^ In file included from smtp.c:43: ./smtp.h:89:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | static int smtp_helo_s(), smtp_mail_s(), smtp_data_s(); | ^ smtp.c:2907:17: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2907 | smtpstrerror(errno), STATE(savestate)); | ^ smtp.c:2932:15: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2932 | smtp_quit_s(conn); | ^ smtp.c:2936:22: warning: passing arguments to 'smtp_rcpt_r' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2936 | return smtp_rcpt_r(conn); | ^ smtp.c:2938:22: warning: passing arguments to 'smtp_rcpt_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2938 | return smtp_rcpt_s(conn); | ^ smtp.c:2947:16: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2947 | rstr = newstr(tmpbuf); | ^ smtp.c:2954:17: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2954 | rstr = newstr(buf + 4); | ^ smtp.c:2961:21: warning: passing arguments to 'smtp_rcpt_r' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2961 | return smtp_rcpt_r(conn); | ^ smtp.c:2966:13: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2966 | smtp_quit_s(conn); | ^ smtp.c:2889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2889 | smtp_mail_r(conn) | ^ smtp.c:212:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 212 | static int smtp_mail_r(), smtp_rcpt_r(), smtp_rcpt_s(); | ^ smtp.c:2980:22: warning: passing arguments to 'smtp_data_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2980 | return smtp_data_s(conn); | ^ smtp.c:3037:21: warning: passing arguments to 'smtp_data_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3037 | return smtp_data_s(conn); | ^ smtp.c:3047:13: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3047 | smtp_quit_s(conn); /* XXX */ | ^ smtp.c:2971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2971 | smtp_rcpt_s(conn) | ^ smtp.c:212:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 212 | static int smtp_mail_r(), smtp_rcpt_r(), smtp_rcpt_s(); | ^ smtp.c:3052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3052 | skipaddr(str, addr) | ^ smtp.c:3087:17: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3087 | smtpstrerror(errno), STATE(savestate)); | ^ smtp.c:3143:17: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3143 | rstr = newstr(tmpbuf); | ^ smtp.c:3150:18: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3150 | rstr = newstr(skipaddr(buf + 4, | ^ smtp.c:3162:14: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3162 | smtp_quit_s(conn); | ^ smtp.c:3171:22: warning: passing arguments to 'smtp_data_r' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3171 | return smtp_data_r(conn); | ^ smtp.c:3175:22: warning: passing arguments to 'smtp_data_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3175 | return smtp_data_s(conn); | ^ smtp.c:3181:39: warning: passing arguments to 'may_be_reused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3181 | if (cnf.smtp_reuse && may_be_reused(conn)) | ^ smtp.c:3183:15: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3183 | smtp_quit_s(conn); | ^ smtp.c:3069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3069 | smtp_rcpt_r(conn) | ^ smtp.c:212:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 212 | static int smtp_mail_r(), smtp_rcpt_r(), smtp_rcpt_s(); | ^ smtp.c:3198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3198 | smtp_data_s(conn) | ^ In file included from smtp.c:43: ./smtp.h:89:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | static int smtp_helo_s(), smtp_mail_s(), smtp_data_s(); | ^ smtp.c:3239:17: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3239 | smtpstrerror(errno), STATE(savestate)); | ^ smtp.c:3288:24: warning: passing arguments to 'smtp_data_body' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3288 | return smtp_data_body(conn); | ^ smtp.c:3299:38: warning: passing arguments to 'may_be_reused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3299 | if (cnf.smtp_reuse && may_be_reused(conn)) | ^ smtp.c:3301:14: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3301 | smtp_quit_s(conn); | ^ smtp.c:3311:16: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3311 | rstr = newstr(tmpbuf); | ^ smtp.c:3318:17: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3318 | rstr = newstr(buf + 4); | ^ smtp.c:3328:13: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3328 | smtp_quit_s(conn); | ^ smtp.c:3222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3222 | smtp_data_r(conn) | ^ smtp.c:213:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 213 | static int smtp_data_r(), smtp_data_body(), smtp_data_t(); | ^ smtp.c:3333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3333 | smtp_data_body(conn) | ^ smtp.c:213:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 213 | static int smtp_data_r(), smtp_data_body(), smtp_data_t(); | ^ smtp.c:3412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3412 | may_be_reused(conn) | ^ In file included from smtp.c:43: ./smtp.h:94:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static int may_be_reused(); | ^ smtp.c:3486:17: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3486 | smtpstrerror(errno), STATE(savestate)); | ^ smtp.c:3505:16: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3505 | rstr = newstr(tmpbuf); | ^ smtp.c:3512:17: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3512 | rstr = newstr(buf + 4); | ^ smtp.c:3528:14: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3528 | smtp_quit_s(conn); | ^ smtp.c:3540:13: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3540 | smtp_quit_s(conn); | ^ smtp.c:3469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3469 | smtp_data_t(conn) | ^ smtp.c:213:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 213 | static int smtp_data_r(), smtp_data_body(), smtp_data_t(); | ^ smtp.c:3545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3545 | smtp_rset_s(conn) | ^ In file included from smtp.c:43: ./smtp.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static int smtp_rset_s(), smtp_quit_s(); | ^ smtp.c:3583:17: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3583 | smtpstrerror(errno), STATE(savestate)); | ^ smtp.c:3603:15: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3603 | smtp_quit_s(conn); | ^ smtp.c:3610:13: warning: passing arguments to 'smtp_quit_s' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3610 | smtp_quit_s(conn); | ^ smtp.c:3566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3566 | smtp_rset_r(conn) | ^ smtp.c:214:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | static int smtp_rset_r(), smtp_quit_r(); | ^ smtp.c:3615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3615 | smtp_quit_s(conn) | ^ In file included from smtp.c:43: ./smtp.h:90:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static int smtp_rset_s(), smtp_quit_s(); | ^ smtp.c:3660:17: warning: passing arguments to 'smtpstrerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3660 | smtpstrerror(errno), STATE(savestate)); | ^ smtp.c:3692:31: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3692 | conn->host->response = newstr(buf); | ^ smtp.c:3641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3641 | smtp_quit_r(conn) | ^ smtp.c:214:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | static int smtp_rset_r(), smtp_quit_r(); | ^ smtp.c:3718:11: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3718 | newstr(buf), 1); | ^ smtp.c:3755:12: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3755 | newstr(buf), 1); | ^ smtp.c:3697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3697 | smtp_timeout(conn) | ^ In file included from smtp.c:43: ./smtp.h:88:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static int smtp_connect(), smtp_timeout(); | ^ smtp.c:3822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3822 | smtpstrerror(eno) | ^ In file included from smtp.c:43: ./smtp.h:97: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] 97 | static char *smtpstrerror(); | ^ 183 warnings generated. --- smtpfeed --- cc -o smtpfeed address.o dns.o lmtp.o log.o main.o mxrand.o proctitle.o smtp.o util.o version.o -lutil =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for smtpfeed-1.23_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/smtpfeed /wrkdirs/usr/ports/mail/smtpfeed/work/stage/usr/local/libexec install -m 444 /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/smtpfeed.8 /wrkdirs/usr/ports/mail/smtpfeed/work/stage/usr/local/share/man/man8 /bin/mkdir -p /wrkdirs/usr/ports/mail/smtpfeed/work/stage/usr/local/share/doc/smtpfeed install -m 0644 /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/FEATURES /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/FEATURES.j /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/FYI /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/FYI.j /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/INSTALL /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/INSTALL.j /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/ML-ADMIN /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/ML-ADMIN.j /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/OPTIONS /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/OPTIONS.j /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/README /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/README.j /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/RELEASE.NOTE /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/SIGNAL /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/SIGNAL.j /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/TODO /wrkdirs/usr/ports/mail/smtpfeed/work/smtpfeed-1.23/smtpfeed.html /wrkdirs/usr/ports/mail/smtpfeed/work/stage/usr/local/share/doc/smtpfeed ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-13T15:43:55+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=c75c94468641' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for smtpfeed-1.23_1 ===> Building smtpfeed-1.23_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for smtpfeed-1.23_1 build of mail/smtpfeed | smtpfeed-1.23_1 ended at Fri Mar 13 11:44:03 EDT 2026 build time: 00:00:09