=>> Building mail/qmail-dk build started at Wed Jan 21 13:56:04 EST 2026 port directory: /usr/ports/mail/qmail-dk package name: qmail-dk-0.54_3 building for: FreeBSD pkg.DaveG.ca 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 1403000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1553 Oct 16 2024 /usr/ports/mail/qmail-dk/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: f92880d3e582 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 04 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE-p7 1403000 UNAME_r=14.3-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_3_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_3_x64-HEAD-ALL/04/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_3_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_3_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 qmail-dk-0.54_3: SMTP_AUTH=on: Support SMTP_AUTH ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/qmail-dk/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/qmail-dk/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/qmail-dk/work/.cache HOME=/wrkdirs/usr/ports/mail/qmail-dk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/qmail-dk/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/qmail-dk/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/mail/qmail-dk/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/qmail-dk/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/qmail-dk/work/.cache HOME=/wrkdirs/usr/ports/mail/qmail-dk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/qmail-dk/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/qmail-dk/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=/var/qmail LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -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-- OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/var/qmail LIB32DIR=lib DOCSDIR="share/doc/dk" EXAMPLESDIR="share/examples/dk" DATADIR="share/dk" WWWDIR="www/dk" ETCDIR="etc/dk" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/var/qmail LOCALBASE=/usr/local DATADIR=/var/qmail/share/dk DOCSDIR=/var/qmail/share/doc/dk EXAMPLESDIR=/var/qmail/share/examples/dk WWWDIR=/var/qmail/www/dk ETCDIR=/var/qmail/etc/dk --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 dk 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 ===> qmail-dk-0.54_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> qmail-dk-0.54_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of qmail-dk-0.54_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The dk 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 qmail-dk-0.54_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The dk 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 qmail-dk-0.54_3 for building => SHA256 Checksum OK for qmail/qmail-1.03.tar.gz. => SHA256 Checksum OK for qmail/qmail-1.03-dk-0.54.patch. => SHA256 Checksum OK for qmail/qmail-dk-0.54-auth.patch. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The dk 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 qmail-dk-0.54_3 for building ===> Extracting for qmail-dk-0.54_3 => SHA256 Checksum OK for qmail/qmail-1.03.tar.gz. => SHA256 Checksum OK for qmail/qmail-1.03-dk-0.54.patch. => SHA256 Checksum OK for qmail/qmail-dk-0.54-auth.patch. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for qmail-dk-0.54_3 ===> Applying distribution patches for qmail-dk-0.54_3 ===> Applying FreeBSD patches for qmail-dk-0.54_3 from /usr/ports/mail/qmail-dk/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> qmail-dk-0.54_3 depends on file: /var/qmail/bin/qmail-send - not found ===> Installing existing package /packages/All/netqmail-1.06_7.pkg [pkg.DaveG.ca] Installing netqmail-1.06_7... ===> Creating groups Creating group 'qmail' with gid '82' Creating group 'qnofiles' with gid '81' ===> Creating users Creating user 'alias' with uid '81' ===> Creating homedir(s) Creating user 'qmaild' with uid '82' ===> Creating homedir(s) Creating user 'qmaill' with uid '83' ===> Creating homedir(s) Creating user 'qmailp' with uid '84' ===> Creating homedir(s) Creating user 'qmailq' with uid '85' ===> Creating homedir(s) Creating user 'qmailr' with uid '86' ===> Creating homedir(s) Creating user 'qmails' with uid '87' ===> Creating homedir(s) [pkg.DaveG.ca] Extracting netqmail-1.06_7: .......... done A /usr/local/etc/rc.d/qmailsmtpd and a /usr/local/etc/rc.d/qmailsend symlink were created. Your hostname is pkg.daveg.ca. soft error Sorry, I couldn't find your host's canonical name in DNS. You will have to set up control/me yourself. ===== Message from netqmail-1.06_7: -- ATTENTION: You can enable qmail as your default mailer executing: > /var/qmail/scripts/enable-qmail ===> qmail-dk-0.54_3 depends on file: /var/qmail/bin/qmail-send - found ===> Returning to build of qmail-dk-0.54_3 ===> qmail-dk-0.54_3 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. ===> qmail-dk-0.54_3 depends on file: /usr/local/bin/ccache - found ===> Returning to build of qmail-dk-0.54_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> qmail-dk-0.54_3 depends on shared library: libdomainkeys.so - not found ===> Installing existing package /packages/All/libdomainkeys-0.69_1.pkg [pkg.DaveG.ca] Installing libdomainkeys-0.69_1... [pkg.DaveG.ca] Extracting libdomainkeys-0.69_1: ...... done ===== Message from libdomainkeys-0.69_1: -- ===> NOTICE: The libdomainkeys 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 ===> qmail-dk-0.54_3 depends on shared library: libdomainkeys.so - found (/usr/local/lib/libdomainkeys.so) ===> Returning to build of qmail-dk-0.54_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for qmail-dk-0.54_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for qmail-dk-0.54_3 --- auto-ccld.sh --- ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\' ) > auto-ccld.sh --- find-systype --- --- make-compile --- --- make-load --- --- make-makelib --- --- find-systype --- cat auto-ccld.sh find-systype.sh > find-systype chmod 755 find-systype --- make-compile --- cat auto-ccld.sh make-compile.sh > make-compile --- make-load --- cat auto-ccld.sh make-load.sh > make-load --- systype --- --- make-makelib --- cat auto-ccld.sh make-makelib.sh > make-makelib --- make-compile --- chmod 755 make-compile --- make-load --- chmod 755 make-load --- systype --- ./find-systype > systype --- make-makelib --- chmod 755 make-makelib --- compile --- --- load --- --- makelib --- --- compile --- ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > compile --- load --- ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load --- makelib --- ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > makelib --- compile --- chmod 755 compile --- load --- chmod 755 load --- makelib --- chmod 755 makelib --- alloc.o --- --- alloc_re.o --- --- auto-gid.o --- --- auto-int.o --- --- auto-str.o --- --- auto-uid.o --- --- byte_chr.o --- --- byte_copy.o --- --- byte_cr.o --- --- byte_diff.o --- --- byte_rchr.o --- --- byte_zero.o --- --- control.o --- --- date822fmt.o --- --- datetime.o --- --- datetime_un.o --- --- dns.o --- --- env.o --- --- envread.o --- --- error.o --- --- error_str.o --- --- error_temp.o --- --- fd_copy.o --- --- fd_move.o --- --- fmt_str.o --- --- fmt_strn.o --- --- fmt_uint.o --- --- fmt_uint0.o --- --- fmt_ulong.o --- --- fmtqfn.o --- --- getln.o --- --- getln2.o --- --- ip.o --- --- ipalloc.o --- --- ndelay.o --- --- ndelay_off.o --- --- now.o --- --- open_append.o --- --- open_excl.o --- --- open_read.o --- --- open_trunc.o --- --- open_write.o --- --- scan_8long.o --- --- scan_ulong.o --- --- seek_cur.o --- --- seek_end.o --- --- seek_set.o --- --- seek_trunc.o --- --- sig_alarm.o --- --- sig_bug.o --- --- sig_child.o --- --- sig_hup.o --- --- sig_misc.o --- --- sig_pipe.o --- --- sig_term.o --- --- str_chr.o --- --- str_cpy.o --- --- str_diff.o --- --- str_diffn.o --- --- str_len.o --- --- str_rchr.o --- --- str_start.o --- --- sig_child.o --- ./compile sig_child.c sig_child.c:4:34: warning: passing arguments to 'sig_block' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | void sig_childblock() { sig_block(SIGCHLD); } | ^ sig_child.c:5:38: warning: passing arguments to 'sig_unblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | void sig_childunblock() { sig_unblock(SIGCHLD); } | ^ sig_child.c:6:48: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void sig_childcatch(f) void (*f)(); { sig_catch(SIGCHLD,f); } | ^ sig_child.c:6:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void sig_childcatch(f) void (*f)(); { sig_catch(SIGCHLD,f); } | ^ In file included from sig_child.c:2: ./sig.h:35: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] 35 | extern void sig_childcatch(); | ^ sig_child.c:7:36: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void sig_childdefault() { sig_catch(SIGCHLD,SIG_DFL); } | ^ 6 warnings generated. --- sig_bug.o --- ./compile sig_bug.c sig_bug.c:6:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | sig_catch(SIGILL,f); | ^ sig_bug.c:7:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | sig_catch(SIGABRT,f); | ^ sig_bug.c:8:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | sig_catch(SIGFPE,f); | ^ sig_bug.c:9:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | sig_catch(SIGBUS,f); | ^ sig_bug.c:10:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | sig_catch(SIGSEGV,f); | ^ sig_bug.c:12:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | sig_catch(SIGSYS,f); | ^ sig_bug.c:15:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | sig_catch(SIGEMT,f); | ^ sig_bug.c:4:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | void sig_bugcatch(f) void (*f)(); | ^ In file included from sig_bug.c:2: ./sig.h:13:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | extern void sig_bugcatch(); | ^ 9 warnings generated. --- sig_alarm.o --- ./compile sig_alarm.c sig_alarm.c:4:34: warning: passing arguments to 'sig_block' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | void sig_alarmblock() { sig_block(SIGALRM); } | ^ sig_alarm.c:5:38: warning: passing arguments to 'sig_unblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | void sig_alarmunblock() { sig_unblock(SIGALRM); } | ^ sig_alarm.c:6:48: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void sig_alarmcatch(f) void (*f)(); { sig_catch(SIGALRM,f); } | ^ sig_alarm.c:6:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void sig_alarmcatch(f) void (*f)(); { sig_catch(SIGALRM,f); } | ^ In file included from sig_alarm.c:2: ./sig.h:30:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | extern void sig_alarmcatch(); | ^ sig_alarm.c:7:36: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void sig_alarmdefault() { sig_catch(SIGALRM,SIG_DFL); } | ^ 6 warnings generated. --- seek_trunc.o --- ./compile seek_trunc.c seek_trunc.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int seek_trunc(fd,pos) int fd; seek_pos pos; | ^ In file included from seek_trunc.c:2: ./seek.h:11:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | extern int seek_trunc(); | ^ 2 warnings generated. --- seek_set.o --- ./compile seek_set.c seek_set.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int seek_set(fd,pos) int fd; seek_pos pos; | ^ In file included from seek_set.c:2: ./seek.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern int seek_set(); | ^ 2 warnings generated. --- seek_end.o --- ./compile seek_end.c seek_end.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int seek_end(fd) int fd; | ^ In file included from seek_end.c:2: ./seek.h:9:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern int seek_end(); | ^ 2 warnings generated. --- seek_cur.o --- ./compile seek_cur.c seek_cur.c:6:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | seek_pos seek_cur(fd) int fd; | ^ In file included from seek_cur.c:2: ./seek.h:6:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern seek_pos seek_cur(); | ^ 2 warnings generated. --- scan_ulong.o --- ./compile scan_ulong.c scan_ulong.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int scan_ulong(s,u) register char *s; register unsigned long *u; | ^ In file included from scan_ulong.c:1: ./scan.h:10:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern unsigned int scan_ulong(); | ^ 2 warnings generated. --- scan_8long.o --- ./compile scan_8long.c scan_8long.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int scan_8long(s,u) register char *s; register unsigned long *u; | ^ 1 warning generated. --- open_write.o --- ./compile open_write.c open_write.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int open_write(fn) char *fn; | ^ In file included from open_write.c:3: ./open.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern int open_write(); | ^ 2 warnings generated. --- open_trunc.o --- ./compile open_trunc.c open_trunc.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int open_trunc(fn) char *fn; | ^ In file included from open_trunc.c:3: ./open.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern int open_trunc(); | ^ 2 warnings generated. --- open_read.o --- ./compile open_read.c open_read.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int open_read(fn) char *fn; | ^ In file included from open_read.c:3: ./open.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int open_read(); | ^ 2 warnings generated. --- open_excl.o --- ./compile open_excl.c open_excl.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int open_excl(fn) char *fn; | ^ In file included from open_excl.c:3: ./open.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern int open_excl(); | ^ 2 warnings generated. --- sig_pipe.o --- ./compile sig_pipe.c sig_pipe.c:4:34: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | void sig_pipeignore() { sig_catch(SIGPIPE,SIG_IGN); } | ^ sig_pipe.c:5:35: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | void sig_pipedefault() { sig_catch(SIGPIPE,SIG_DFL); } | ^ 2 warnings generated. --- open_append.o --- ./compile open_append.c open_append.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int open_append(fn) char *fn; | ^ In file included from open_append.c:3: ./open.h:6:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern int open_append(); | ^ 2 warnings generated. --- now.o --- ./compile now.c --- ndelay_off.o --- ./compile ndelay_off.c ndelay_off.c:9:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | int ndelay_off(fd) | ^ In file included from ndelay_off.c:3: ./ndelay.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern int ndelay_off(); | ^ 2 warnings generated. --- ndelay.o --- ./compile ndelay.c ndelay.c:9:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | int ndelay_on(fd) | ^ In file included from ndelay.c:3: ./ndelay.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int ndelay_on(); | ^ 2 warnings generated. --- ipalloc.o --- ./compile ipalloc.c ipalloc.c:6:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | GEN_ALLOC_readyplus(ipalloc,struct ip_mx,ix,len,a,i,n,x,10,ipalloc_readyplus) | ^ ./gen_allocdefs.h:24:19: note: expanded from macro 'GEN_ALLOC_readyplus' 24 | if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \ | ^ ipalloc.c:6:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gen_allocdefs.h:28:38: note: expanded from macro 'GEN_ALLOC_readyplus' 28 | return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); } | ^ ipalloc.c:6:60: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | GEN_ALLOC_readyplus(ipalloc,struct ip_mx,ix,len,a,i,n,x,10,ipalloc_readyplus) | ^ In file included from ipalloc.c:4: ./ipalloc.h:11:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | extern int ipalloc_readyplus(); | ^ ipalloc.c:7:75: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | GEN_ALLOC_append(ipalloc,struct ip_mx,ix,len,a,i,n,x,10,ipalloc_readyplus,ipalloc_append) | ^ In file included from ipalloc.c:4: ./ipalloc.h:12:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | extern int ipalloc_append(); | ^ 6 warnings generated. --- ip.o --- ./compile ip.c ip.c:13:16: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | i = fmt_ulong(s,(unsigned long) ip->d[0]); len += i; if (s) s += i; | ^ ip.c:14:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | i = fmt_str(s,"."); len += i; if (s) s += i; | ^ ip.c:15:16: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | i = fmt_ulong(s,(unsigned long) ip->d[1]); len += i; if (s) s += i; | ^ ip.c:16:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | i = fmt_str(s,"."); len += i; if (s) s += i; | ^ ip.c:17:16: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | i = fmt_ulong(s,(unsigned long) ip->d[2]); len += i; if (s) s += i; | ^ ip.c:18:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | i = fmt_str(s,"."); len += i; if (s) s += i; | ^ ip.c:19:16: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | i = fmt_ulong(s,(unsigned long) ip->d[3]); len += i; if (s) s += i; | ^ ip.c:5:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | unsigned int ip_fmt(s,ip) | ^ In file included from ip.c:3: ./ip.h:6: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] 6 | extern unsigned int ip_fmt(); | ^ ip.c:32:17: warning: passing arguments to 'scan_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | i = scan_ulong(s,&u); if (!i) return 0; ip->d[0] = u; s += i; len += i; | ^ ip.c:34:17: warning: passing arguments to 'scan_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | i = scan_ulong(s,&u); if (!i) return 0; ip->d[1] = u; s += i; len += i; | ^ ip.c:36:17: warning: passing arguments to 'scan_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | i = scan_ulong(s,&u); if (!i) return 0; ip->d[2] = u; s += i; len += i; | ^ ip.c:38:17: warning: passing arguments to 'scan_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | i = scan_ulong(s,&u); if (!i) return 0; ip->d[3] = u; s += i; len += i; | ^ ip.c:23:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | unsigned int ip_scan(s,ip) | ^ In file included from ip.c:3: ./ip.h:8:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern unsigned int ip_scan(); | ^ ip.c:42:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | unsigned int ip_scanbracket(s,ip) | ^ In file included from ip.c:3: ./ip.h:9:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern unsigned int ip_scanbracket(); | ^ 17 warnings generated. --- getln2.o --- ./compile getln2.c getln2.c:17:22: warning: passing arguments to 'stralloc_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if (!stralloc_ready(sa,0)) return -1; | ^ getln2.c:21:22: warning: passing arguments to 'substdio_feed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | n = substdio_feed(ss); | ^ getln2.c:25:17: warning: passing arguments to 'byte_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | i = byte_chr(x,n,sep); | ^ getln2.c:27:28: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if (!stralloc_readyplus(sa,n)) return -1; | ^ getln2.c:29:31: warning: passing arguments to 'substdio_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | sa->len = i + substdio_get(ss,sa->s + i,n); | ^ getln2.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int getln2(ss,sa,cont,clen,sep) | ^ In file included from getln2.c:4: ./getln.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern int getln2(); | ^ 7 warnings generated. --- getln.o --- ./compile getln.c getln.c:15:13: warning: passing arguments to 'getln2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | if (getln2(ss,sa,&cont,&clen,sep) == -1) return -1; | ^ getln.c:17:21: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if (!stralloc_catb(sa,cont,clen)) return -1; | ^ getln.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int getln(ss,sa,match,sep) | ^ In file included from getln.c:4: ./getln.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int getln(); | ^ 4 warnings generated. --- fmtqfn.o --- ./compile fmtqfn.c fmtqfn.c:15:13: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | i = fmt_str(s,dirslash); len += i; if (s) s += i; | ^ fmtqfn.c:18:17: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | i = fmt_ulong(s,id % auto_split); len += i; if (s) s += i; | ^ fmtqfn.c:19:15: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | i = fmt_str(s,"/"); len += i; if (s) s += i; | ^ fmtqfn.c:21:15: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | i = fmt_ulong(s,id); len += i; if (s) s += i; | ^ fmtqfn.c:5:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | unsigned int fmtqfn(s,dirslash,id,flagsplit) | ^ In file included from fmtqfn.c:1: ./fmtqfn.h:4:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern unsigned int fmtqfn(); | ^ 6 warnings generated. --- fmt_ulong.o --- ./compile fmt_ulong.c fmt_ulong.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int fmt_ulong(s,u) register char *s; register unsigned long u; | ^ In file included from fmt_ulong.c:1: ./fmt.h:14:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | extern unsigned int fmt_ulong(); | ^ 2 warnings generated. --- fmt_uint0.o --- ./compile fmt_uint0.c fmt_uint0.c:6:17: warning: passing arguments to 'fmt_uint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | len = fmt_uint(FMT_LEN,u); | ^ fmt_uint0.c:8:18: warning: passing arguments to 'fmt_uint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | if (s) fmt_uint(s,u); | ^ fmt_uint0.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int fmt_uint0(s,u,n) char *s; unsigned int u; unsigned int n; | ^ In file included from fmt_uint0.c:1: ./fmt.h:8:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern unsigned int fmt_uint0(); | ^ 4 warnings generated. --- fmt_uint.o --- ./compile fmt_uint.c fmt_uint.c:5:52: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | register unsigned long l; l = u; return fmt_ulong(s,l); | ^ fmt_uint.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int fmt_uint(s,u) register char *s; register unsigned int u; | ^ In file included from fmt_uint.c:1: ./fmt.h:7:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern unsigned int fmt_uint(); | ^ 3 warnings generated. --- fmt_strn.o --- ./compile fmt_strn.c fmt_strn.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int fmt_strn(s,t,n) | ^ In file included from fmt_strn.c:1: ./fmt.h:23: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] 23 | extern unsigned int fmt_strn(); | ^ 2 warnings generated. --- fmt_str.o --- ./compile fmt_str.c fmt_str.c:9:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9 | if (s) { while (ch = t[len]) s[len++] = ch; } | ~~~^~~~~~~~ fmt_str.c:9:22: note: place parentheses around the assignment to silence this warning 9 | if (s) { while (ch = t[len]) s[len++] = ch; } | ^ | ( ) fmt_str.c:9:22: note: use '==' to turn this assignment into an equality comparison 9 | if (s) { while (ch = t[len]) s[len++] = ch; } | ^ | == fmt_str.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int fmt_str(s,t) | ^ In file included from fmt_str.c:1: ./fmt.h:22:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | extern unsigned int fmt_str(); | ^ 3 warnings generated. --- fd_move.o --- ./compile fd_move.c fd_move.c:8:14: warning: passing arguments to 'fd_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | if (fd_copy(to,from) == -1) return -1; | ^ fd_move.c:9:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | close(from); | ^ fd_move.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int fd_move(to,from) | ^ In file included from fd_move.c:1: ./fd.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern int fd_move(); | ^ 4 warnings generated. --- fd_copy.o --- ./compile fd_copy.c fd_copy.c:10:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | close(to); | ^ fd_copy.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int fd_copy(to,from) | ^ In file included from fd_copy.c:2: ./fd.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int fd_copy(); | ^ 3 warnings generated. --- error_temp.o --- ./compile error_temp.c error_temp.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int error_temp(e) | ^ In file included from error_temp.c:2: ./error.h:21:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | extern int error_temp(); | ^ 2 warnings generated. --- error_str.o --- ./compile error_str.c error_str.c:6:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | char *error_str(i) | ^ In file included from error_str.c:2: ./error.h:20:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern char *error_str(); | ^ 2 warnings generated. --- error.o --- ./compile error.c --- envread.o --- ./compile envread.c envread.c:11:17: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | slen = str_len(s); | ^ envread.c:12:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 12 | for (i = 0;envi = environ[i];++i) | ~~~~~^~~~~~~~~~~~ envread.c:12:19: note: place parentheses around the assignment to silence this warning 12 | for (i = 0;envi = environ[i];++i) | ^ | ( ) envread.c:12:19: note: use '==' to turn this assignment into an equality comparison 12 | for (i = 0;envi = environ[i];++i) | ^ | == envread.c:13:20: warning: passing arguments to 'str_diffn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | if ((!str_diffn(s,envi,slen)) && (envi[slen] == '=')) | ^ envread.c:4:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | extern /*@null@*/char *env_get(s) | ^ In file included from envread.c:1: ./env.h:10:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern /*@null@*/char *env_get(); | ^ envread.c:23:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | extern char *env_findeq(s) | ^ In file included from envread.c:1: ./env.h:13:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | extern char *env_findeq(); | ^ 7 warnings generated. --- env.o --- ./compile env.c env.c:19:12: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | alloc_free(environ[i]); | ^ env.c:17:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | static void env_goodbye(i) int i; | ^ env.c:36:18: warning: passing arguments to 'str_diffn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | if (!str_diffn(s,environ[i],len)) | ^ env.c:32:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | static void env_unsetlen(s,len) char *s; int len; | ^ env.c:44:24: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | env_unsetlen(s,str_len(s)); | ^ env.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | int env_unset(s) char *s; | ^ In file included from env.c:11: ./env.h:9:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern int env_unset(); | ^ env.c:51:16: warning: passing arguments to 'env_findeq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | t = env_findeq(s); | ^ env.c:56:17: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if (!alloc_re(&environ,(en + 1) * sizeof(char *),(ea + 1) * sizeof(char *))) | ^ env.c:48:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | static int env_add(s) char *s; | ^ env.c:68:19: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | u = alloc(str_len(s) + 1); | ^ env.c:68:11: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | u = alloc(str_len(s) + 1); | ^ env.c:70:10: warning: passing arguments to 'str_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | str_copy(u,s); | ^ env.c:71:31: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if (!env_add(u)) { alloc_free(u); return 0; } | ^ env.c:64:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | int env_put(s) char *s; | ^ In file included from env.c:11: ./env.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern int env_put(); | ^ env.c:80:16: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | slen = str_len(s); | ^ env.c:81:26: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | u = alloc(slen + str_len(t) + 2); | ^ env.c:81:11: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | u = alloc(slen + str_len(t) + 2); | ^ env.c:83:10: warning: passing arguments to 'str_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | str_copy(u,s); | ^ env.c:85:10: warning: passing arguments to 'str_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | str_copy(u + slen + 1,t); | ^ env.c:86:31: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if (!env_add(u)) { alloc_free(u); return 0; } | ^ env.c:75:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | int env_put2(s,t) char *s; char *t; | ^ In file included from env.c:11: ./env.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern int env_put2(); | ^ env.c:96:30: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | newenviron = (char **) alloc((ea + 1) * sizeof(char *)); | ^ env.c:100:34: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | newenviron[en] = alloc(str_len(environ[en]) + 1); | ^ env.c:100:26: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | newenviron[en] = alloc(str_len(environ[en]) + 1); | ^ env.c:103:39: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | for (i = 0;i < en;++i) alloc_free(newenviron[i]); | ^ env.c:104:16: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | alloc_free(newenviron); | ^ env.c:107:12: warning: passing arguments to 'str_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | str_copy(newenviron[en],environ[en]); | ^ 30 warnings generated. --- datetime_un.o --- ./compile datetime_un.c datetime_un.c:4:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | datetime_sec datetime_untai(dt) | ^ In file included from datetime_un.c:1: ./datetime.h:18: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] 18 | extern datetime_sec datetime_untai(); | ^ 2 warnings generated. --- datetime.o --- ./compile datetime.c datetime.c:4:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | void datetime_tai(dt,t) | ^ In file included from datetime.c:2: ./datetime.h:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern void datetime_tai(); | ^ 2 warnings generated. --- date822fmt.o --- ./compile date822fmt.c date822fmt.c:16:15: warning: passing arguments to 'fmt_uint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | i = fmt_uint(s,dt->mday); len += i; if (s) s += i; | ^ date822fmt.c:17:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | i = fmt_str(s," "); len += i; if (s) s += i; | ^ date822fmt.c:18:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | i = fmt_str(s,montab[dt->mon]); len += i; if (s) s += i; | ^ date822fmt.c:19:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | i = fmt_str(s," "); len += i; if (s) s += i; | ^ date822fmt.c:20:15: warning: passing arguments to 'fmt_uint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | i = fmt_uint(s,dt->year + 1900); len += i; if (s) s += i; | ^ date822fmt.c:21:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | i = fmt_str(s," "); len += i; if (s) s += i; | ^ date822fmt.c:22:16: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | i = fmt_uint0(s,dt->hour,2); len += i; if (s) s += i; | ^ date822fmt.c:23:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | i = fmt_str(s,":"); len += i; if (s) s += i; | ^ date822fmt.c:24:16: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | i = fmt_uint0(s,dt->min,2); len += i; if (s) s += i; | ^ date822fmt.c:25:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | i = fmt_str(s,":"); len += i; if (s) s += i; | ^ date822fmt.c:26:16: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | i = fmt_uint0(s,dt->sec,2); len += i; if (s) s += i; | ^ date822fmt.c:27:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | i = fmt_str(s," -0000\n"); len += i; if (s) s += i; | ^ date822fmt.c:9:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | unsigned int date822fmt(s,dt) | ^ In file included from date822fmt.c:3: ./date822fmt.h:4:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern unsigned int date822fmt(); | ^ 14 warnings generated. --- byte_zero.o --- ./compile byte_zero.c byte_zero.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void byte_zero(s,n) | ^ In file included from byte_zero.c:1: ./byte.h:9:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern void byte_zero(); | ^ 2 warnings generated. --- byte_rchr.o --- ./compile byte_rchr.c byte_rchr.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int byte_rchr(s,n,c) | ^ In file included from byte_rchr.c:1: ./byte.h:5:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern unsigned int byte_rchr(); | ^ 2 warnings generated. --- byte_diff.o --- ./compile byte_diff.c byte_diff.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int byte_diff(s,n,t) | ^ In file included from byte_diff.c:1: ./byte.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern int byte_diff(); | ^ 2 warnings generated. --- byte_cr.o --- ./compile byte_cr.c byte_cr.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void byte_copyr(to,n,from) | ^ In file included from byte_cr.c:1: ./byte.h:7:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern void byte_copyr(); | ^ 2 warnings generated. --- byte_copy.o --- ./compile byte_copy.c byte_copy.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void byte_copy(to,n,from) | ^ In file included from byte_copy.c:1: ./byte.h:6:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern void byte_copy(); | ^ 2 warnings generated. --- byte_chr.o --- ./compile byte_chr.c byte_chr.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int byte_chr(s,n,c) | ^ In file included from byte_chr.c:1: ./byte.h:4:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern unsigned int byte_chr(); | ^ 2 warnings generated. --- auto-uid.o --- ./compile auto-uid.c auto-uid.c:16:20: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | if (substdio_puts(&ss1,s) == -1) _exit(111); | ^ auto-uid.c:13:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | void outs(s) /* was named puts, but Solaris pwd.h includes stdio.h. dorks. */ | ^ auto-uid.c:19:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 19 | void main(argc,argv) | ^ auto-uid.c:19:1: note: change return type to 'int' 19 | void main(argc,argv) | ^~~~ | int auto-uid.c:35:18: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | substdio_puts(subfderr,"fatal: unable to find user "); | ^ auto-uid.c:36:18: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | substdio_puts(subfderr,value); | ^ auto-uid.c:37:18: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | substdio_puts(subfderr,"\n"); | ^ auto-uid.c:38:19: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | substdio_flush(subfderr); | ^ auto-uid.c:42:19: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | strnum[fmt_ulong(strnum,(unsigned long) pw->pw_uid)] = 0; | ^ auto-uid.c:49:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (substdio_flush(&ss1) == -1) _exit(111); | ^ auto-uid.c:19:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | void main(argc,argv) | ^ 10 warnings generated. --- auto-str.o --- ./compile auto-str.c auto-str.c:11:20: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | if (substdio_puts(&ss1,s) == -1) _exit(111); | ^ auto-str.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void puts(s) | ^ auto-str.c:14:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 14 | void main(argc,argv) | ^ auto-str.c:14:1: note: change return type to 'int' 14 | void main(argc,argv) | ^~~~ | int auto-str.c:32:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 32 | while (ch = *value++) { | ~~~^~~~~~~~~~ auto-str.c:32:13: note: place parentheses around the assignment to silence this warning 32 | while (ch = *value++) { | ^ | ( ) auto-str.c:32:13: note: use '==' to turn this assignment into an equality comparison 32 | while (ch = *value++) { | ^ | == auto-str.c:42:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | if (substdio_flush(&ss1) == -1) _exit(111); | ^ auto-str.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | void main(argc,argv) | ^ 6 warnings generated. --- auto-int.o --- ./compile auto-int.c auto-int.c:13:20: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | if (substdio_puts(&ss1,s) == -1) _exit(111); | ^ auto-int.c:10:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | void puts(s) | ^ auto-int.c:16:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 16 | void main(argc,argv) | ^ auto-int.c:16:1: note: change return type to 'int' 16 | void main(argc,argv) | ^~~~ | int auto-int.c:30:13: warning: passing arguments to 'scan_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | scan_ulong(value,&num); | ^ auto-int.c:31:19: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | strnum[fmt_ulong(strnum,num)] = 0; | ^ auto-int.c:38:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | if (substdio_flush(&ss1) == -1) _exit(111); | ^ auto-int.c:16:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | void main(argc,argv) | ^ 7 warnings generated. --- auto-gid.o --- ./compile auto-gid.c auto-gid.c:16:20: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | if (substdio_puts(&ss1,s) == -1) _exit(111); | ^ auto-gid.c:13:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | void outs(s) | ^ auto-gid.c:19:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 19 | void main(argc,argv) | ^ auto-gid.c:19:1: note: change return type to 'int' 19 | void main(argc,argv) | ^~~~ | int auto-gid.c:35:18: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | substdio_puts(subfderr,"fatal: unable to find group "); | ^ auto-gid.c:36:18: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | substdio_puts(subfderr,value); | ^ auto-gid.c:37:18: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | substdio_puts(subfderr,"\n"); | ^ auto-gid.c:38:19: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | substdio_flush(subfderr); | ^ auto-gid.c:42:19: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | strnum[fmt_ulong(strnum,(unsigned long) gr->gr_gid)] = 0; | ^ auto-gid.c:49:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (substdio_flush(&ss1) == -1) _exit(111); | ^ auto-gid.c:19:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | void main(argc,argv) | ^ 10 warnings generated. --- alloc_re.o --- ./compile alloc_re.c alloc_re.c:11:12: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | y = alloc(n); | ^ alloc_re.c:13:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | byte_copy(y,m,*x); | ^ alloc_re.c:14:13: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | alloc_free(*x); | ^ alloc_re.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int alloc_re(x,m,n) | ^ In file included from alloc_re.c:1: ./alloc.h:6:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern int alloc_re(); | ^ 5 warnings generated. --- alloc.o --- ./compile alloc.c alloc.c:3:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 3 | extern char *malloc(); | ^ alloc.c:3:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' alloc.c:20:13: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | x = malloc(n); | ^ alloc.c:14:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | /*@null@*//*@out@*/char *alloc(n) | ^ In file included from alloc.c:1: ./alloc.h:4:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern /*@null@*//*@out@*/char *alloc(); | ^ alloc.c:25:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | void alloc_free(x) | ^ In file included from alloc.c:1: ./alloc.h:5:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern void alloc_free(); | ^ 6 warnings generated. --- sig_term.o --- ./compile sig_term.c --- str_len.o --- ./compile str_len.c --- control.o --- ./compile control.c --- str_chr.o --- ./compile str_chr.c --- str_cpy.o --- ./compile str_cpy.c --- str_diff.o --- ./compile str_diff.c --- dns.o --- ./compile dns.c --- str_diffn.o --- ./compile str_diffn.c --- str_rchr.o --- ./compile str_rchr.c --- str_start.o --- ./compile str_start.c --- sig_hup.o --- ./compile sig_hup.c --- sig_misc.o --- ./compile sig_misc.c --- stralloc_arts.o --- --- stralloc_cat.o --- --- stralloc_catb.o --- --- stralloc_cats.o --- --- stralloc_copy.o --- --- stralloc_eady.o --- --- stralloc_opyb.o --- --- stralloc_opys.o --- --- stralloc_pend.o --- --- subfderr.o --- --- subfdin.o --- --- subfdins.o --- --- subfdout.o --- --- subfdouts.o --- --- substdi.o --- --- substdio.o --- --- substdio_copy.o --- --- substdo.o --- --- triggerpull.o --- --- alloc.a --- --- datetime.a --- --- env.a --- --- error.a --- --- fd.a --- --- fs.a --- --- getln.a --- --- ndelay.a --- --- open.a --- --- seek.a --- --- fork.h --- --- hassgact.h --- --- hassgprm.h --- --- haswaitp.h --- --- socket.lib --- --- fd.a --- ./makelib fd.a fd_copy.o fd_move.o --- error.a --- ./makelib error.a error.o error_str.o error_temp.o --- env.a --- ./makelib env.a env.o envread.o --- datetime.a --- ./makelib datetime.a datetime.o datetime_un.o --- alloc.a --- ./makelib alloc.a alloc.o alloc_re.o --- triggerpull.o --- ./compile triggerpull.c triggerpull.c:9:17: warning: passing arguments to 'open_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | fd = open_write("lock/trigger"); | ^ triggerpull.c:12:13: warning: passing arguments to 'ndelay_on' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | ndelay_on(fd); | ^ triggerpull.c:13:4: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | write(fd,"",1); /* if it fails, bummer */ | ^ triggerpull.c:14:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | close(fd); | ^ 4 warnings generated. --- substdo.o --- ./compile substdo.c substdo.c:15:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | w = op(fd,buf,len); | ^ substdo.c:20:17: warning: if statement has empty body [-Wempty-body] 20 | if (w == 0) ; /* luser's fault */ | ^ substdo.c:20:17: note: put the semicolon on a separate line to silence this warning substdo.c:6:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | static int allwrite(op,fd,buf,len) | ^ substdo.c:27:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | int substdio_flush(s) | ^ In file included from substdo.c:1: ./substdio.h:16:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern int substdio_flush(); | ^ substdo.c:46:14: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | byte_copy(s->x + s->p,n,buf); s->p += n; buf += n; len -= n; | ^ substdo.c:50:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | byte_copy(s->x + s->p,len,buf); | ^ substdo.c:38:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | int substdio_bput(s,buf,len) | ^ In file included from substdo.c:1: ./substdio.h:18:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern int substdio_bput(); | ^ substdo.c:75:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | byte_copy(s->x + s->p,len,buf); | ^ substdo.c:55:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | int substdio_put(s,buf,len) | ^ In file included from substdo.c:1: ./substdio.h:17:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern int substdio_put(); | ^ substdo.c:80:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | int substdio_putflush(s,buf,len) | ^ In file included from substdo.c:1: ./substdio.h:19:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | extern int substdio_putflush(); | ^ substdo.c:93:37: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | return substdio_bput(s,buf,str_len(buf)); | ^ substdo.c:89:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | int substdio_bputs(s,buf) | ^ In file included from substdo.c:1: ./substdio.h:21:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | extern int substdio_bputs(); | ^ substdo.c:100:36: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | return substdio_put(s,buf,str_len(buf)); | ^ substdo.c:96:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | int substdio_puts(s,buf) | ^ In file included from substdo.c:1: ./substdio.h:20:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern int substdio_puts(); | ^ substdo.c:107:41: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | return substdio_putflush(s,buf,str_len(buf)); | ^ substdo.c:103:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | int substdio_putsflush(s,buf) | ^ In file included from substdo.c:1: ./substdio.h:22:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | extern int substdio_putsflush(); | ^ 23 warnings generated. --- substdio_copy.o --- ./compile substdio_copy.c substdio_copy.c:11:22: warning: passing arguments to 'substdio_feed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | n = substdio_feed(ssin); | ^ substdio_copy.c:15:21: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | if (substdio_put(ssout,x,n) == -1) return -3; | ^ substdio_copy.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int substdio_copy(ssout,ssin) | ^ In file included from substdio_copy.c:1: ./substdio.h:45:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | extern int substdio_copy(); | ^ 4 warnings generated. --- substdio.o --- ./compile substdio.c substdio.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void substdio_fdbuf(s,op,fd,buf,len) | ^ In file included from substdio.c:1: ./substdio.h:14:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | extern void substdio_fdbuf(); | ^ 2 warnings generated. --- substdi.o --- ./compile substdi.c substdi.c:14:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | r = op(fd,buf,len); | ^ substdi.c:5:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | static int oneread(op,fd,buf,len) | ^ substdi.c:31:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | byte_copy(buf,r,s->x + s->n); | ^ substdi.c:20:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | static int getthis(s,buf,len) | ^ substdi.c:49:48: warning: passing arguments to 'byte_copyr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (q > 0) /* damn, gotta shift */ byte_copyr(s->x + q,r,s->x); | ^ substdi.c:36:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | int substdio_feed(s) | ^ In file included from substdi.c:1: ./substdio.h:26:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | extern int substdio_feed(); | ^ substdi.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int substdio_bget(s,buf,len) | ^ In file included from substdi.c:1: ./substdio.h:25:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | extern int substdio_bget(); | ^ substdi.c:66:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | int substdio_get(s,buf,len) | ^ In file included from substdi.c:1: ./substdio.h:24:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | extern int substdio_get(); | ^ substdi.c:79:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | char *substdio_peek(s) | ^ In file included from substdi.c:1: ./substdio.h:28:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | extern char *substdio_peek(); | ^ substdi.c:85:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | void substdio_seek(s,len) | ^ In file included from substdi.c:1: ./substdio.h:29:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | extern void substdio_seek(); | ^ 15 warnings generated. --- subfdouts.o --- ./compile subfdouts.c --- subfdout.o --- ./compile subfdout.c --- subfdins.o --- ./compile subfdins.c subfdins.c:7:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | if (substdio_flush(subfdoutsmall) == -1) return -1; | ^ subfdins.c:8:14: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | return read(fd,buf,len); | ^ subfdins.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int subfd_readsmall(fd,buf,len) int fd; char *buf; int len; | ^ In file included from subfdins.c:3: ./subfd.h:13:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | extern int subfd_readsmall(); | ^ 4 warnings generated. --- subfdin.o --- ./compile subfdin.c subfdin.c:7:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | if (substdio_flush(subfdout) == -1) return -1; | ^ subfdin.c:8:14: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | return read(fd,buf,len); | ^ subfdin.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int subfd_read(fd,buf,len) int fd; char *buf; int len; | ^ In file included from subfdin.c:3: ./subfd.h:12:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | extern int subfd_read(); | ^ 4 warnings generated. --- subfderr.o --- ./compile subfderr.c --- stralloc_pend.o --- ./compile stralloc_pend.c stralloc_pend.c:5:1: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_append(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus,stralloc_append) | ^ ./gen_allocdefs.h:32:16: note: expanded from macro 'GEN_ALLOC_append' 32 | { if (!ta_rplus(x,1)) return 0; x->field[x->len++] = *i; return 1; } | ^ stralloc_pend.c:5:68: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_append(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus,stralloc_append) | ^ In file included from stralloc_pend.c:2: ./stralloc.h:16:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern int stralloc_append(); /* beware: this takes a pointer to 1 char */ | ^ 3 warnings generated. --- stralloc_opys.o --- ./compile stralloc_opys.c stralloc_opys.c:9:37: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | return stralloc_copyb(sa,s,str_len(s)); | ^ stralloc_opys.c:9:24: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | return stralloc_copyb(sa,s,str_len(s)); | ^ stralloc_opys.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int stralloc_copys(sa,s) | ^ In file included from stralloc_opys.c:3: ./stralloc.h:12:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | extern int stralloc_copys(); | ^ 4 warnings generated. --- stralloc_opyb.o --- ./compile stralloc_opyb.c stralloc_opyb.c:9:22: warning: passing arguments to 'stralloc_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | if (!stralloc_ready(sa,n + 1)) return 0; | ^ stralloc_opyb.c:10:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | byte_copy(sa->s,n,s); | ^ stralloc_opyb.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int stralloc_copyb(sa,s,n) | ^ In file included from stralloc_opyb.c:1: ./stralloc.h:14:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | extern int stralloc_copyb(); | ^ 4 warnings generated. --- stralloc_eady.o --- ./compile stralloc_eady.c stralloc_eady.c:5:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_ready(stralloc,char,s,len,a,i,n,x,30,stralloc_ready) | ^ ./gen_allocdefs.h:11:19: note: expanded from macro 'GEN_ALLOC_ready' 11 | if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \ | ^ stralloc_eady.c:5:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gen_allocdefs.h:15:38: note: expanded from macro 'GEN_ALLOC_ready' 15 | return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); } | ^ stralloc_eady.c:5:48: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_ready(stralloc,char,s,len,a,i,n,x,30,stralloc_ready) | ^ In file included from stralloc_eady.c:2: ./stralloc.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern int stralloc_ready(); | ^ stralloc_eady.c:6:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | GEN_ALLOC_readyplus(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus) | ^ ./gen_allocdefs.h:24:19: note: expanded from macro 'GEN_ALLOC_readyplus' 24 | if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \ | ^ stralloc_eady.c:6:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gen_allocdefs.h:28:38: note: expanded from macro 'GEN_ALLOC_readyplus' 28 | return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); } | ^ stralloc_eady.c:6:52: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | GEN_ALLOC_readyplus(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus) | ^ In file included from stralloc_eady.c:2: ./stralloc.h:9:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern int stralloc_readyplus(); | ^ 8 warnings generated. --- stralloc_copy.o --- ./compile stralloc_copy.c stralloc_copy.c:8:24: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | return stralloc_copyb(sato,safrom->s,safrom->len); | ^ stralloc_copy.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int stralloc_copy(sato,safrom) | ^ In file included from stralloc_copy.c:2: ./stralloc.h:10:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern int stralloc_copy(); | ^ 3 warnings generated. --- stralloc_cats.o --- ./compile stralloc_cats.c stralloc_cats.c:9:36: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | return stralloc_catb(sa,s,str_len(s)); | ^ stralloc_cats.c:9:23: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | return stralloc_catb(sa,s,str_len(s)); | ^ stralloc_cats.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int stralloc_cats(sa,s) | ^ In file included from stralloc_cats.c:3: ./stralloc.h:13:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | extern int stralloc_cats(); | ^ 4 warnings generated. --- stralloc_catb.o --- ./compile stralloc_catb.c stralloc_catb.c:9:36: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | if (!sa->s) return stralloc_copyb(sa,s,n); | ^ stralloc_catb.c:10:26: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | if (!stralloc_readyplus(sa,n + 1)) return 0; | ^ stralloc_catb.c:11:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | byte_copy(sa->s + sa->len,n,s); | ^ stralloc_catb.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int stralloc_catb(sa,s,n) | ^ In file included from stralloc_catb.c:1: ./stralloc.h:15:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | extern int stralloc_catb(); | ^ 5 warnings generated. --- stralloc_cat.o --- ./compile stralloc_cat.c stralloc_cat.c:8:23: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | return stralloc_catb(sato,safrom->s,safrom->len); | ^ stralloc_cat.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int stralloc_cat(sato,safrom) | ^ In file included from stralloc_cat.c:2: ./stralloc.h:11:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | extern int stralloc_cat(); | ^ 3 warnings generated. --- stralloc_arts.o --- ./compile stralloc_arts.c stralloc_arts.c:10:16: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | len = str_len(s); | ^ stralloc_arts.c:11:30: warning: passing arguments to 'byte_diff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | return (sa->len >= len) && byte_equal(s,len,sa->s); | ^ ./byte.h:11:38: note: expanded from macro 'byte_equal' 11 | #define byte_equal(s,n,t) (!byte_diff((s),(n),(t))) | ^ stralloc_arts.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int stralloc_starts(sa,s) | ^ In file included from stralloc_arts.c:3: ./stralloc.h:17:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern int stralloc_starts(); | ^ 4 warnings generated. --- str_start.o --- str_start.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int str_start(s,t) | ^ In file included from str_start.c:1: ./str.h:10:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern int str_start(); | ^ 2 warnings generated. --- str_rchr.o --- str_rchr.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int str_rchr(s,c) | ^ In file included from str_rchr.c:1: ./str.h:9:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern unsigned int str_rchr(); | ^ 2 warnings generated. --- str_len.o --- str_len.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int str_len(s) | ^ In file included from str_len.c:1: ./str.h:7:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern unsigned int str_len(); | ^ 2 warnings generated. --- str_diffn.o --- str_diffn.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int str_diffn(s,t,len) | ^ In file included from str_diffn.c:1: ./str.h:6:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern int str_diffn(); | ^ 2 warnings generated. --- str_diff.o --- str_diff.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int str_diff(s,t) | ^ In file included from str_diff.c:1: ./str.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern int str_diff(); | ^ 2 warnings generated. --- str_cpy.o --- str_cpy.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int str_copy(s,t) | ^ In file included from str_cpy.c:1: ./str.h:4:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern unsigned int str_copy(); | ^ 2 warnings generated. --- str_chr.o --- str_chr.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int str_chr(s,c) | ^ In file included from str_chr.c:1: ./str.h:8:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern unsigned int str_chr(); | ^ 2 warnings generated. --- sig_term.o --- sig_term.c:4:33: warning: passing arguments to 'sig_block' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | void sig_termblock() { sig_block(SIGTERM); } | ^ sig_term.c:5:37: warning: passing arguments to 'sig_unblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | void sig_termunblock() { sig_unblock(SIGTERM); } | ^ sig_term.c:6:47: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void sig_termcatch(f) void (*f)(); { sig_catch(SIGTERM,f); } | ^ sig_term.c:6:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void sig_termcatch(f) void (*f)(); { sig_catch(SIGTERM,f); } | ^ In file included from sig_term.c:2: ./sig.h:25: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] 25 | extern void sig_termcatch(); | ^ sig_term.c:7:35: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void sig_termdefault() { sig_catch(SIGTERM,SIG_DFL); } | ^ 6 warnings generated. --- sig_misc.o --- sig_misc.c:6:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | sig_catch(SIGVTALRM,SIG_IGN); | ^ sig_misc.c:7:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | sig_catch(SIGPROF,SIG_IGN); | ^ sig_misc.c:8:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | sig_catch(SIGQUIT,SIG_IGN); | ^ sig_misc.c:9:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | sig_catch(SIGINT,SIG_IGN); | ^ sig_misc.c:10:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | sig_catch(SIGHUP,SIG_IGN); | ^ sig_misc.c:12:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | sig_catch(SIGXCPU,SIG_IGN); | ^ sig_misc.c:15:12: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | sig_catch(SIGXFSZ,SIG_IGN); | ^ 7 warnings generated. --- sig_hup.o --- sig_hup.c:4:35: warning: passing arguments to 'sig_block' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | void sig_hangupblock() { sig_block(SIGHUP); } | ^ sig_hup.c:5:39: warning: passing arguments to 'sig_unblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | void sig_hangupunblock() { sig_unblock(SIGHUP); } | ^ sig_hup.c:6:49: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void sig_hangupcatch(f) void (*f)(); { sig_catch(SIGHUP,f); } | ^ sig_hup.c:6:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void sig_hangupcatch(f) void (*f)(); { sig_catch(SIGHUP,f); } | ^ In file included from sig_hup.c:2: ./sig.h:40: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] 40 | extern void sig_hangupcatch(); | ^ sig_hup.c:7:37: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void sig_hangupdefault() { sig_catch(SIGHUP,SIG_DFL); } | ^ 6 warnings generated. --- haswaitp.h --- ( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null 2>&1 && echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h --- open.a --- ./makelib open.a open_append.o open_excl.o open_read.o open_trunc.o open_write.o --- control.o --- control.c:16:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | static void striptrailingwhitespace(sa) | ^ control.c:33:22: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | r = control_readline(&me,"control/me"); | ^ control.c:45:22: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | r = control_readline(sa,fn); | ^ control.c:47:44: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | if (flagme) if (meok) return stralloc_copy(sa,&me) ? 1 : -1; --- fs.a --- ./makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_8long.o --- getln.a --- ./makelib getln.a getln.o getln2.o --- dns.o --- dns.c:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 8 | extern int res_query(); | ^ /usr/include/resolv.h:296:20: note: expanded from macro 'res_query' 296 | #define res_query __res_query | ^ /usr/include/resolv.h:313:6: note: conflicting prototype is here 313 | int res_query(const char *, int, int, u_char *, int); | ^ /usr/include/resolv.h:296:20: note: expanded from macro 'res_query' 296 | #define res_query __res_query | ^ dns.c:9:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 9 | extern int res_search(); --- ndelay.a --- ./makelib ndelay.a ndelay.o ndelay_off.o --- seek.a --- ./makelib seek.a seek_cur.o seek_end.o seek_set.o seek_trunc.o --- fork.h --- ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null 2>&1 && cat fork.h2 || cat fork.h1 ) > fork.h --- hassgact.h --- ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null 2>&1 && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h --- hassgprm.h --- ( ( ./compile trysgprm.c && ./load trysgprm ) >/dev/null 2>&1 && echo \#define HASSIGPROCMASK 1 || exit 0 ) > hassgprm.h --- substdio.a --- --- stralloc.a --- --- str.a --- --- control.o --- | ^ control.c:48:32: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (def) return stralloc_copys(sa,def) ? 1 : -1; | ^ control.c:38:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | int control_rldef(sa,fn,flagme,def) | ^ In file included from control.c:7: ./control.h:6:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern int control_rldef(); | ^ --- socket.lib --- ( ( ./compile trylsock.c && ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 && echo -lsocket -lnsl || exit 0 ) > socket.lib --- stralloc.a --- ./makelib stralloc.a stralloc_eady.o stralloc_pend.o stralloc_copy.o stralloc_opys.o stralloc_opyb.o stralloc_cat.o stralloc_cats.o stralloc_catb.o stralloc_arts.o --- dns.o --- | ^ /usr/include/resolv.h:298:21: note: expanded from macro 'res_search' 298 | #define res_search __res_search | ^ /usr/include/resolv.h:316:6: note: conflicting prototype is here 316 | int res_search(const char *, int, int, u_char *, int); | ^ /usr/include/resolv.h:298:21: note: expanded from macro 'res_search' 298 | #define res_search __res_search | ^ dns.c:20:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | static unsigned short getshort(c) unsigned char *c; | ^ dns.c:45:20: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | if (!stralloc_copy(&glue,domain)) return DNS_MEM; | ^ --- substdio.a --- ./makelib substdio.a substdio.o substdi.o substdo.o subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o substdio_copy.o --- control.o --- control.c:60:16: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | fd = open_read(fn); | ^ control.c:63:16: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | substdio_fdbuf(&ss,read,fd,inbuf,sizeof(inbuf)); | ^ control.c:65:11: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | if (getln(&ss,sa,&match,'\n') == -1) { close(fd); return -1; } | ^ control.c:65:41: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | if (getln(&ss,sa,&match,'\n') == -1) { close(fd); return -1; } --- dns.o --- dns.c:46:7: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | if (!stralloc_0(&glue)) return DNS_MEM; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ dns.c:47:22: 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] 47 | responselen = lookup(glue.s,C_IN,type,response.buf,sizeof(response)); | ^ dns.c:37:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | static int resolve(domain,type) | ^ --- control.o --- | ^ control.c:68:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | close(fd); | ^ control.c:52:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | int control_readline(sa,fn) | ^ In file included from control.c:7: ./control.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern int control_readline(); | ^ control.c:82:7: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if (!stralloc_0(&line)) return -1; | ^ --- dns.o --- dns.c:72:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | static int findname(wanttype) | ^ dns.c:106:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | static int findip(wanttype) | ^ dns.c:144:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | static int findmx(wanttype) | ^ dns.c:181:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | void dns_init(flagsearch) | ^ In file included from dns.c:17: --- control.o --- ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ control.c:83:17: warning: passing arguments to 'scan_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if (!scan_ulong(line.s,&u)) return 0; | ^ control.c:72:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | int control_readint(i,fn) | ^ In file included from control.c:7: ./control.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern int control_readint(); | ^ --- dns.o --- ./dns.h:8: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] 8 | void dns_init(); | ^ dns.c:209:24: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | if (!stralloc_copys(sa,name)) return DNS_MEM; | ^ dns.c:188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | int dns_cname(sa) | ^ In file included from dns.c:17: ./dns.h:9: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] 9 | int dns_cname(); --- control.o --- control.c:97:21: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | if (!stralloc_copys(sa,"")) return -1; | ^ control.c:99:16: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | fd = open_read(fn); | ^ control.c:106:26: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | if (!stralloc_copy(sa,&me)) return -1; | ^ control.c:107:13: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | if (!stralloc_0(sa)) return -1; | ^ --- dns.o --- | ^ dns.c:228:15: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | i = fmt_ulong(s,(unsigned long) ip->d[3]); len += i; if (s) s += i; | ^ dns.c:229:13: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | i = fmt_str(s,"."); len += i; if (s) s += i; | ^ dns.c:230:15: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | i = fmt_ulong(s,(unsigned long) ip->d[2]); len += i; if (s) s += i; | ^ dns.c:231:13: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | i = fmt_str(s,"."); len += i; if (s) s += i; --- control.o --- ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ control.c:115:16: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | substdio_fdbuf(&ss,read,fd,inbuf,sizeof(inbuf)); | ^ control.c:119:13: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | if (getln(&ss,&line,&match,'\n') == -1) break; | ^ control.c:120:31: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | if (!match && !line.len) { close(fd); return 1; } | ^ --- dns.o --- | ^ dns.c:232:15: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | i = fmt_ulong(s,(unsigned long) ip->d[1]); len += i; if (s) s += i; | ^ dns.c:233:13: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | i = fmt_str(s,"."); len += i; if (s) s += i; | ^ dns.c:234:15: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | i = fmt_ulong(s,(unsigned long) ip->d[0]); len += i; if (s) s += i; | ^ dns.c:235:13: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- control.o --- control.c:122:9: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | if (!stralloc_0(&line)) break; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ control.c:125:25: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | if (!stralloc_cat(sa,&line)) break; | ^ control.c:126:18: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | if (!match) { close(fd); return 1; } | ^ --- dns.o --- 235 | i = fmt_str(s,".in-addr.arpa."); len += i; if (s) s += i; | ^ dns.c:221:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | static int iaafmt(s,ip) | ^ dns.c:245:21: warning: passing arguments to 'stralloc_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if (!stralloc_ready(sa,iaafmt((char *) 0,ip))) return DNS_MEM; | ^ dns.c:258:25: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | if (!stralloc_copys(sa,name)) return DNS_MEM; | ^ dns.c:239:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | int dns_ptr(sa,ip) --- control.o --- control.c:128:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | close(fd); | ^ control.c:88:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | int control_readfile(sa,fn,flagme) | ^ In file included from control.c:7: ./control.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern int control_readfile(); | ^ 31 warnings generated. --- dns.o --- | ^ In file included from dns.c:17: ./dns.h:12: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] 12 | int dns_ptr(); | ^ dns.c:273:20: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | if (!stralloc_copy(&glue,sa)) return DNS_MEM; | ^ dns.c:274:7: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | if (!stralloc_0(&glue)) return DNS_MEM; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ dns.c:277:23: warning: passing arguments to 'ip_scan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | if (!glue.s[ip_scan(glue.s,&ix.ip)] || !glue.s[ip_scanbracket(glue.s,&ix.ip)]) | ^ dns.c:277:65: warning: passing arguments to 'ip_scanbracket' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | if (!glue.s[ip_scan(glue.s,&ix.ip)] || !glue.s[ip_scanbracket(glue.s,&ix.ip)]) | ^ dns.c:279:25: warning: passing arguments to 'ipalloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if (!ipalloc_append(ia,&ix)) return DNS_MEM; | ^ dns.c:296:25: warning: passing arguments to 'ipalloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | if (!ipalloc_append(ia,&ix)) return DNS_MEM; | ^ dns.c:265:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | static int dns_ipplus(ia,sa,pref) | ^ dns.c:305:24: warning: passing arguments to 'ipalloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | if (!ipalloc_readyplus(ia,0)) return DNS_MEM; | ^ dns.c:301:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | int dns_ip(ia,sa) | ^ In file included from dns.c:17: ./dns.h:11: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] 11 | int dns_ip(); | ^ dns.c:323:24: warning: passing arguments to 'ipalloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | if (!ipalloc_readyplus(ia,0)) return DNS_MEM; | ^ dns.c:326:20: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | if (!stralloc_copy(&glue,sa)) return DNS_MEM; | ^ dns.c:327:7: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | if (!stralloc_0(&glue)) return DNS_MEM; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ dns.c:330:23: warning: passing arguments to 'ip_scan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | if (!glue.s[ip_scan(glue.s,&ix.ip)] || !glue.s[ip_scanbracket(glue.s,&ix.ip)]) | ^ dns.c:330:65: warning: passing arguments to 'ip_scanbracket' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | if (!glue.s[ip_scan(glue.s,&ix.ip)] || !glue.s[ip_scanbracket(glue.s,&ix.ip)]) | ^ dns.c:332:25: warning: passing arguments to 'ipalloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | if (!ipalloc_append(ia,&ix)) return DNS_MEM; | ^ dns.c:344:26: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | mx = (struct mx *) alloc(numanswers * sizeof(struct mx)); | ^ dns.c:350:35: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | if (r == DNS_SOFT) { alloc_free(mx); return DNS_SOFT; } | ^ dns.c:355:25: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | if (!stralloc_copys(&mx[nummx].sa,name)) | ^ dns.c:357:36: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | while (nummx > 0) alloc_free(mx[--nummx].sa.s); | ^ dns.c:358:18: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | alloc_free(mx); return DNS_MEM; | ^ dns.c:393:14: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | alloc_free(mx[i].sa.s); | ^ dns.c:397:12: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | alloc_free(mx); | ^ dns.c:310:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | int dns_mxip(ia,sa,random) | ^ In file included from dns.c:17: ./dns.h:10: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] 10 | int dns_mxip(); | ^ 53 warnings generated. --- str.a --- ./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o byte_diff.o byte_copy.o byte_cr.o byte_zero.o --- auto-gid --- --- auto-int --- --- auto-str --- --- auto-uid --- --- auto-gid --- ./load auto-gid substdio.a error.a str.a fs.a --- auto-int --- ./load auto-int substdio.a error.a str.a fs.a scan_ulong.o --- auto-str --- ./load auto-str substdio.a error.a str.a --- auto-uid --- ./load auto-uid substdio.a error.a str.a fs.a --- socket.lib --- rm -f trylsock.o trylsock --- dns.lib --- ( ( ./compile tryrsolv.c && ./load tryrsolv dns.o ipalloc.o ip.o stralloc.a alloc.a error.a fs.a str.a -lresolv `cat socket.lib` ) >/dev/null 2>&1 && echo -lresolv || exit 0 ) > dns.lib --- auto_split.c --- ./auto-int auto_split `head -1 conf-split` > auto_split.c --- haswaitp.h --- rm -f trywaitp.o trywaitp --- wait_nohang.o --- --- wait_pid.o --- --- wait_nohang.o --- ./compile wait_nohang.c --- wait_pid.o --- ./compile wait_pid.c --- hassgprm.h --- rm -f trysgprm.o trysgprm --- sig_block.o --- --- sig_pause.o --- --- sig_block.o --- ./compile sig_block.c --- sig_pause.o --- ./compile sig_pause.c --- auto_split.o --- ./compile auto_split.c --- fork.h --- rm -f tryvfork.o tryvfork --- hassgact.h --- rm -f trysgact.o trysgact --- qmail-dk.o --- ./compile qmail-dk.c --- wait_nohang.o --- wait_nohang.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int wait_nohang(wstat) int *wstat; | ^ 1 warning generated. --- sig_catch.o --- --- sig_block.o --- sig_block.c:5:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | void sig_block(sig) | ^ In file included from sig_block.c:2: ./sig.h:5:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern void sig_block(); | ^ sig_block.c:18:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | void sig_unblock(sig) | ^ In file included from sig_block.c:2: ./sig.h:6:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern void sig_unblock(); --- wait_pid.o --- wait_pid.c:8:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | int wait_pid(wstat,pid) int *wstat; int pid; | ^ 1 warning generated. --- sig_catch.o --- ./compile sig_catch.c --- sig_block.o --- | ^ 4 warnings generated. --- wait.a --- ./makelib wait.a wait_pid.o wait_nohang.o --- dns.lib --- rm -f tryrsolv.o tryrsolv --- auto_qmail.c --- ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c --- auto_uids.c --- ( ./auto-uid auto_uida `head -1 conf-users` &&./auto-uid auto_uidd `head -2 conf-users | tail -1` &&./auto-uid auto_uidl `head -3 conf-users | tail -1` &&./auto-uid auto_uido `head -4 conf-users | tail -1` &&./auto-uid auto_uidp `head -5 conf-users | tail -1` &&./auto-uid auto_uidq `head -6 conf-users | tail -1` &&./auto-uid auto_uidr `head -7 conf-users | tail -1` &&./auto-uid auto_uids `head -8 conf-users | tail -1` &&./auto-gid auto_gidq `head -1 conf-groups` &&./auto-gid auto_gidn `head -2 conf-groups | tail -1` ) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c --- sig_catch.o --- sig_catch.c:5:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | void sig_catch(sig,f) | ^ In file included from sig_catch.c:2: ./sig.h:4:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern void sig_catch(); | ^ 2 warnings generated. --- qmail-dk.o --- qmail-dk.c:41:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | void die(e) int e; { _exit(e); } | ^ qmail-dk.c:47:10: warning: 6 enumeration values not handled in switch: 'DK_STAT_OK', 'DK_STAT_BADSIG', 'DK_STAT_NOSIG'... [-Wswitch] 47 | switch(e) { | ^ qmail-dk.c:46:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | void maybe_die_dk(e) DK_STAT e; { | ^ qmail-dk.c:65:13: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | i = fmt_str(s,"/tmp/qmail-dk."); len += i; if (s) s += i; | ^ --- sig.a --- --- qmail-dk.o --- qmail-dk.c:66:15: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | i = fmt_ulong(s,mypid); len += i; if (s) s += i; | ^ qmail-dk.c:67:13: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | i = fmt_str(s,"."); len += i; if (s) s += i; | ^ qmail-dk.c:68:15: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | i = fmt_ulong(s,starttime); len += i; if (s) s += i; | ^ qmail-dk.c:69:13: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | i = fmt_str(s,"."); len += i; if (s) s += i; | ^ qmail-dk.c:70:15: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | i = fmt_ulong(s,seq); len += i; if (s) s += i; | ^ qmail-dk.c:57:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | unsigned int pidfmt(s,seq) | ^ qmail-dk.c:83:15: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | pidfn = alloc(len); | ^ qmail-dk.c:90:22: warning: passing arguments to 'open_excl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | messfd = open_excl(pidfn); | ^ qmail-dk.c:118:13: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | i = str_chr(keyfn, '%'); | ^ qmail-dk.c:120:23: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | if (!stralloc_copyb(&keyfnfrom,keyfn,i)) die(51); | ^ qmail-dk.c:121:22: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | if (!stralloc_cats(&keyfnfrom,from)) die(51); | ^ qmail-dk.c:122:22: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | if (!stralloc_cats(&keyfnfrom,keyfn + i + 1)) die(51); | ^ qmail-dk.c:124:23: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | if (!stralloc_copys(&keyfnfrom,keyfn)) die(51); | ^ qmail-dk.c:126:7: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | if (!stralloc_0(&keyfnfrom)) die(51); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ qmail-dk.c:128:25: warning: passing arguments to 'control_readfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | switch(control_readfile(&dksignature,keyfnfrom.s,0)) { | ^ qmail-dk.c:137:7: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | if (!stralloc_0(&dksignature)) die(51); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ qmail-dk.c:139:36: warning: passing 'char[2048]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 139 | st = dk_getsig(dk, dksignature.s, advice, sizeof(advice)); | ^~~~~~ /usr/local/include/domainkeys.h:352:59: note: passing argument to parameter 'buf' here 352 | DK_STAT dk_getsig(DK *dk, void *privatekey, unsigned char buf[], size_t len) | ^ qmail-dk.c:142:20: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | if (!stralloc_cats(&dkoutput, | ^ qmail-dk.c:151:20: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | if (!stralloc_cats(&dkoutput,selector)) die(51); | ^ qmail-dk.c:152:20: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | if (!stralloc_cats(&dkoutput,"; d=")) die(51); | ^ qmail-dk.c:154:22: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | if (!stralloc_cats(&dkoutput,from)) die(51); | ^ qmail-dk.c:155:27: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | } else if (!stralloc_cats(&dkoutput,"unknown")) die(51); | ^ qmail-dk.c:156:20: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | if (!stralloc_cats(&dkoutput,";\n b=")) die(51); | ^ qmail-dk.c:157:20: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | if (!stralloc_cats(&dkoutput,advice)) die(51); | ^ qmail-dk.c:158:20: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if (!stralloc_cats(&dkoutput," ;\n")) die(51); | ^ qmail-dk.c:163:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 163 | void main(int argc, char *argv[]) | ^ qmail-dk.c:163:1: note: change return type to 'int' 163 | void main(int argc, char *argv[]) | ^~~~ | int qmail-dk.c:172:2: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | umask(033); | ^ qmail-dk.c:174:23: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | relayclient = env_get("RELAYCLIENT"); | ^ qmail-dk.c:176:19: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | dksign = env_get("DKSIGN"); | ^ qmail-dk.c:180:21: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | dkverify = env_get("DKVERIFY"); | ^ qmail-dk.c:183:19: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | dkqueue = env_get("DKQUEUE"); | ^ qmail-dk.c:185:37: warning: passing arguments to 'str_rchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | else if (str_equal(argv[0]+str_rchr(argv[0], '/'), "/qmail-queue")) | ^ qmail-dk.c:185:11: warning: passing arguments to 'str_diff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | else if (str_equal(argv[0]+str_rchr(argv[0], '/'), "/qmail-queue")) | ^ ./str.h:12:34: note: expanded from macro 'str_equal' 12 | #define str_equal(s,t) (!str_diff((s),(t))) | ^ qmail-dk.c:200:10: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | mypid = getpid(); | ^ qmail-dk.c:201:8: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 201 | uid = getuid(); | ^ qmail-dk.c:203:14: warning: passing arguments to 'datetime_tai' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | datetime_tai(&dt,starttime); | ^ qmail-dk.c:207:16: warning: passing arguments to 'sig_alarmcatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | sig_alarmcatch(sigalrm); | ^ qmail-dk.c:208:14: warning: passing arguments to 'sig_bugcatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | sig_bugcatch(sigbug); | ^ qmail-dk.c:210:2: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | alarm(DEATH); | ^ qmail-dk.c:213:20: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | readfd = open_read(pidfn); | ^ qmail-dk.c:214:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | if (unlink(pidfn) == -1) die(63); | ^ qmail-dk.c:216:16: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | substdio_fdbuf(&ssout,write,messfd,outbuf,sizeof(outbuf)); | ^ qmail-dk.c:217:16: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | substdio_fdbuf(&ssin,read,0,inbuf,sizeof(inbuf)); | ^ qmail-dk.c:224:21: warning: passing arguments to 'substdio_feed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | n = substdio_feed(&ssin); | ^ qmail-dk.c:230:46: warning: passing 'char[3]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 230 | if (x[i] == '\n') st = dk_message(dk, "\r\n", 2); | ^~~~~~ /usr/local/include/domainkeys.h:248:49: note: passing argument to parameter 'ptr' here 248 | DK_STAT dk_message(DK *dk, const unsigned char *ptr, size_t len) | ^ qmail-dk.c:231:33: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 231 | else st = dk_message(dk, x+i, 1); | ^~~ /usr/local/include/domainkeys.h:248:49: note: passing argument to parameter 'ptr' here 248 | DK_STAT dk_message(DK *dk, const unsigned char *ptr, size_t len) | ^ qmail-dk.c:234:20: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | if (substdio_put(&ssout,x,n) == -1) die_write(); | ^ qmail-dk.c:238:20: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | if (substdio_flush(&ssout) == -1) die_write(); | ^ qmail-dk.c:247:25: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | if (!stralloc_copys(&dkoutput,"DomainKey-Status: ")) die(51); | ^ qmail-dk.c:248:13: warning: enumeration value 'DK_STAT_GRANULARITY' not handled in switch [-Wswitch] 248 | switch(st) { | ^~ qmail-dk.c:261:24: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | if (!stralloc_cats(&dkoutput,status)) die(51); | ^ qmail-dk.c:262:24: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | if (!stralloc_cats(&dkoutput,"\n")) die(51); | ^ qmail-dk.c:263:26: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | if (dkverify[str_chr(dkverify, 'A'+st)]) die(13); | ^ qmail-dk.c:264:26: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | if (dkverify[str_chr(dkverify, 'a'+st)]) die(82); | ^ qmail-dk.c:268:6: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | if (pipe(pim) == -1) die(59); | ^ qmail-dk.c:272:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | close(pim[0]); close(pim[1]); | ^ qmail-dk.c:276:8: warning: call to undeclared function 'fd_move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | if (fd_move(0,pim[0]) == -1) die(120); | ^ qmail-dk.c:277:8: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | if (chdir(auto_qmail) == -1) die(61); | ^ qmail-dk.c:278:4: warning: call to undeclared function 'execv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | execv(*binqqargs,binqqargs); | ^ qmail-dk.c:282:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 282 | close(pim[0]); | ^ qmail-dk.c:284:16: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | substdio_fdbuf(&ssin,read,readfd,inbuf,sizeof(inbuf)); | ^ qmail-dk.c:285:16: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | substdio_fdbuf(&ssout,write,pim[1],outbuf,sizeof(outbuf)); | ^ qmail-dk.c:287:19: warning: passing arguments to 'substdio_bput' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | if (substdio_bput(&ssout,dkoutput.s,dkoutput.len) == -1) die_write(); | ^ qmail-dk.c:288:22: warning: passing arguments to 'substdio_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | switch(substdio_copy(&ssout,&ssin)) | ^ qmail-dk.c:294:20: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | if (substdio_flush(&ssout) == -1) die_write(); | ^ qmail-dk.c:297:14: warning: passing arguments to 'wait_pid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | if (wait_pid(&wstat,pid) != pid) | ^ 70 warnings generated. --- sig.a --- ./makelib sig.a sig_alarm.o sig_block.o sig_catch.o sig_pause.o sig_pipe.o sig_child.o sig_hup.o sig_term.o sig_bug.o sig_misc.o --- auto_qmail.o --- ./compile auto_qmail.c --- auto_uids.o --- ./compile auto_uids.c --- qmail-dk --- ./load qmail-dk triggerpull.o fmtqfn.o now.o date822fmt.o datetime.a seek.a ndelay.a open.a sig.a substdio.a error.a fs.a auto_qmail.o auto_split.o auto_uids.o fd.a wait.a /usr/local/lib/libdomainkeys.a -L/usr/lib -lcrypto env.a control.o open.a getln.a stralloc.a alloc.a scan_ulong.o str.a `cat dns.lib` `qmail-dk.8' is up to date. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> qmail-dk-0.54_3 depends on file: /var/qmail/bin/qmail-send - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for qmail-dk-0.54_3 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/mail/qmail-dk/work/qmail-1.03/qmail-dk /wrkdirs/usr/ports/mail/qmail-dk/work/stage/var/qmail/bin install -m 444 /wrkdirs/usr/ports/mail/qmail-dk/work/qmail-1.03/qmail-dk.8 /wrkdirs/usr/ports/mail/qmail-dk/work/stage/var/qmail/share/man/man8 ====> 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-01-21T18:56:04+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=f92880d3e582' '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 qmail-dk-0.54_3 ===> Building qmail-dk-0.54_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for qmail-dk-0.54_3 build of mail/qmail-dk | qmail-dk-0.54_3 ended at Wed Jan 21 13:57:23 EST 2026 build time: 00:01:26