=>> Building mail/mess822 build started at Wed Mar 11 19:34:18 EDT 2026 port directory: /usr/ports/mail/mess822 package name: mess822-0.58_4 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 797 Oct 16 2024 /usr/ports/mail/mess822/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: 74b8645f51e9 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 02 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/mess822/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/mess822/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/mess822/work/.cache HOME=/wrkdirs/usr/ports/mail/mess822/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/mess822/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/mess822/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/mess822/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/mess822/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/mess822/work/.cache HOME=/wrkdirs/usr/ports/mail/mess822/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/mess822/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/mess822/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mess822" EXAMPLESDIR="share/examples/mess822" DATADIR="share/mess822" WWWDIR="www/mess822" ETCDIR="etc/mess822" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mess822 DOCSDIR=/usr/local/share/doc/mess822 EXAMPLESDIR=/usr/local/share/examples/mess822 WWWDIR=/usr/local/www/mess822 ETCDIR=/usr/local/etc/mess822 --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 mess822 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 ===> mess822-0.58_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> mess822-0.58_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mess822-0.58_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mess822 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 mess822-0.58_4 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mess822 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 mess822-0.58_4 for building => SHA256 Checksum OK for mess822-0.58.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mess822 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 mess822-0.58_4 for building ===> Extracting for mess822-0.58_4 => SHA256 Checksum OK for mess822-0.58.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for mess822-0.58_4 ===> Applying FreeBSD patches for mess822-0.58_4 from /usr/ports/mail/mess822/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mess822-0.58_4 depends on executable: groff - not found ===> Installing existing package /packages/All/groff-1.24.0.pkg [pkg.DaveG.ca] Installing groff-1.24.0... [pkg.DaveG.ca] `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Installing libiconv-1.18_1... [pkg.DaveG.ca] `-- Extracting libiconv-1.18_1: .......... done [pkg.DaveG.ca] `-- Installing perl5-5.42.0_1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.0_1: .......... done [pkg.DaveG.ca] `-- Installing psutils-1.17_6... [pkg.DaveG.ca] | `-- Installing libpaper-1.1.28_1... [pkg.DaveG.ca] | `-- Extracting libpaper-1.1.28_1: .......... done [pkg.DaveG.ca] `-- Extracting psutils-1.17_6: .......... done [pkg.DaveG.ca] `-- Installing uchardet-0.0.8_1... [pkg.DaveG.ca] `-- Extracting uchardet-0.0.8_1: .......... done [pkg.DaveG.ca] Extracting groff-1.24.0: .......... done ===== Message from groff-1.24.0: -- In order to be able to use the html driver, you need to install the following packages: - ghostscript - netpbm ===> mess822-0.58_4 depends on executable: groff - found ===> Returning to build of mess822-0.58_4 ===> mess822-0.58_4 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. ===> mess822-0.58_4 depends on file: /usr/local/bin/ccache - found ===> Returning to build of mess822-0.58_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for mess822-0.58_4 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for mess822-0.58_4 --- auto-ccld.sh --- --- rts --- --- iftocc.0 --- --- ofmipd.0 --- --- ofmipname.0 --- --- new-inject.0 --- --- rewriting.0 --- --- rewritehost.0 --- --- 822header.0 --- --- 822field.0 --- --- 822date.0 --- --- 822received.0 --- --- 822print.0 --- --- mess822.0 --- --- mess822_addr.0 --- --- mess822_date.0 --- --- mess822_fold.0 --- --- mess822_quote.0 --- --- mess822_token.0 --- --- mess822_when.0 --- --- auto-ccld.sh --- ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\' ) > auto-ccld.sh --- rts --- cat warn-auto.sh rts.sh | sed s}HOME}"`head -1 conf-home`"}g > rts --- iftocc.0 --- nroff -man iftocc.1 > iftocc.0 --- ofmipd.0 --- nroff -man ofmipd.8 > ofmipd.0 --- ofmipname.0 --- nroff -man ofmipname.8 > ofmipname.0 --- new-inject.0 --- nroff -man new-inject.1 > new-inject.0 --- rewriting.0 --- nroff -man rewriting.5 > rewriting.0 --- rewritehost.0 --- nroff -man rewritehost.3 > rewritehost.0 --- 822header.0 --- nroff -man 822header.1 > 822header.0 --- 822field.0 --- nroff -man 822field.1 > 822field.0 --- 822date.0 --- nroff -man 822date.1 > 822date.0 --- 822received.0 --- nroff -man 822received.1 > 822received.0 --- 822print.0 --- nroff -man 822print.1 > 822print.0 --- mess822.0 --- nroff -man mess822.3 > mess822.0 --- mess822_addr.0 --- nroff -man mess822_addr.3 > mess822_addr.0 --- mess822_date.0 --- nroff -man mess822_date.3 > mess822_date.0 --- mess822_quote.0 --- nroff -man mess822_quote.3 > mess822_quote.0 --- mess822_when.0 --- nroff -man mess822_when.3 > mess822_when.0 --- mess822_token.0 --- nroff -man mess822_token.3 > mess822_token.0 --- mess822_fold.0 --- nroff -man mess822_fold.3 > mess822_fold.0 --- rts --- chmod 755 rts --- find-systype --- --- make-compile --- --- make-load --- --- make-makelib --- --- find-systype --- cat auto-ccld.sh find-systype.sh > find-systype --- make-compile --- cat auto-ccld.sh make-compile.sh > make-compile --- make-makelib --- cat auto-ccld.sh make-makelib.sh > make-makelib --- make-load --- cat auto-ccld.sh make-load.sh > make-load --- make-compile --- chmod 755 make-compile --- find-systype --- chmod 755 find-systype --- make-makelib --- chmod 755 make-makelib --- make-load --- chmod 755 make-load --- systype --- ./find-systype > systype --- compile --- --- load --- --- makelib --- --- compile --- ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > compile --- load --- ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load --- makelib --- ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > makelib --- load --- chmod 755 load --- makelib --- chmod 755 makelib --- compile --- chmod 755 compile --- 822field.o --- --- 822header.o --- --- addrlist.o --- --- alloc.o --- --- alloc_re.o --- --- auto-str.o --- --- byte_chr.o --- --- byte_copy.o --- --- byte_cr.o --- --- byte_rchr.o --- --- caldate_fmjd.o --- --- caldate_fmt.o --- --- caldate_mjd.o --- --- caldate_scan.o --- --- caltime_fmt.o --- --- caltime_scan.o --- --- case_diffb.o --- --- case_diffs.o --- --- commands.o --- --- config.o --- --- constmap.o --- --- env.o --- --- error.o --- --- error_str.o --- --- fd_copy.o --- --- fd_move.o --- --- fork.h --- --- getln.o --- --- getln2.o --- --- hassgact.h --- --- haswaitp.h --- --- iftocc.o --- --- leapsecs_init.o --- --- mess822_addr.o --- --- mess822_date.o --- --- mess822_fold.o --- --- mess822_line.o --- --- mess822_ok.o --- --- mess822_quote.o --- --- mess822_token.o --- --- mess822_when.o --- --- open_read.o --- --- open_trunc.o --- --- quote.o --- --- rewritehost.o --- --- rwhconfig.o --- --- scan_long.o --- --- scan_sign.o --- --- scan_ulong.o --- --- seek_set.o --- --- select.h --- --- sgetopt.o --- --- sig_pipe.o --- --- str_chr.o --- --- str_diff.o --- --- str_diffn.o --- --- str_len.o --- --- str_rchr.o --- --- str_start.o --- --- stralloc_cat.o --- --- stralloc_catb.o --- --- stralloc_cats.o --- --- stralloc_copy.o --- --- stralloc_eady.o --- --- str_rchr.o --- ./compile str_rchr.c str_rchr.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int str_rchr(s,c) | ^ In file included from str_rchr.c:1: ./str.h:9:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern unsigned int str_rchr(); | ^ 2 warnings generated. --- str_len.o --- ./compile str_len.c str_len.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int str_len(s) | ^ In file included from str_len.c:1: ./str.h:7:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern unsigned int str_len(); | ^ 2 warnings generated. --- str_diff.o --- ./compile str_diff.c str_diff.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int str_diff(s,t) | ^ In file included from str_diff.c:1: ./str.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern int str_diff(); | ^ 2 warnings generated. --- str_chr.o --- ./compile str_chr.c str_chr.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int str_chr(s,c) | ^ In file included from str_chr.c:1: ./str.h:8:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern unsigned int str_chr(); | ^ 2 warnings generated. --- sig_pipe.o --- ./compile sig_pipe.c sig_pipe.c:4:34: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | void sig_pipeignore() { sig_catch(SIGPIPE,SIG_IGN); } | ^ sig_pipe.c:5:35: warning: passing arguments to 'sig_catch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | void sig_pipedefault() { sig_catch(SIGPIPE,SIG_DFL); } | ^ 2 warnings generated. --- sgetopt.o --- ./compile sgetopt.c sgetopt.c:41:16: warning: passing arguments to 'subgetopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | c = subgetopt(argc,argv,opts); | ^ sgetopt.c:45:20: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | substdio_puts(subfderr,optprogname); | ^ sgetopt.c:47:22: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | substdio_puts(subfderr,": illegal option -- "); | ^ sgetopt.c:49:22: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | substdio_puts(subfderr,": option requires an argument -- "); | ^ sgetopt.c:50:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | substdio_put(subfderr,chp,2); | ^ sgetopt.c:51:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | substdio_flush(subfderr); | ^ sgetopt.c:28:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | int getopt(argc,argv,opts) | ^ sgetopt.c:19:16: note: expanded from macro 'getopt' 19 | #define getopt sgetoptmine | ^ In file included from sgetopt.c:15: ./sgetopt.h:17:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern int sgetoptmine(); | ^ 8 warnings generated. --- select.h --- ( ./compile trysysel.c >/dev/null 2>&1 && cat select.h2 || cat select.h1 ) > select.h rm -f trysysel.o trysysel --- 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. --- 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. --- leapsecs_init.o --- ./compile leapsecs_init.c --- fd_move.o --- ./compile fd_move.c fd_move.c:8:14: warning: passing arguments to 'fd_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | if (fd_copy(to,from) == -1) return -1; | ^ fd_move.c:9:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | close(from); | ^ fd_move.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int fd_move(to,from) | ^ In file included from fd_move.c:1: ./fd.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern int fd_move(); | ^ 4 warnings generated. --- fd_copy.o --- ./compile fd_copy.c fd_copy.c:10:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | close(to); | ^ fd_copy.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int fd_copy(to,from) | ^ In file included from fd_copy.c:2: ./fd.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int fd_copy(); | ^ 3 warnings generated. --- error_str.o --- ./compile error_str.c error_str.c:6:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | char *error_str(i) | ^ In file included from error_str.c:2: ./error.h:20:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern char *error_str(); | ^ 2 warnings generated. --- error.o --- ./compile error.c --- constmap.o --- ./compile constmap.c constmap.c:5:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | static constmap_hash hash(s,len) | ^ constmap.c:33:24: warning: passing arguments to 'case_diffb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | if (!case_diffb(cm->input[pos],len,s)) | ^ constmap.c:21:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | char *constmap(cm,s,len) | ^ In file included from constmap.c:1: ./constmap.h:18:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern char *constmap(); | ^ constmap.c:59:28: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | cm->first = (int *) alloc(sizeof(int) * h); | ^ constmap.c:61:32: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | cm->input = (char **) alloc(sizeof(char *) * cm->num); | ^ constmap.c:63:35: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | cm->inputlen = (int *) alloc(sizeof(int) * cm->num); | ^ constmap.c:65:43: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | cm->hash = (constmap_hash *) alloc(sizeof(constmap_hash) * cm->num); | ^ constmap.c:67:28: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | cm->next = (int *) alloc(sizeof(int) * cm->num); | ^ constmap.c:95:14: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | alloc_free(cm->hash); | ^ constmap.c:97:19: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | alloc_free(cm->inputlen); | ^ constmap.c:99:17: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | alloc_free(cm->input); | ^ constmap.c:101:15: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | alloc_free(cm->first); | ^ constmap.c:40:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | int constmap_init(cm,s,len,flagcolon) | ^ In file included from constmap.c:1: ./constmap.h:16:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern int constmap_init(); | ^ constmap.c:109:13: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | alloc_free(cm->next); | ^ constmap.c:110:13: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | alloc_free(cm->hash); | ^ constmap.c:111:13: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | alloc_free(cm->inputlen); | ^ constmap.c:112:13: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | alloc_free(cm->input); | ^ constmap.c:113:13: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | alloc_free(cm->first); | ^ constmap.c:106:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | void constmap_free(cm) | ^ In file included from constmap.c:1: ./constmap.h:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern void constmap_free(); | ^ 22 warnings generated. --- case_diffs.o --- ./compile case_diffs.c case_diffs.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int case_diffs(s,t) | ^ In file included from case_diffs.c:1: ./case.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 case_diffs(); | ^ 2 warnings generated. --- str_diffn.o --- ./compile str_diffn.c 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. --- case_diffb.o --- ./compile case_diffb.c case_diffb.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int case_diffb(s,len,t) | ^ In file included from case_diffb.c:1: ./case.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern int case_diffb(); | ^ 2 warnings generated. --- byte_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_cr.o --- ./compile byte_cr.c byte_cr.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void byte_copyr(to,n,from) | ^ In file included from byte_cr.c:1: ./byte.h:7:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern void byte_copyr(); | ^ 2 warnings generated. --- byte_copy.o --- ./compile byte_copy.c byte_copy.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void byte_copy(to,n,from) | ^ In file included from byte_copy.c:1: ./byte.h:6:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern void byte_copy(); | ^ 2 warnings generated. --- byte_chr.o --- ./compile byte_chr.c byte_chr.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int byte_chr(s,n,c) | ^ In file included from byte_chr.c:1: ./byte.h:4:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern unsigned int byte_chr(); | ^ 2 warnings generated. --- auto-str.o --- ./compile auto-str.c auto-str.c:11:20: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | if (substdio_puts(&ss1,s) == -1) _exit(111); | ^ auto-str.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void puts(s) | ^ auto-str.c:14:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 14 | void main(argc,argv) | ^ auto-str.c:14:1: note: change return type to 'int' 14 | void main(argc,argv) | ^~~~ | int auto-str.c:32:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 32 | while (ch = *value++) { | ~~~^~~~~~~~~~ auto-str.c:32:13: note: place parentheses around the assignment to silence this warning 32 | while (ch = *value++) { | ^ | ( ) auto-str.c:32:13: note: use '==' to turn this assignment into an equality comparison 32 | while (ch = *value++) { | ^ | == auto-str.c:42:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | if (substdio_flush(&ss1) == -1) _exit(111); | ^ auto-str.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | void main(argc,argv) | ^ 6 warnings generated. --- alloc_re.o --- ./compile alloc_re.c alloc_re.c:11:12: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | y = alloc(n); | ^ alloc_re.c:13:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | byte_copy(y,m,*x); | ^ alloc_re.c:14:13: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | alloc_free(*x); | ^ alloc_re.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int alloc_re(x,m,n) | ^ In file included from alloc_re.c:1: ./alloc.h:6:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern int alloc_re(); | ^ 5 warnings generated. --- 822field.o --- ./compile 822field.c --- 822header.o --- ./compile 822header.c --- addrlist.o --- ./compile addrlist.c --- alloc.o --- ./compile alloc.c --- mess822_token.o --- ./compile mess822_token.c --- mess822_when.o --- ./compile mess822_when.c --- stralloc_cats.o --- ./compile stralloc_cats.c --- scan_long.o --- ./compile scan_long.c --- quote.o --- ./compile quote.c --- rewritehost.o --- ./compile rewritehost.c --- caldate_fmjd.o --- ./compile caldate_fmjd.c --- caldate_fmt.o --- ./compile caldate_fmt.c --- caldate_mjd.o --- ./compile caldate_mjd.c --- caldate_scan.o --- ./compile caldate_scan.c --- caltime_fmt.o --- ./compile caltime_fmt.c --- caltime_scan.o --- ./compile caltime_scan.c --- rwhconfig.o --- ./compile rwhconfig.c --- scan_sign.o --- ./compile scan_sign.c --- commands.o --- ./compile commands.c --- config.o --- ./compile config.c --- scan_ulong.o --- ./compile scan_ulong.c --- env.o --- ./compile env.c --- stralloc_copy.o --- ./compile stralloc_copy.c --- str_start.o --- ./compile str_start.c --- stralloc_cat.o --- ./compile stralloc_cat.c --- fork.h --- ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null 2>&1 && cat fork.h2 || cat fork.h1 ) > fork.h --- getln.o --- ./compile getln.c --- getln2.o --- ./compile getln2.c --- hassgact.h --- ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null 2>&1 && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h --- haswaitp.h --- ( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null 2>&1 && echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h --- iftocc.o --- ./compile iftocc.c --- stralloc_catb.o --- ./compile stralloc_catb.c --- mess822_addr.o --- ./compile mess822_addr.c --- mess822_date.o --- ./compile mess822_date.c --- mess822_fold.o --- ./compile mess822_fold.c --- mess822_line.o --- ./compile mess822_line.c --- mess822_ok.o --- ./compile mess822_ok.c --- mess822_quote.o --- ./compile mess822_quote.c --- stralloc_num.o --- --- stralloc_opyb.o --- --- stralloc_opys.o --- --- stralloc_pend.o --- --- strerr_die.o --- --- strerr_sys.o --- --- subfderr.o --- --- subfdin.o --- --- subfdins.o --- --- subfdout.o --- --- subfdouts.o --- --- subgetopt.o --- --- substdi.o --- --- substdio.o --- --- substdio_copy.o --- --- substdo.o --- --- tokenize.o --- --- uint32.h --- --- uint64.h --- --- timeoutread.o --- --- timeoutwrite.o --- --- seek.a --- --- open.a --- --- fd.a --- --- error.a --- --- 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. --- substdi.o --- ./compile substdi.c substdi.c:14:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | r = op(fd,buf,len); | ^ substdi.c:5:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | static int oneread(op,fd,buf,len) | ^ substdi.c:31:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | byte_copy(buf,r,s->x + s->n); | ^ substdi.c:20:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | static int getthis(s,buf,len) | ^ substdi.c:49:48: warning: passing arguments to 'byte_copyr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (q > 0) /* damn, gotta shift */ byte_copyr(s->x + q,r,s->x); | ^ substdi.c:36:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | int substdio_feed(s) | ^ In file included from substdi.c:1: ./substdio.h:26:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | extern int substdio_feed(); | ^ substdi.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int substdio_bget(s,buf,len) | ^ In file included from substdi.c:1: ./substdio.h:25:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | extern int substdio_bget(); | ^ substdi.c:66:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | int substdio_get(s,buf,len) | ^ In file included from substdi.c:1: ./substdio.h:24:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | extern int substdio_get(); | ^ substdi.c:79:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | char *substdio_peek(s) | ^ In file included from substdi.c:1: ./substdio.h:28:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | extern char *substdio_peek(); | ^ substdi.c:85:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | void substdio_seek(s,len) | ^ In file included from substdi.c:1: ./substdio.h:29:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | extern void substdio_seek(); | ^ 15 warnings generated. --- subgetopt.o --- ./compile subgetopt.c subgetopt.c:28:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | int sgopt(argc,argv,opts) | ^ subgetopt.c:15:15: note: expanded from macro 'sgopt' 15 | #define sgopt subgetopt | ^ In file included from subgetopt.c:13: ./subgetopt.h:16:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern int subgetopt(); | ^ 2 warnings generated. --- 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 --- strerr_sys.o --- ./compile strerr_sys.c strerr_sys.c:9:27: warning: passing arguments to 'error_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | strerr_sys.x = error_str(errno); | ^ 1 warning generated. --- strerr_die.o --- ./compile strerr_die.c strerr_die.c:12:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | if (x1) substdio_puts(subfderr,x1); | ^ strerr_die.c:13:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | if (x2) substdio_puts(subfderr,x2); | ^ strerr_die.c:14:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | if (x3) substdio_puts(subfderr,x3); | ^ strerr_die.c:15:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | if (x4) substdio_puts(subfderr,x4); | ^ strerr_die.c:16:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | if (x5) substdio_puts(subfderr,x5); | ^ strerr_die.c:17:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if (x6) substdio_puts(subfderr,x6); | ^ strerr_die.c:20:29: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | if (se->x) substdio_puts(subfderr,se->x); | ^ strerr_die.c:21:29: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | if (se->y) substdio_puts(subfderr,se->y); | ^ strerr_die.c:22:29: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | if (se->z) substdio_puts(subfderr,se->z); | ^ strerr_die.c:26:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | substdio_puts(subfderr,"\n"); | ^ strerr_die.c:27:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | substdio_flush(subfderr); | ^ strerr_die.c:6:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void strerr_warn(x1,x2,x3,x4,x5,x6,se) | ^ In file included from strerr_die.c:4: ./strerr.h:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern void strerr_warn(); | ^ strerr_die.c:30:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | void strerr_die(e,x1,x2,x3,x4,x5,x6,se) | ^ In file included from strerr_die.c:4: ./strerr.h:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern void strerr_die(); | ^ 15 warnings generated. --- stralloc_pend.o --- ./compile stralloc_pend.c stralloc_pend.c:5:1: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_append(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus,stralloc_append) | ^ ./gen_allocdefs.h:32:16: note: expanded from macro 'GEN_ALLOC_append' 32 | { if (!ta_rplus(x,1)) return 0; x->field[x->len++] = *i; return 1; } | ^ stralloc_pend.c:5:68: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_append(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus,stralloc_append) | ^ In file included from stralloc_pend.c:2: ./stralloc.h:16:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern int stralloc_append(); /* beware: this takes a pointer to 1 char */ | ^ 3 warnings generated. --- stralloc_copy.o --- 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. --- 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. --- mess822_fold.o --- mess822_fold.c:14:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | if (!stralloc_copys(out,prefix)) return 0; | ^ mess822_fold.c:22: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] 22 | if (!stralloc_cats(out,"\n")) return 0; | ^ mess822_fold.c:23:20: 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] 23 | if (!stralloc_catb(out,in->s + i,j - i)) return 0; | ^ mess822_fold.c:27:20: 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] 27 | if (!stralloc_catb(out,in->s + k,j - k)) return 0; | ^ mess822_fold.c:33:23: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | if (!stralloc_append(out,"\n")) return 0; | ^ mess822_fold.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 mess822_fold(out,in,prefix,linelen) | ^ In file included from mess822_fold.c:1: ./mess822.h:31:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | extern int mess822_fold(); | ^ 7 warnings generated. --- getln.o --- 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. --- alloc.o --- alloc.c:3:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 3 | extern char *malloc(); | ^ alloc.c:3:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' alloc.c:20:13: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | x = malloc(n); | ^ alloc.c:14:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | /*@null@*//*@out@*/char *alloc(n) | ^ In file included from alloc.c:1: ./alloc.h:4:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern /*@null@*//*@out@*/char *alloc(); | ^ alloc.c:25:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | void alloc_free(x) | ^ In file included from alloc.c:1: ./alloc.h:5:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern void alloc_free(); | ^ 6 warnings generated. --- 822header.o --- 822header.c:13:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 13 | void main(argc,argv) | ^ 822header.c:13:1: note: change return type to 'int' 13 | void main(argc,argv) | ^~~~ | int 822header.c:18:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | if (getln(subfdinsmall,&line,&match,'\n') == -1) | ^ 822header.c:19:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ 822header.c:20:20: warning: passing arguments to 'mess822_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | if (!mess822_ok(&line)) break; | ^ 822header.c:21:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | substdio_put(subfdoutsmall,line.s,line.len); | ^ 822header.c:25:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | substdio_flush(subfdoutsmall); | ^ 822header.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 main(argc,argv) | ^ 7 warnings generated. --- uint32.h --- ( ( ./compile tryulong32.c && ./load tryulong32 && ./tryulong32 ) >/dev/null 2>&1 && cat uint32.h2 || cat uint32.h1 ) > uint32.h --- uint64.h --- ( ( ./compile tryulong64.c && ./load tryulong64 && ./tryulong64 ) >/dev/null 2>&1 && cat uint64.h1 || cat uint64.h2 ) > uint64.h --- caltime_fmt.o --- caltime_fmt.c:11:23: warning: passing arguments to 'caldate_fmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | result = caldate_fmt(s,&ct->date); | ^ caltime_fmt.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 | unsigned int caltime_fmt(s,ct) | ^ In file included from caltime_fmt.c:2: ./caltime.h:17: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] 17 | extern unsigned int caltime_fmt(); | ^ 3 warnings generated. --- open.a --- ./makelib open.a open_read.o open_trunc.o --- stralloc_eady.o --- ./compile stralloc_eady.c --- seek.a --- ./makelib seek.a seek_set.o --- timeoutread.o --- ./compile timeoutread.c --- timeoutwrite.o --- ./compile timeoutwrite.c --- stralloc_num.o --- ./compile stralloc_num.c --- stralloc_opyb.o --- ./compile stralloc_opyb.c --- stralloc_opys.o --- ./compile stralloc_opys.c --- substdio.o --- ./compile substdio.c --- tokenize.o --- ./compile tokenize.c --- case.a --- --- getopt.a --- --- strerr.a --- --- str.a --- --- alloc.a --- --- error.a --- ./makelib error.a error.o error_str.o --- fd.a --- ./makelib fd.a fd_copy.o fd_move.o --- timeoutwrite.o --- In file included from timeoutwrite.c:2: ./select.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 7 | extern int select(); | ^ /usr/include/sys/select.h:103:5: note: conflicting prototype is here 103 | int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | ^ timeoutwrite.c:18:39: warning: passing arguments to 'write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | if (FD_ISSET(fd,&wfds)) return write(fd,buf,len); | ^ timeoutwrite.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int timeoutwrite(t,fd,buf,len) int t; int fd; char *buf; int len; | ^ In file included from timeoutwrite.c:1: ./timeoutwrite.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int timeoutwrite(); | ^ 4 warnings generated. --- timeoutread.o --- In file included from timeoutread.c:2: ./select.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 7 | extern int select(); | ^ /usr/include/sys/select.h:103:5: note: conflicting prototype is here 103 | int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | ^ timeoutread.c:18:38: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | if (FD_ISSET(fd,&rfds)) return read(fd,buf,len); | ^ timeoutread.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int timeoutread(t,fd,buf,len) int t; int fd; char *buf; int len; | ^ In file included from timeoutread.c:1: ./timeoutread.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int timeoutread(); | ^ 4 warnings generated. --- substdio.o --- 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. --- stralloc_eady.o --- 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. --- mess822_line.o --- mess822_line.c:10:38: 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] 10 | if (a->value) if (!stralloc_copys(a->value,"")) return 0; | ^ mess822_line.c:11:37: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | if (a->copy) if (!stralloc_copys(a->copy,"")) return 0; | ^ mess822_line.c:13:37: 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] 13 | if (a->addr) if (!stralloc_copys(a->addr,"")) return 0; | ^ mess822_line.c:20: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] 20 | return stralloc_copys(&h->inprogress,""); | ^ mess822_line.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 mess822_begin(h,a) | ^ In file included from mess822_line.c:1: ./mess822.h:38: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] 38 | extern int mess822_begin(); | ^ mess822_line.c:44:10: warning: call to undeclared function 'case_diffb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | if (!case_diffb(h->inprogress.s,pos,a->name)) | ^ mess822_line.c:62:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | if (!stralloc_cat(a->copy,&h->inprogress)) return 0; | ^ mess822_line.c:73:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if (!stralloc_0(&h->inprogress)) return 0; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ mess822_line.c:76:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 76 | for (i = 0;ch = h->inprogress.s[i];++i) { | ~~~^~~~~~~~~~~~~~~~~~~~ mess822_line.c:76:19: note: place parentheses around the assignment to silence this warning 76 | for (i = 0;ch = h->inprogress.s[i];++i) { | ^ | ( ) mess822_line.c:76:19: note: use '==' to turn this assignment into an equality comparison 76 | for (i = 0;ch = h->inprogress.s[i];++i) { | ^ | == mess822_line.c:78:27: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | if (!stralloc_append(a->value,&ch)) return 0; | ^ mess822_line.c:80:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | if (!stralloc_append(a->value,"\n")) return 0; | ^ mess822_line.c:86:26: warning: passing arguments to 'mess822_addrlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if (!mess822_addrlist(&addrlist,h->inprogress.s)) return 0; | ^ mess822_line.c:87:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | if (!stralloc_cat(a->addr,&addrlist)) return 0; | ^ mess822_line.c:91:22: warning: passing arguments to 'mess822_when' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | if (!mess822_when(a->when,h->inprogress.s)) return 0; | ^ mess822_line.c:25:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | int mess822_end(h) | ^ In file included from mess822_line.c:1: ./mess822.h:40: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] 40 | extern int mess822_end(); | ^ mess822_line.c:103:24: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | return stralloc_cat(&h->inprogress,s); | ^ mess822_line.c:105:23: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | return stralloc_copy(&h->inprogress,s); | ^ mess822_line.c:97:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | int mess822_line(h,s) | ^ In file included from mess822_line.c:1: ./mess822.h:39: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] 39 | extern int mess822_line(); | ^ 21 warnings generated. --- getln2.o --- 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. --- config.o --- config.c:16:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | if (!stralloc_copys(&c->sa,s)) return -1; | ^ config.c:10:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | int config_default(c,s) | ^ In file included from config.c:7: ./config.h:16:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern int config_default(); | ^ config.c:27:21: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if (!stralloc_copy(&c->sa,&d->sa)) return -1; --- strerr.a --- ./makelib strerr.a strerr_sys.o strerr_die.o --- str.a --- ./makelib str.a str_len.o str_diff.o str_diffn.o str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o byte_copy.o byte_cr.o --- getopt.a --- ./makelib getopt.a subgetopt.o sgetopt.o --- case.a --- ./makelib case.a case_diffb.o case_diffs.o --- substdio.a --- --- getln.a --- --- fork.h --- rm -f tryvfork.o tryvfork --- config.o --- | ^ config.c:21:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | int config_copy(c,d) | ^ In file included from config.c:7: ./config.h:17:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern int config_copy(); | ^ config.c:37:14: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | s = env_get(s); | ^ config.c:39:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | if (!stralloc_copys(&c->sa,s)) return -1; | ^ --- stralloc_opys.o --- 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] --- alloc.a --- ./makelib alloc.a alloc.o alloc_re.o --- qmail.o --- --- config.o --- config.c:32:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | int config_env(c,s) | ^ In file included from config.c:7: ./config.h:18:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern int config_env(); | ^ config.c:44:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | static void process(sa) | ^ config.c:74:17: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | fd = open_read(fn); | ^ --- substdio.a --- ./makelib substdio.a substdio.o substdi.o substdo.o subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o substdio_copy.o --- stralloc_opys.o --- 12 | extern int stralloc_copys(); | ^ 4 warnings generated. --- config.o --- config.c:79:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | substdio_fdbuf(&ss,read,fd,inbuf,sizeof inbuf); | ^ config.c:81:12: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | if (getln(&ss,&line,&match,'\n') == -1) { | ^ config.c:82:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | close(fd); | ^ config.c:85:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | close(fd); | ^ config.c:88:21: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | if (!stralloc_copy(&c->sa,&line)) return -1; | ^ config.c:64:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | int config_readline(c,fn) | ^ In file included from config.c:7: ./config.h:19:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | extern int config_readline(); | ^ config.c:103:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | if (!stralloc_copys(&c->sa,"")) return -1; | ^ config.c:105:17: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | fd = open_read(fn); | ^ config.c:110:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | substdio_fdbuf(&ss,read,fd,inbuf,sizeof inbuf); | ^ config.c:113:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | if (getln(&ss,&line,&match,'\n') == -1) { close(fd); return -1; } | ^ config.c:113:47: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | if (getln(&ss,&line,&match,'\n') == -1) { close(fd); return -1; } | ^ config.c:115:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | if (!stralloc_0(&line)) { close(fd); return -1; } | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ config.c:115:31: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | if (!stralloc_0(&line)) { close(fd); return -1; } | ^ config.c:118:19: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | if (!stralloc_cat(&c->sa,&line)) { close(fd); return -1; } | ^ config.c:118:37: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | if (!stralloc_cat(&c->sa,&line)) { close(fd); return -1; } | ^ config.c:121:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | close(fd); | ^ config.c:93:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | int config_readfile(c,fn) | ^ In file included from config.c:7: ./config.h:20:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern int config_readfile(); | ^ 31 warnings generated. --- getln.a --- ./makelib getln.a getln.o getln2.o --- qmail.o --- ./compile qmail.c --- scan_ulong.o --- 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. --- env.o --- env.c:11:16: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | len = str_len(s); | ^ env.c:13:18: warning: passing arguments to 'str_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | if (str_start(environ[i],s) && (environ[i][len] == '=')) | ^ env.c:4:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | extern /*@null@*/char *env_get(s) | ^ In file included from env.c:2: ./env.h:6:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern /*@null@*/char *env_get(); --- hassgact.h --- rm -f trysgact.o trysgact --- env.o --- | ^ 4 warnings generated. --- caltime_scan.o --- caltime_scan.c:12:20: warning: passing arguments to 'caldate_scan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | t += caldate_scan(t,&ct->date); | ^ caltime_scan.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 caltime_scan(s,ct) | ^ In file included from caltime_scan.c:1: ./caltime.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 unsigned int caltime_scan(); | ^ 3 warnings generated. --- sig_catch.o --- --- env.a --- --- mess822_addr.o --- mess822_addr.c:27:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if (!stralloc_0(out)) return 0; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ mess822_addr.c:28: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] 28 | if (!stralloc_catb(out,comment.s,i)) return 0; | ^ mess822_addr.c:29:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | if (!stralloc_append(out,"(")) return 0; | ^ --- env.a --- ./makelib env.a env.o --- mess822_addr.o --- mess822_addr.c:11:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | static int docomment(out) | ^ mess822_addr.c:42:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | if (!stralloc_0(out)) return 0; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ mess822_addr.c:44:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | if (!stralloc_append(out,"@")) return 0; | ^ --- sig_catch.o --- ./compile sig_catch.c --- mess822_addr.o --- mess822_addr.c:45: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] 45 | if (!stralloc_catb(out,addr.s,addr.len)) return 0; | ^ mess822_addr.c:46:23: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | if (!stralloc_append(out,"+")) return 0; | ^ mess822_addr.c:35:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | static int doit(out) | ^ mess822_addr.c:68:14: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | i = str_len(tok); | ^ mess822_addr.c:70:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | if (!stralloc_append(&comment,tok + i)) return 0; | ^ mess822_addr.c:55:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | static int addcomment(tok) | ^ mess822_addr.c:88:14: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | i = str_len(tok); | ^ mess822_addr.c:90:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | if (!stralloc_append(&addr,tok + i)) return 0; | ^ mess822_addr.c:75:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | static int addaddr(tok) | ^ mess822_addr.c:105:21: warning: passing arguments to 'mess822_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | if (!mess822_token(&tokens,in)) return 0; | ^ mess822_addr.c:107:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | if (!stralloc_copys(out,"")) return 0; | ^ mess822_addr.c:108:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | if (!stralloc_copys(&comment,"")) return 0; | ^ mess822_addr.c:109:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | if (!stralloc_copys(&addr,"")) return 0; | ^ mess822_addr.c:95:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | int mess822_addrlist(out,in) | ^ In file included from mess822_addr.c:1: ./mess822.h:35: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] 35 | extern int mess822_addrlist(); | ^ 21 warnings generated. --- scan_long.o --- scan_long.c:6:23: warning: passing arguments to 'scan_plusminus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | len = scan_plusminus(s,&sign); s += len; | ^ scan_long.c:7:20: 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] 7 | len += scan_ulong(s,&u); | ^ scan_long.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_long(s,i) register char *s; register long *i; | ^ In file included from scan_long.c:1: ./scan.h:25: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] 25 | extern unsigned int scan_long(); | ^ 4 warnings generated. --- caldate_scan.o --- caldate_scan.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 caldate_scan(s,cd) | ^ In file included from caldate_scan.c:1: ./caldate.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 caldate_scan(); | ^ 2 warnings generated. --- scan_sign.o --- scan_sign.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_plusminus(s,sign) register char *s; register int *sign; | ^ In file included from scan_sign.c:1: ./scan.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 scan_plusminus(); | ^ 2 warnings generated. --- fs.a --- --- auto-str --- ./load auto-str substdio.a error.a str.a --- fs.a --- ./makelib fs.a scan_ulong.o scan_long.o scan_sign.o --- mess822_date.o --- mess822_date.c:14:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | if (!stralloc_copys(out,"")) return 0; | ^ mess822_date.c:18:8: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | if (!stralloc_catint(out,when->ct.date.day)) return 0; | ^ ./stralloc.h:27:49: note: expanded from macro 'stralloc_catint' 27 | #define stralloc_catint(sa,i) (stralloc_catlong0((sa),(long) (i),0)) | ^ mess822_date.c:19:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | if (!stralloc_cats(out," ")) return 0; | ^ mess822_date.c:24:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | if (!stralloc_cats(out,montab[i])) return 0; | ^ mess822_date.c:25:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | if (!stralloc_cats(out," ")) return 0; | ^ mess822_date.c:27:8: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if (!stralloc_catlong(out,when->ct.date.year)) return 0; | ^ ./stralloc.h:24:50: note: expanded from macro 'stralloc_catlong' 24 | #define stralloc_catlong(sa,l) (stralloc_catlong0((sa),(l),0)) | ^ mess822_date.c:28:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | if (!stralloc_cats(out," ")) return 0; | ^ mess822_date.c:30:8: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (!stralloc_catint0(out,when->ct.hour,2)) return 0; | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ mess822_date.c:31:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | if (!stralloc_cats(out,":")) return 0; | ^ mess822_date.c:32:8: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | if (!stralloc_catint0(out,when->ct.minute,2)) return 0; | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ mess822_date.c:33:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | if (!stralloc_cats(out,":")) return 0; | ^ mess822_date.c:34:8: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | if (!stralloc_catint0(out,when->ct.second,2)) return 0; | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ mess822_date.c:37:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | if (!stralloc_cats(out," -0000")) return 0; | ^ mess822_date.c:42:25: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | if (!stralloc_cats(out," -")) return 0; | ^ mess822_date.c:46:25: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | if (!stralloc_cats(out," +")) return 0; | ^ mess822_date.c:48:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (!stralloc_catint0(out,(int) (i / 60),2)) return 0; | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ mess822_date.c:49:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (!stralloc_catint0(out,(int) (i % 60),2)) return 0; | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ mess822_date.c:8:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | int mess822_date(out,when) | ^ In file included from mess822_date.c:1: ./mess822.h:32:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | extern int mess822_date(); | ^ 19 warnings generated. --- iftocc.o --- iftocc.c:14:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ iftocc.c:38:9: warning: passing arguments to 'case_diffs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | if (case_equals(addr,recipient)) _exit(0); | ^ ./case.h:11:38: note: expanded from macro 'case_equals' 11 | #define case_equals(s,t) (!case_diffs((s),(t))) | ^ iftocc.c:42:11: warning: passing arguments to 'case_diffs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | if (case_equals(addr,recips[i])) _exit(0); | ^ ./case.h:11:38: note: expanded from macro 'case_equals' 11 | #define case_equals(s,t) (!case_diffs((s),(t))) | ^ iftocc.c:32:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | void check(addr) | ^ iftocc.c:45:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 45 | void main(argc,argv) | ^ iftocc.c:45:1: note: change return type to 'int' 45 | void main(argc,argv) | ^~~~ | int iftocc.c:52:22: 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] 52 | recipient = env_get("RECIPIENT"); | ^ iftocc.c:56:21: warning: passing arguments to 'mess822_begin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if (!mess822_begin(&h,a)) nomem(); | ^ iftocc.c:59:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | if (getln(subfdinsmall,&line,&match,'\n') == -1) | ^ iftocc.c:60:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ iftocc.c:62:20: warning: passing arguments to 'mess822_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | if (!mess822_ok(&line)) break; | ^ iftocc.c:63:22: warning: passing arguments to 'mess822_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if (!mess822_line(&h,&line)) nomem(); | ^ iftocc.c:67:19: warning: passing arguments to 'mess822_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | if (!mess822_end(&h)) nomem(); | ^ iftocc.c:45:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | void main(argc,argv) | ^ 13 warnings generated. --- mess822_when.o --- mess822_when.c:18:21: warning: passing arguments to 'mess822_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | if (!mess822_token(&tokens,in)) return 0; | ^ mess822_when.c:34:12: warning: call to undeclared function 'str_len'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | pos += str_len(x) + 1; | ^ mess822_when.c:43:33: warning: passing arguments to 'scan_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | flagnumeric = !x[scan_long(x,&number)]; | ^ mess822_when.c:50:9: warning: call to undeclared function 'case_diffs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | if (!case_diffs(x,"Jan")) { ct.date.month = 1; break; } | ^ mess822_when.c:7:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | int mess822_when(out,in) | ^ In file included from mess822_when.c:1: ./mess822.h:36: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] 36 | extern int mess822_when(); | ^ 6 warnings generated. --- commands.o --- commands.c:17: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] 17 | if (!stralloc_copys(&cmd,"")) return -1; | ^ commands.c:20:30: 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] 20 | if (!stralloc_readyplus(&cmd,1)) return -1; | ^ commands.c:21:23: warning: passing arguments to 'substdio_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | i = substdio_get(ss,cmd.s + cmd.len,1); | ^ commands.c:32:16: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | i = str_chr(cmd.s,' '); | ^ commands.c:37:35: warning: passing arguments to 'case_diffs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | for (i = 0;c[i].verb;++i) if (case_equals(c[i].verb,cmd.s)) break; | ^ ./case.h:11:38: note: expanded from macro 'case_equals' 11 | #define case_equals(s,t) (!case_diffs((s),(t))) | ^ commands.c:38:16: 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] 38 | c[i].action(arg); | ^ commands.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 commands(ss,c) | ^ In file included from commands.c:1: ./commands.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 commands(); | ^ 8 warnings generated. --- addrlist.o --- addrlist.c:11:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ addrlist.c:19:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 19 | while (ch = *buf) { | ~~~^~~~~~ addrlist.c:19:13: note: place parentheses around the assignment to silence this warning 19 | while (ch = *buf) { | ^ | ( ) addrlist.c:19:13: note: use '==' to turn this assignment into an equality comparison 19 | while (ch = *buf) { | ^ | == addrlist.c:21:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | substdio_put(subfdout,&ch,1); | ^ addrlist.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 put(buf) | ^ addrlist.c:32:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 32 | void main() | ^ addrlist.c:32:1: note: change return type to 'int' 32 | void main() | ^~~~ | int addrlist.c:38:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | if (getln(subfdin,&line,&match,'\n') == -1) | ^ addrlist.c:39:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ addrlist.c:43: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] 43 | substdio_puts(subfdout,"input {"); | ^ addrlist.c:44:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | substdio_put(subfdout,line.s,line.len); | ^ addrlist.c:45: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] 45 | substdio_puts(subfdout,"}\n"); | ^ addrlist.c:50:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | if (!stralloc_0(&line)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ addrlist.c:52:26: warning: passing arguments to 'mess822_addrlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | if (!mess822_addrlist(&addrlist,line.s)) nomem(); | ^ addrlist.c:57:17: 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] 57 | substdio_puts(subfdout,"comment {"); | ^ addrlist.c:59:17: 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] 59 | substdio_puts(subfdout,"}\n"); | ^ addrlist.c:62:17: 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] 62 | substdio_puts(subfdout,"address {"); | ^ addrlist.c:64:17: 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] 64 | substdio_puts(subfdout,"}\n"); | ^ addrlist.c:69:27: warning: passing arguments to 'mess822_quotelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | if (!mess822_quotelist("ed,&addrlist)) nomem(); | ^ addrlist.c:70: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] 70 | substdio_puts(subfdout,"rewrite {"); | ^ addrlist.c:71:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | substdio_put(subfdout,quoted.s,quoted.len); | ^ addrlist.c:72: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] 72 | substdio_puts(subfdout,"}\n"); | ^ addrlist.c:74: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] 74 | substdio_puts(subfdout,"\n"); | ^ addrlist.c:78:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | substdio_flush(subfdout); | ^ addrlist.c:79:3: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | _exit(0); | ^ addrlist.c:79:3: note: include the header or explicitly provide a declaration for '_exit' 23 warnings generated. --- caldate_fmt.o --- caldate_fmt.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 caldate_fmt(s,cd) | ^ In file included from caldate_fmt.c:1: ./caldate.h:13: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] 13 | extern unsigned int caldate_fmt(); | ^ 2 warnings generated. --- haswaitp.h --- rm -f trywaitp.o trywaitp --- 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. --- wait_pid.o --- --- stralloc_cats.o --- 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. --- wait_pid.o --- ./compile wait_pid.c --- sig.a --- ./makelib sig.a sig_catch.o sig_pipe.o --- quote.o --- quote.c:10:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ quote.c:17:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 17 | void main(argc,argv) | ^ quote.c:17:1: note: change return type to 'int' 17 | void main(argc,argv) | ^~~~ | int quote.c:21:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | if (!stralloc_copys(&addr,"@")) nomem(); | ^ quote.c:24: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] 24 | if (!stralloc_copys(&addr,argv[1])) nomem(); | ^ quote.c:25:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | if (!stralloc_cats(&addr,"@")) nomem(); | ^ quote.c:28:25: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | if (!stralloc_cats(&addr,argv[2])) nomem(); | ^ quote.c:34:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | if (!stralloc_0(&addr)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ quote.c:35:21: warning: passing arguments to 'mess822_quote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | if (!mess822_quote("ed,addr.s,comment)) nomem(); | ^ quote.c:37:23: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | if (!stralloc_append("ed,"\n")) nomem(); | ^ quote.c:39:20: warning: passing arguments to 'substdio_putflush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | substdio_putflush(subfdout,quoted.s,quoted.len); | ^ quote.c:41:3: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | _exit(0); | ^ quote.c:41:3: note: include the header or explicitly provide a declaration for '_exit' quote.c:17:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | void main(argc,argv) | ^ 12 warnings generated. --- stralloc_opyb.o --- 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. --- caldate_fmjd.o --- caldate_fmjd.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void caldate_frommjd(cd,day,pwday,pyday) | ^ In file included from caldate_fmjd.c:1: ./caldate.h:10:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern void caldate_frommjd(); | ^ 2 warnings generated. --- caldate_mjd.o --- caldate_mjd.c:9:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | long caldate_mjd(cd) | ^ In file included from caldate_mjd.c:1: ./caldate.h:11: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] 11 | extern long caldate_mjd(); | ^ 2 warnings generated. --- uint32.h --- rm -f tryulong32.o tryulong32 --- stralloc_catb.o --- 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. --- cdb_hash.o --- --- cdb_seek.o --- --- cdb_unpack.o --- --- cdbmake_add.o --- --- cdbmake_hash.o --- --- cdbmake_pack.o --- --- cdbmss.o --- --- ofmipname.o --- --- mess822_token.o --- mess822_token.c:10:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | if (!stralloc_copys(out,"")) return 0; | ^ mess822_token.c:18:29: 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] 18 | if (!stralloc_append(out,"=")) return 0; | ^ mess822_token.c:23:31: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | if (!stralloc_append(out,&ch)) return 0; | ^ mess822_token.c:25:14: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- cdb_hash.o --- ./compile cdb_hash.c --- cdbmake_add.o --- ./compile cdbmake_add.c --- mess822_token.o --- 25 | if (!stralloc_0(out)) return 0; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ mess822_token.c:29:29: 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] 29 | if (!stralloc_append(out,"=")) return 0; | ^ mess822_token.c:30:29: 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] 30 | if (!stralloc_append(out,"[")) return 0; | ^ mess822_token.c:35:31: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- cdb_unpack.o --- ./compile cdb_unpack.c --- mess822_token.o --- 35 | if (!stralloc_append(out,&ch)) return 0; | ^ mess822_token.c:37:29: 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] 37 | if (!stralloc_append(out,"]")) return 0; | ^ mess822_token.c:38:14: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | if (!stralloc_0(out)) return 0; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ mess822_token.c:42:29: 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] 42 | if (!stralloc_append(out,"(")) return 0; | ^ mess822_token.c:49:33: 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] 49 | if (!stralloc_append(out,")")) return 0; | ^ mess822_token.c:53:37: 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] 53 | if (level) if (!stralloc_append(out,"(")) return 0; | ^ mess822_token.c:58:31: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | if (!stralloc_append(out,&ch)) return 0; | ^ mess822_token.c:60:14: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | if (!stralloc_0(out)) return 0; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ mess822_token.c:66:29: 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] 66 | if (!stralloc_append(out,&ch)) return 0; | ^ mess822_token.c:67:14: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | if (!stralloc_0(out)) return 0; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ mess822_token.c:71:29: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if (!stralloc_append(out,"=")) return 0; | ^ mess822_token.c:75:31: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | if (!stralloc_append(out,&ch)) return 0; | ^ mess822_token.c:93:14: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | if (!stralloc_0(out)) return 0; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ mess822_token.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 mess822_token(out,in) | ^ In file included from mess822_token.c:1: ./mess822.h:34: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] 34 | extern int mess822_token(); | ^ 21 warnings generated. --- cdbmake_hash.o --- ./compile cdbmake_hash.c --- cdb_seek.o --- ./compile cdb_seek.c --- cdbmake_pack.o --- ./compile cdbmake_pack.c --- ofmipname.o --- ./compile ofmipname.c --- cdbmss.o --- ./compile cdbmss.c cdbmss.c:10:15: warning: passing arguments to 'cdbmake_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | cdbmake_init(&c->cdbm); | ^ cdbmss.c:13:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | substdio_fdbuf(&c->ss,write,fd,c->ssbuf,sizeof(c->ssbuf)); | ^ cdbmss.c:14:18: warning: passing arguments to 'seek_set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | return seek_set(fd,(seek_pos) c->pos); | ^ cdbmss.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int cdbmss_start(c,fd) | ^ cdbmss.c:27:15: warning: passing arguments to 'cdbmake_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | cdbmake_pack(c->packbuf,(uint32) keylen); | ^ cdbmss.c:28:15: warning: passing arguments to 'cdbmake_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | cdbmake_pack(c->packbuf + 4,(uint32) datalen); | ^ cdbmss.c:29:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | if (substdio_put(&c->ss,c->packbuf,8) == -1) return -1; | ^ cdbmss.c:30:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (substdio_put(&c->ss,key,keylen) == -1) return -1; | ^ cdbmss.c:31:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | if (substdio_put(&c->ss,data,datalen) == -1) return -1; | ^ cdbmss.c:35:24: warning: passing arguments to 'cdbmake_hashadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | h = cdbmake_hashadd(h,(unsigned int) key[i]); | ^ cdbmss.c:37:19: warning: passing arguments to 'cdbmake_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | if (!cdbmake_add(&c->cdbm,h,c->pos,alloc)) return -1; | ^ cdbmss.c:17:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- cdbmake_hash.o --- cdbmake_hash.c:3:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | uint32 cdbmake_hashadd(h,c) | ^ In file included from cdbmake_hash.c:1: ./cdbmake.h:28:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | extern uint32 cdbmake_hashadd(); | ^ 2 warnings generated. --- cdbmss.o --- 17 | int cdbmss_add(c,key,keylen,data,datalen) | ^ cdbmss.c:50:21: warning: passing arguments to 'cdbmake_split' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | if (!cdbmake_split(&c->cdbm,alloc)) return -1; | ^ cdbmss.c:53:24: warning: passing arguments to 'cdbmake_throw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | len = cdbmake_throw(&c->cdbm,c->pos,i); | ^ cdbmss.c:55:19: warning: passing arguments to 'cdbmake_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | cdbmake_pack(c->packbuf,c->cdbm.hash[u].h); | ^ cdbmss.c:56:19: warning: passing arguments to 'cdbmake_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | cdbmake_pack(c->packbuf + 4,c->cdbm.hash[u].p); | ^ cdbmss.c:57:23: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | if (substdio_put(&c->ss,c->packbuf,8) == -1) return -1; | ^ cdbmss.c:62:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | if (substdio_flush(&c->ss) == -1) return -1; | ^ cdbmss.c:63:7: warning: passing arguments to 'seek_set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if (seek_begin(c->fd) == -1) return -1; | ^ ./seek.h:13:33: note: expanded from macro 'seek_begin' 13 | #define seek_begin(fd) (seek_set((fd),(seek_pos) 0)) | ^ cdbmss.c:64:27: warning: passing arguments to 'substdio_putflush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | return substdio_putflush(&c->ss,c->cdbm.final,sizeof(c->cdbm.final)); | ^ cdbmss.c:43:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | int cdbmss_finish(c) | ^ 21 warnings generated. --- cdb_hash.o --- cdb_hash.c:3:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | uint32 cdb_hash(buf,len) | ^ In file included from cdb_hash.c:1: ./cdb.h:6:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern uint32 cdb_hash(); | ^ 2 warnings generated. --- cdbmake_pack.o --- cdbmake_pack.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void cdbmake_pack(buf,num) | ^ In file included from cdbmake_pack.c:1: ./cdbmake.h:26:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | extern void cdbmake_pack(); | ^ 2 warnings generated. --- cdb_seek.o --- cdb_seek.c:17:11: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | r = read(fd,buf,len); | ^ cdb_seek.c:9:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | int cdb_bread(fd,buf,len) | ^ In file included from cdb_seek.c:3: ./cdb.h:9:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern int cdb_bread(); | ^ cdb_seek.c:27:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | static int match(fd,key,len) | ^ cdb_seek.c:61:15: warning: passing arguments to 'cdb_hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | h = cdb_hash(key,len); | ^ cdb_seek.c:68:19: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | pos = cdb_unpack(packbuf); | ^ cdb_seek.c:69:23: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | lenhash = cdb_unpack(packbuf + 4); | ^ cdb_seek.c:77:23: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | poskd = cdb_unpack(packbuf + 4); | ^ cdb_seek.c:79:19: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if (cdb_unpack(packbuf) == h) { | ^ cdb_seek.c:82:21: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if (cdb_unpack(packbuf) == len) | ^ cdb_seek.c:87:24: warning: passing arguments to 'cdb_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | *dlen = cdb_unpack(packbuf + 4); | ^ cdb_seek.c:47:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | int cdb_seek(fd,key,len,dlen) | ^ In file included from cdb_seek.c:3: ./cdb.h:10:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern int cdb_seek(); | ^ 13 warnings generated. --- cdb_unpack.o --- cdb_unpack.c:3:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | uint32 cdb_unpack(buf) | ^ In file included from cdb_unpack.c:1: ./cdb.h:7:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern uint32 cdb_unpack(); | ^ 2 warnings generated. --- cdb.a --- ./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o --- stralloc_cat.o --- 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. --- 822field.o --- 822field.c:12:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ 822field.c:27:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 27 | void main(argc,argv) | ^ 822field.c:27:1: note: change return type to 'int' 27 | void main(argc,argv) | ^~~~ | int 822field.c:37:21: warning: passing arguments to 'mess822_begin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | if (!mess822_begin(&h,a)) nomem(); | ^ 822field.c:40:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | if (getln(subfdinsmall,&line,&match,'\n') == -1) | ^ 822field.c:41:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ 822field.c:43:20: warning: passing arguments to 'mess822_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | if (!mess822_ok(&line)) break; | ^ 822field.c:44:22: warning: passing arguments to 'mess822_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | if (!mess822_line(&h,&line)) nomem(); | ^ 822field.c:48:19: warning: passing arguments to 'mess822_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (!mess822_end(&h)) nomem(); | ^ 822field.c:50:20: warning: passing arguments to 'substdio_putflush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | substdio_putflush(subfdoutsmall,value.s,value.len); | ^ 822field.c:27:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | void main(argc,argv) | ^ 10 warnings generated. --- auto_qmail.c --- ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c --- auto_qmail.o --- ./compile auto_qmail.c --- rwhconfig.o --- rwhconfig.c:21:22: warning: passing arguments to 'config_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | if (config_readline(&me,"control/me") == -1) | ^ rwhconfig.c:25:24: warning: passing arguments to 'config_readfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | if (config_readfile(rewrite,"control/rewrite") == -1) | ^ rwhconfig.c:29:19: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | if (config_env(&defaulthost,"QMAILDEFAULTHOST") == -1) goto nomem; | ^ rwhconfig.c:30:24: warning: passing arguments to 'config_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (config_readline(&defaulthost,"control/defaulthost") == -1) | ^ rwhconfig.c:32:20: warning: passing arguments to 'config_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | if (config_copy(&defaulthost,&me) == -1) goto nomem; | ^ rwhconfig.c:33:23: warning: passing arguments to 'config_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | if (config_default(&defaulthost,"DEFAULTHOST") == -1) goto nomem; | ^ rwhconfig.c:35:19: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | if (config_env(&defaultdomain,"QMAILDEFAULTDOMAIN") == -1) goto nomem; | ^ rwhconfig.c:36:24: warning: passing arguments to 'config_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | if (config_readline(&defaultdomain,"control/defaultdomain") == -1) | ^ rwhconfig.c:38:20: warning: passing arguments to 'config_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | if (config_copy(&defaultdomain,&me) == -1) goto nomem; | ^ rwhconfig.c:39:23: warning: passing arguments to 'config_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | if (config_default(&defaultdomain,"DEFAULTDOMAIN") == -1) goto nomem; | ^ rwhconfig.c:41:19: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | if (config_env(&plusdomain,"QMAILPLUSDOMAIN") == -1) goto nomem; | ^ rwhconfig.c:42:24: warning: passing arguments to 'config_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | if (config_readline(&plusdomain,"control/plusdomain") == -1) | ^ rwhconfig.c:44:20: warning: passing arguments to 'config_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | if (config_copy(&plusdomain,&me) == -1) goto nomem; | ^ rwhconfig.c:45:23: warning: passing arguments to 'config_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | if (config_default(&plusdomain,"PLUSDOMAIN") == -1) goto nomem; | ^ rwhconfig.c:47: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] 47 | if (!stralloc_copys(config_data(rewrite),"*.:")) goto nomem; | ^ rwhconfig.c:48:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (!stralloc_0(config_data(rewrite))) goto nomem; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ rwhconfig.c:49:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (!stralloc_cats(config_data(rewrite),"=:")) goto nomem; | ^ rwhconfig.c:50:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | if (!stralloc_cat(config_data(rewrite),config_data(&defaulthost))) goto nomem; | ^ rwhconfig.c:51:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | if (!stralloc_0(config_data(rewrite))) goto nomem; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ rwhconfig.c:52:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | if (!stralloc_cats(config_data(rewrite),"*+:.")) goto nomem; | ^ rwhconfig.c:53:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if (!stralloc_cat(config_data(rewrite),config_data(&plusdomain))) goto nomem; | ^ rwhconfig.c:54:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | if (!stralloc_0(config_data(rewrite))) goto nomem; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ rwhconfig.c:55:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | if (!stralloc_cats(config_data(rewrite),"?:.")) goto nomem; | ^ rwhconfig.c:56:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if (!stralloc_cat(config_data(rewrite),config_data(&defaultdomain))) goto nomem; | ^ rwhconfig.c:57:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | if (!stralloc_0(config_data(rewrite))) goto nomem; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ rwhconfig.c:60:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | if (config_env(&idhost,"QMAILIDHOST") == -1) goto nomem; | ^ rwhconfig.c:61:22: warning: passing arguments to 'config_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | if (config_readline(&idhost,"control/idhost") == -1) | ^ rwhconfig.c:63:18: warning: passing arguments to 'config_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if (config_copy(&idhost,&me) == -1) goto nomem; | ^ rwhconfig.c:64:21: warning: passing arguments to 'config_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | if (config_default(&idhost,"IDHOST") == -1) goto nomem; | ^ rwhconfig.c:66:19: warning: passing arguments to 'rewritehost' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | if (!rewritehost(&tmp,config_data(&idhost)->s,config_data(&idhost)->len,config_data(rewrite))) goto nomem; | ^ rwhconfig.c:68:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | if (!stralloc_copys(idappend,".")) goto nomem; | ^ rwhconfig.c:69:39: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | if (!stralloc_catint(idappend,(int) getpid())) goto nomem; | ^ rwhconfig.c:69:8: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | if (!stralloc_catint(idappend,(int) getpid())) goto nomem; | ^ ./stralloc.h:27:49: note: expanded from macro 'stralloc_catint' 27 | #define stralloc_catint(sa,i) (stralloc_catlong0((sa),(long) (i),0)) | ^ rwhconfig.c:70:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | if (!stralloc_cats(idappend,".qmail@")) goto nomem; | ^ rwhconfig.c:71:20: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if (!stralloc_cat(idappend,&tmp)) goto nomem; | ^ rwhconfig.c:17:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | int rwhconfig(rewrite,idappend) | ^ In file included from rwhconfig.c:5: ./rwhconfig.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 rwhconfig(); | ^ 37 warnings generated. --- mess822_ok.o --- mess822_ok.c:20:19: warning: passing arguments to 'byte_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | colon = byte_chr(sa->s,sa->len,':'); | ^ mess822_ok.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 mess822_ok(sa) | ^ In file included from mess822_ok.c:1: ./mess822.h:41: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] 41 | extern int mess822_ok(); | ^ 3 warnings generated. --- 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. --- wait.a --- ./makelib wait.a wait_pid.o --- rewritehost.o --- rewritehost.c:17:18: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | colon = str_chr(rule,':'); | ^ rewritehost.c:23:17: warning: passing arguments to 'case_diffb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | if (case_diffb(rule,colon,work.s + prefixlen)) return 1; | ^ rewritehost.c:26:9: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | if (byte_chr(work.s,prefixlen,'.') < prefixlen) return 1; | ^ rewritehost.c:34:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | return stralloc_cats(&work,rule + colon + 1); | ^ rewritehost.c:8:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | static int doit(rule) | ^ rewritehost.c:49:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | return stralloc_cat(out,&work); | ^ rewritehost.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 appendwork(out,rules) | ^ rewritehost.c:60:8: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | at = byte_chr(in,len,'@'); | ^ rewritehost.c:62: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] 62 | if (!stralloc_catb(out,in,at)) return 0; | ^ rewritehost.c:63:23: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if (!stralloc_append(out,"@")) return 0; | ^ rewritehost.c:65:22: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | if (!stralloc_copyb(&work,in + at,len - at)) return 0; | ^ rewritehost.c:52:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | static int appendaddr(out,in,len,rules) | ^ rewritehost.c:75:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | if (!stralloc_copys(out,"")) return 0; | ^ rewritehost.c:76:22: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | if (!stralloc_copyb(&work,in,len)) return 0; | ^ rewritehost.c:69:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | int rewritehost(out,in,len,rules) | ^ In file included from rewritehost.c:4: ./rewritehost.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 rewritehost(); | ^ rewritehost.c:86:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if (!stralloc_copys(out,"")) return 0; | ^ rewritehost.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 rewritehost_addr(out,in,len,rules) | ^ In file included from rewritehost.c:4: ./rewritehost.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 rewritehost_addr(); | ^ rewritehost.c:99:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | if (!stralloc_copys(out,"")) return 0; | ^ rewritehost.c:103:22: 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] 103 | if (!stralloc_append(out,"+")) return 0; | ^ rewritehost.c:105: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] 105 | if (!stralloc_0(out)) return 0; | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ rewritehost.c:108:20: 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] 108 | if (!stralloc_catb(out,in + i,j - i + 1)) return 0; | ^ rewritehost.c:90:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | int rewritehost_list(out,in,len,rules) | ^ In file included from rewritehost.c:4: ./rewritehost.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 rewritehost_list(); | ^ 25 warnings generated. --- mess822_quote.o --- mess822_quote.c:4:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | static int needquote(buf,len) | ^ mess822_quote.c:48:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (!stralloc_cats(out,pre)) return 0; | ^ mess822_quote.c:54:27: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | if (!stralloc_append(out,"\\")) return 0; | ^ mess822_quote.c:55:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | if (!stralloc_append(out,&ch)) return 0; | ^ mess822_quote.c:58:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | if (!stralloc_cats(out,post)) return 0; | ^ mess822_quote.c:39:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | static int doit(out,buf,len,pre,post) | ^ mess822_quote.c:73:7: warning: passing arguments to 'str_diff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if (str_equal(addr,"")) flagempty = 1; | ^ ./str.h:12:34: note: expanded from macro 'str_equal' 12 | #define str_equal(s,t) (!str_diff((s),(t))) | ^ mess822_quote.c:74:7: warning: passing arguments to 'str_diff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | if (str_equal(addr,"@")) flagempty = 1; | ^ ./str.h:12:34: note: expanded from macro 'str_equal' 12 | #define str_equal(s,t) (!str_diff((s),(t))) | ^ mess822_quote.c:79: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] 79 | if (!doit(out,comment,str_len(comment),"\"","\" ")) return 0; | ^ mess822_quote.c:83:38: 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] 83 | if (flagbracket) if (!stralloc_cats(out,"<")) return 0; | ^ mess822_quote.c:86:17: warning: passing arguments to 'str_rchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | i = str_rchr(addr,'@'); | ^ mess822_quote.c:93: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] 93 | i = str_len(addr); | ^ mess822_quote.c:95:27: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | if (!stralloc_append(out,"@")) return 0; | ^ mess822_quote.c:107:38: 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] 107 | if (flagbracket) if (!stralloc_cats(out,">")) return 0; | ^ mess822_quote.c:62:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | int mess822_quoteplus(out,addr,comment) | ^ In file included from mess822_quote.c:1: ./mess822.h:28: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] 28 | extern int mess822_quoteplus(); | ^ mess822_quote.c:117:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | if (!stralloc_copys(out,"")) return 0; | ^ mess822_quote.c:112:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | int mess822_quote(out,addr,comment) | ^ In file included from mess822_quote.c:1: ./mess822.h:29: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] 29 | extern int mess822_quote(); | ^ mess822_quote.c:129:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | if (!stralloc_copys(out,"")) return 0; | ^ mess822_quote.c:137:48: 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] 137 | if (!doit(out,in->s + comment,str_len(in->s + comment),"\"","\": ;,\n ")) return 0; | ^ mess822_quote.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(out,",\n ")) return 0; | ^ mess822_quote.c:149:42: 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] 149 | if (!doit(out,in->s + comment,str_len(in->s + comment),"\"","\": ;,\n ")) return 0; | ^ mess822_quote.c:121:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | int mess822_quotelist(out,in) | ^ In file included from mess822_quote.c:1: ./mess822.h:30: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] 30 | extern int mess822_quotelist(); | ^ 25 warnings generated. --- mess822.a --- ./makelib mess822.a mess822_date.o mess822_quote.o mess822_fold.o mess822_token.o mess822_addr.o mess822_when.o mess822_line.o mess822_ok.o --- stralloc_num.o --- stralloc_num.c:17:26: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if (!stralloc_readyplus(sa,len)) return 0; | ^ stralloc_num.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int stralloc_catulong0(sa,u,n) | ^ In file included from stralloc_num.c:1: ./stralloc.h:21:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | extern int stralloc_catulong0(); | ^ stralloc_num.c:31:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | if (!stralloc_append(sa,"-")) return 0; | ^ stralloc_num.c:25:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | int stralloc_catlong0(sa,l,n) | ^ In file included from stralloc_num.c:1: ./stralloc.h:22:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | extern int stralloc_catlong0(); | ^ 6 warnings generated. --- tokenize.o --- tokenize.c:11:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ tokenize.c:23:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | substdio_put(subfdout,&ch,1); | ^ tokenize.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 put(buf,len) | ^ tokenize.c:34:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 34 | void main() | ^ tokenize.c:34:1: note: change return type to 'int' 34 | void main() | ^~~~ | int tokenize.c:40:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | if (getln(subfdin,&line,&match,'\n') == -1) | ^ tokenize.c:41:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ tokenize.c:48:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (!stralloc_0(&line)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ tokenize.c:50:23: warning: passing arguments to 'mess822_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | if (!mess822_token(&tokens,line.s)) nomem(); | ^ tokenize.c:55:17: 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] 55 | substdio_puts(subfdout,"space\n"); | ^ tokenize.c:57:17: 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] 57 | substdio_puts(subfdout,"tab\n"); | ^ tokenize.c:59:17: 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] 59 | substdio_puts(subfdout,"string {"); | ^ tokenize.c:61:17: 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] 61 | substdio_puts(subfdout,"}\n"); | ^ tokenize.c:63:17: 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] 63 | substdio_puts(subfdout,"comment {"); | ^ tokenize.c:65:17: 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] 65 | substdio_puts(subfdout,"}\n"); | ^ tokenize.c:67:17: 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] 67 | substdio_puts(subfdout,"special "); | ^ tokenize.c:69:17: 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] 69 | substdio_puts(subfdout,"\n"); | ^ tokenize.c:74: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] 74 | substdio_puts(subfdout,"\n"); | ^ tokenize.c:78:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | substdio_flush(subfdout); | ^ tokenize.c:79:3: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | _exit(0); | ^ tokenize.c:79:3: note: include the header or explicitly provide a declaration for '_exit' 19 warnings generated. --- stralloc.a --- ./makelib stralloc.a stralloc_num.o stralloc_eady.o stralloc_pend.o stralloc_copy.o stralloc_opys.o stralloc_opyb.o stralloc_cat.o stralloc_cats.o stralloc_catb.o --- 822field --- --- 822header --- --- addrlist --- --- iftocc --- --- quote --- --- tokenize --- --- 822field --- ./load 822field mess822.a getln.a strerr.a substdio.a stralloc.a alloc.a error.a str.a case.a fs.a --- 822header --- ./load 822header mess822.a getln.a strerr.a substdio.a stralloc.a alloc.a error.a str.a --- addrlist --- ./load addrlist mess822.a getln.a strerr.a substdio.a stralloc.a alloc.a error.a str.a --- iftocc --- ./load iftocc mess822.a getln.a strerr.a substdio.a stralloc.a alloc.a error.a env.a str.a case.a fs.a open.a --- quote --- ./load quote mess822.a strerr.a substdio.a stralloc.a alloc.a error.a str.a --- tokenize --- ./load tokenize mess822.a getln.a strerr.a substdio.a stralloc.a alloc.a error.a str.a --- uint64.h --- rm -f tryulong64.o tryulong64 --- 822date.o --- --- 822print.o --- --- 822received.o --- --- caltime_tai.o --- --- caltime_utc.o --- --- leapsecs_add.o --- --- leapsecs_read.o --- --- leapsecs_sub.o --- --- new-inject.o --- --- ofmipd.o --- --- parsedate.o --- --- tai_now.o --- --- tai_pack.o --- --- tai_unpack.o --- --- 822date.o --- ./compile 822date.c --- 822print.o --- ./compile 822print.c --- 822received.o --- ./compile 822received.c --- caltime_tai.o --- ./compile caltime_tai.c --- caltime_utc.o --- ./compile caltime_utc.c --- leapsecs_add.o --- ./compile leapsecs_add.c --- leapsecs_read.o --- ./compile leapsecs_read.c --- new-inject.o --- ./compile new-inject.c --- parsedate.o --- ./compile parsedate.c --- tai_now.o --- ./compile tai_now.c --- ofmipd.o --- ./compile ofmipd.c --- tai_pack.o --- ./compile tai_pack.c --- tai_unpack.o --- ./compile tai_unpack.c --- leapsecs_sub.o --- ./compile leapsecs_sub.c --- qmail.o --- qmail.c:18:7: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | if (pipe(pim) == -1) return -1; | ^ qmail.c:19:26: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | if (pipe(pie) == -1) { close(pim[0]); close(pim[1]); return -1; } | ^ qmail.c:23:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | close(pim[0]); close(pim[1]); | ^ qmail.c:29:18: warning: passing arguments to 'fd_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | if (fd_move(0,pim[0]) == -1) _exit(120); | ^ qmail.c:30:18: warning: passing arguments to 'fd_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (fd_move(1,pie[0]) == -1) _exit(120); | ^ qmail.c:31:11: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | if (chdir(auto_qmail) == -1) _exit(61); | ^ qmail.c:32:7: warning: call to undeclared function 'execv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | execv(*binqqargs,binqqargs); | ^ qmail.c:36:21: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | qq->fdm = pim[1]; close(pim[0]); | ^ qmail.c:38:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | substdio_fdbuf(&qq->ss,write,qq->fdm,qq->buf,sizeof(qq->buf)); | ^ qmail.c:12:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | int qmail_open(qq) | ^ In file included from qmail.c:7: ./qmail.h:15:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | extern int qmail_open(); | ^ qmail.c:43:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | unsigned long qmail_qp(qq) struct qmail *qq; | ^ In file included from qmail.c:7: ./qmail.h:22:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | extern unsigned long qmail_qp(); | ^ qmail.c:48:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | void qmail_fail(qq) struct qmail *qq; | ^ In file included from qmail.c:7: ./qmail.h:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern void qmail_fail(); | ^ qmail.c:55:37: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | if (!qq->flagerr) if (substdio_put(&qq->ss,s,len) == -1) qq->flagerr = 1; | ^ qmail.c:53:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | void qmail_put(qq,s,len) struct qmail *qq; char *s; int len; | ^ In file included from qmail.c:7: ./qmail.h:16:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern void qmail_put(); | ^ qmail.c:60:38: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | if (!qq->flagerr) if (substdio_puts(&qq->ss,s) == -1) qq->flagerr = 1; | ^ qmail.c:58:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | void qmail_puts(qq,s) struct qmail *qq; char *s; | ^ In file included from qmail.c:7: ./qmail.h:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern void qmail_puts(); | ^ qmail.c:65:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | if (substdio_flush(&qq->ss) == -1) qq->flagerr = 1; | ^ qmail.c:66:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | close(qq->fdm); | ^ qmail.c:67:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | substdio_fdbuf(&qq->ss,write,qq->fde,qq->buf,sizeof(qq->buf)); | ^ qmail.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | void qmail_from(qq,s) struct qmail *qq; char *s; | ^ In file included from qmail.c:7: ./qmail.h:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern void qmail_from(); | ^ qmail.c:73:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | void qmail_to(qq,s) struct qmail *qq; char *s; | ^ In file included from qmail.c:7: ./qmail.h:19:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | extern void qmail_to(); | ^ qmail.c:87:39: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | if (!qq->flagerr) if (substdio_flush(&qq->ss) == -1) qq->flagerr = 1; | ^ qmail.c:88:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | close(qq->fde); | ^ qmail.c:90:15: warning: passing arguments to 'wait_pid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | if (wait_pid(&wstat,qq->pid) != qq->pid) | ^ qmail.c:80:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | char *qmail_close(qq) | ^ In file included from qmail.c:7: ./qmail.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | extern char *qmail_close(); | ^ 33 warnings generated. --- ofmipname.o --- ofmipname.c:16:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | { strerr_die2x(111,FATAL,"out of memory"); } | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ ofmipname.c:18:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | { strerr_die2sys(111,FATAL,"unable to read input: "); } | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ ofmipname.c:20:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | { strerr_die4sys(111,FATAL,"unable to create ",fntmp,": "); } | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ ofmipname.c:22:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | { strerr_die1x(100,"ofmipname: usage: ofmipname cdb tmp"); } | ^ ./strerr.h:78:11: note: expanded from macro 'strerr_die1x' 78 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ ofmipname.c:41:11: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | colon = byte_chr(x,len,':'); | ^ ofmipname.c:43:22: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | if (!stralloc_copyb(&key,x,colon)) nomem(); | ^ ofmipname.c:48:22: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (!stralloc_copyb(&data,x,colon)) nomem(); | ^ ofmipname.c:49:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (!stralloc_0(&data)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ofmipname.c:54: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] 54 | if (!stralloc_catb(&data,x,colon)) nomem(); | ^ ofmipname.c:57:7: warning: call to undeclared function 'cdbmss_add'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | if (cdbmss_add(&cdbmss,key.s,key.len,data.s,data.len) == -1) | ^ ofmipname.c:32:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | void doit(x,len) | ^ ofmipname.c:61:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 61 | void main(argc,argv) | ^ ofmipname.c:61:1: note: change return type to 'int' 61 | void main(argc,argv) | ^~~~ | int ofmipname.c:67:3: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | umask(033); | ^ ofmipname.c:74:18: warning: passing arguments to 'open_trunc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | fd = open_trunc(fntmp); | ^ ofmipname.c:76:7: warning: call to undeclared function 'cdbmss_start'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | if (cdbmss_start(&cdbmss,fd) == -1) die_write(); | ^ ofmipname.c:79:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if (getln(subfdin,&line,&match,'\n') == -1) die_read(); | ^ ofmipname.c:84:7: warning: call to undeclared function 'cdbmss_finish'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | if (cdbmss_finish(&cdbmss) == -1) die_write(); | ^ ofmipname.c:85:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | if (fsync(fd) == -1) die_write(); | ^ ofmipname.c:86:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | if (close(fd) == -1) die_write(); /* NFS stupidity */ | ^ ofmipname.c:87:7: warning: call to undeclared function 'rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | if (rename(fntmp,fncdb) == -1) | ^ ofmipname.c:88:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | strerr_die5sys(111,FATAL,"unable to move ",fntmp," to ",fncdb); | ^ ./strerr.h:57:11: note: expanded from macro 'strerr_die5sys' 57 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(char *) 0,&strerr_sys) | ^ ofmipname.c:61:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | void main(argc,argv) | ^ 22 warnings generated. --- tai_unpack.o --- tai_unpack.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void tai_unpack(s,t) | ^ In file included from tai_unpack.c:1: ./tai.h:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern void tai_unpack(); | ^ 2 warnings generated. --- leapsecs_add.o --- leapsecs_add.c:9:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | void leapsecs_add(t,hit) | ^ In file included from leapsecs_add.c:1: ./leapsecs.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 leapsecs_add(); | ^ 2 warnings generated. --- leapsecs_sub.o --- leapsecs_sub.c:9:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | int leapsecs_sub(t) | ^ In file included from leapsecs_sub.c:1: ./leapsecs.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern int leapsecs_sub(); | ^ 2 warnings generated. --- 822date.o --- 822date.c:17:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ 822date.c:34:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 34 | void main(argc,argv) | ^ 822date.c:34:1: note: change return type to 'int' 34 | void main(argc,argv) | ^~~~ | int 822date.c:39:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | strerr_die2sys(111,FATAL,"unable to init leapsecs: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ 822date.c:44:21: warning: passing arguments to 'mess822_begin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | if (!mess822_begin(&h,a)) nomem(); | ^ 822date.c:46:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | if (getln(subfdinsmall,&line,&match,'\n') == -1) | ^ 822date.c:47:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ 822date.c:48:20: warning: passing arguments to 'mess822_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (!mess822_ok(&line)) break; | ^ 822date.c:49:22: warning: passing arguments to 'mess822_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (!mess822_line(&h,&line)) nomem(); | ^ 822date.c:52:19: warning: passing arguments to 'mess822_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | if (!mess822_end(&h)) nomem(); | ^ 822date.c:56:40: warning: passing arguments to 'caltime_fmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if (!stralloc_ready(&line,caltime_fmt((char *) 0,&t.ct))) nomem(); | ^ 822date.c:56: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] 56 | if (!stralloc_ready(&line,caltime_fmt((char *) 0,&t.ct))) nomem(); | ^ 822date.c:57:48: warning: passing arguments to 'caltime_fmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | substdio_put(subfdoutsmall,line.s,caltime_fmt(line.s,&t.ct)); | ^ 822date.c:57:15: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | substdio_put(subfdoutsmall,line.s,caltime_fmt(line.s,&t.ct)); | ^ 822date.c:58:15: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | substdio_put(subfdoutsmall,"\n",1); | ^ 822date.c:60:14: warning: passing arguments to 'caltime_tai' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | caltime_tai(&t.ct,&sec); | ^ 822date.c:62:14: warning: passing arguments to 'caltime_utc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | caltime_utc(&t.ct,&sec,(int *) 0,(int *) 0); | ^ 822date.c:63:40: warning: passing arguments to 'caltime_fmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if (!stralloc_ready(&line,caltime_fmt((char *) 0,&t.ct))) nomem(); | ^ 822date.c:63: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] 63 | if (!stralloc_ready(&line,caltime_fmt((char *) 0,&t.ct))) nomem(); | ^ 822date.c:64:48: warning: passing arguments to 'caltime_fmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | substdio_put(subfdoutsmall,line.s,caltime_fmt(line.s,&t.ct)); | ^ 822date.c:64:15: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | substdio_put(subfdoutsmall,line.s,caltime_fmt(line.s,&t.ct)); | ^ 822date.c:65:15: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | substdio_put(subfdoutsmall,"\n",1); | ^ 822date.c:67:11: warning: passing arguments to 'tai_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | tai_pack(secpack,&sec); | ^ 822date.c:77:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | substdio_puts(subfdoutsmall,ctime(&secunix)); | ^ 822date.c:79:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | substdio_flush(subfdoutsmall); | ^ 822date.c:34:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | void main(argc,argv) | ^ 25 warnings generated. --- tai_pack.o --- tai_pack.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void tai_pack(s,t) | ^ In file included from tai_pack.c:1: ./tai.h:19:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | extern void tai_pack(); | ^ 2 warnings generated. --- cdbmake_add.o --- cdbmake_add.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void cdbmake_init(cdbm) | ^ In file included from cdbmake_add.c:1: ./cdbmake.h:30:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | extern void cdbmake_init(); | ^ cdbmake_add.c:22:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | head = (struct cdbmake_hplist *) alloc(sizeof(struct cdbmake_hplist)); | ^ cdbmake_add.c:12:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | int cdbmake_add(cdbm,h,p,alloc) | ^ In file included from cdbmake_add.c:1: ./cdbmake.h:31:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | extern int cdbmake_add(); | ^ cdbmake_add.c:65:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | cdbm->split = (struct cdbmake_hp *) alloc(memsize * sizeof(struct cdbmake_hp)); | ^ cdbmake_add.c:35:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | int cdbmake_split(cdbm,alloc) | ^ In file included from cdbmake_add.c:1: ./cdbmake.h:32:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | extern int cdbmake_split(); | ^ cdbmake_add.c:99:15: warning: passing arguments to 'cdbmake_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | cdbmake_pack(cdbm->final + 8 * b,pos); | ^ cdbmake_add.c:100:15: warning: passing arguments to 'cdbmake_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | cdbmake_pack(cdbm->final + 8 * b + 4,len); | ^ cdbmake_add.c:85:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | uint32 cdbmake_throw(cdbm,pos,b) | ^ In file included from cdbmake_add.c:1: ./cdbmake.h:33:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | extern uint32 cdbmake_throw(); | ^ 12 warnings generated. --- cdbmake.a --- ./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o cdbmake_add.o --- tai_now.o --- tai_now.c:4:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | void tai_now(t) | ^ In file included from tai_now.c:2: ./tai.h:10:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern void tai_now(); | ^ 2 warnings generated. --- caltime_tai.o --- caltime_tai.c:17:20: warning: passing arguments to 'caldate_mjd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | day = caldate_mjd(&ct->date); | ^ caltime_tai.c:24:15: warning: passing arguments to 'leapsecs_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | leapsecs_add(t,ct->second == 60); | ^ caltime_tai.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void caltime_tai(ct,t) | ^ In file included from caltime_tai.c:4: ./caltime.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 caltime_tai(); | ^ 4 warnings generated. --- caltime_utc.o --- caltime_utc.c:21:22: warning: passing arguments to 'leapsecs_sub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | leap = leapsecs_sub(&t2); | ^ caltime_utc.c:32:18: warning: passing arguments to 'caldate_frommjd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | caldate_frommjd(&ct->date,/*XXX*/(long) (u - 53375995543064ULL),pwday,pyday); | ^ caltime_utc.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void caltime_utc(ct,t,pwday,pyday) | ^ In file included from caltime_utc.c:4: ./caltime.h:15:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | extern void caltime_utc(); | ^ 4 warnings generated. --- ofmipname --- --- leapsecs_read.o --- leapsecs_read.c:23:19: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | if (leapsecs) free(leapsecs); | ^ leapsecs_read.c:23:19: note: include the header or explicitly provide a declaration for 'free' leapsecs_read.c:29:30: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | if (fstat(fd,&st) == -1) { close(fd); return -1; } | ^ leapsecs_read.c:31:22: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | t = (struct tai *) malloc(st.st_size); | ^ leapsecs_read.c:31:22: note: include the header or explicitly provide a declaration for 'malloc' leapsecs_read.c:32:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | if (!t) { close(fd); return -1; } | ^ leapsecs_read.c:34:7: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | n = read(fd,(char *) t,st.st_size); | ^ leapsecs_read.c:35:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | close(fd); | ^ leapsecs_read.c:41:15: warning: passing arguments to 'tai_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | tai_unpack((char *) &t[i],&u); | ^ leapsecs_read.c:49:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 49 | } | ^ 8 warnings generated. --- ofmipname --- ./load ofmipname cdbmss.o cdbmake.a strerr.a getln.a substdio.a stralloc.a alloc.a error.a seek.a open.a str.a --- libtai.a --- ./makelib libtai.a tai_now.o tai_pack.o tai_unpack.o caldate_fmjd.o caldate_mjd.o caldate_fmt.o caldate_scan.o leapsecs_read.o leapsecs_init.o leapsecs_add.o leapsecs_sub.o caltime_tai.o caltime_utc.o caltime_fmt.o caltime_scan.o --- 822date --- ./load 822date libtai.a mess822.a getln.a strerr.a substdio.a stralloc.a alloc.a error.a str.a case.a fs.a --- parsedate.o --- parsedate.c:14:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ parsedate.c:23:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 23 | void main() | ^ parsedate.c:23:1: note: change return type to 'int' 23 | void main() | ^~~~ | int parsedate.c:29:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | strerr_die2sys(111,FATAL,"unable to init leapsecs: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ parsedate.c:32:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | if (getln(subfdinsmall,&line,&match,'\n') == -1) | ^ parsedate.c:33:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ parsedate.c:40:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | if (!stralloc_0(&line)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ parsedate.c:43:22: warning: passing arguments to 'mess822_when' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | if (!mess822_when(&t,line.s)) nomem(); | ^ parsedate.c:46:44: warning: passing arguments to 'caltime_fmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | if (!stralloc_ready(&line,caltime_fmt((char *) 0,&t.ct))) nomem(); | ^ parsedate.c:46:26: 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] 46 | if (!stralloc_ready(&line,caltime_fmt((char *) 0,&t.ct))) nomem(); | ^ parsedate.c:47:52: warning: passing arguments to 'caltime_fmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | substdio_put(subfdoutsmall,line.s,caltime_fmt(line.s,&t.ct)); | ^ parsedate.c:47:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | substdio_put(subfdoutsmall,line.s,caltime_fmt(line.s,&t.ct)); | ^ parsedate.c:49: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] 49 | substdio_put(subfdoutsmall,"?",1); | ^ parsedate.c:50:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | substdio_put(subfdoutsmall,"\t",1); | ^ parsedate.c:52:18: warning: passing arguments to 'caltime_tai' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | caltime_tai(&t.ct,&sec); | ^ parsedate.c:54:18: warning: passing arguments to 'caltime_utc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | caltime_utc(&t.ct,&sec,(int *) 0,(int *) 0); | ^ parsedate.c:55:44: warning: passing arguments to 'caltime_fmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | if (!stralloc_ready(&line,caltime_fmt((char *) 0,&t.ct))) nomem(); | ^ parsedate.c:55:26: 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] 55 | if (!stralloc_ready(&line,caltime_fmt((char *) 0,&t.ct))) nomem(); | ^ parsedate.c:56:52: warning: passing arguments to 'caltime_fmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | substdio_put(subfdoutsmall,line.s,caltime_fmt(line.s,&t.ct)); | ^ parsedate.c:56:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | substdio_put(subfdoutsmall,line.s,caltime_fmt(line.s,&t.ct)); | ^ parsedate.c:59: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] 59 | substdio_puts(subfdoutsmall,"\n"); | ^ parsedate.c:63:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | substdio_flush(subfdoutsmall); | ^ parsedate.c:64:3: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | _exit(0); | ^ parsedate.c:64:3: note: include the header or explicitly provide a declaration for '_exit' 22 warnings generated. --- parsedate --- ./load parsedate libtai.a mess822.a getln.a strerr.a substdio.a stralloc.a alloc.a error.a str.a case.a fs.a --- 822received.o --- 822received.c:17:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ 822received.c:40:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | if (!stralloc_0(&line)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ 822received.c:43:21: warning: passing arguments to 'mess822_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | if (!mess822_token(&tokens,line.s)) nomem(); | ^ 822received.c:44:20: warning: passing arguments to 'mess822_when' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | if (!mess822_when(&t,line.s)) nomem(); | ^ 822received.c:48: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] 48 | substdio_puts(subfdoutsmall,"\t\t\t"); | ^ 822received.c:50:16: warning: passing arguments to 'caltime_tai' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | caltime_tai(&t.ct,&sec); | ^ 822received.c:51:13: warning: passing arguments to 'tai_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | tai_pack(secpack,&sec); | ^ 822received.c:61:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | substdio_put(subfdoutsmall,ctime(&secunix),24); | ^ 822received.c:63:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | substdio_puts(subfdoutsmall," "); | ^ 822received.c:76:15: 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] 76 | substdio_puts(subfdoutsmall,"("); | ^ 822received.c:77:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 77 | while (ch = tokens.s[++i]) { | ~~~^~~~~~~~~~~~~~~ 822received.c:77:12: note: place parentheses around the assignment to silence this warning 77 | while (ch = tokens.s[++i]) { | ^ | ( ) 822received.c:77:12: note: use '==' to turn this assignment into an equality comparison 77 | while (ch = tokens.s[++i]) { | ^ | == 822received.c:79:16: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | substdio_put(subfdoutsmall,&ch,1); | ^ 822received.c:81:15: 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] 81 | substdio_puts(subfdoutsmall,")"); | ^ 822received.c:86:9: warning: call to undeclared function 'case_diffs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | if (!case_diffs(x,"=from") | ^ 822received.c:91:19: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | substdio_puts(subfdoutsmall,"\n\t\t\t "); | ^ 822received.c:92:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 92 | while (ch = tokens.s[++i]) { | ~~~^~~~~~~~~~~~~~~ 822received.c:92:12: note: place parentheses around the assignment to silence this warning 92 | while (ch = tokens.s[++i]) { | ^ | ( ) 822received.c:92:12: note: use '==' to turn this assignment into an equality comparison 92 | while (ch = tokens.s[++i]) { | ^ | == 822received.c:94:16: 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] 94 | substdio_put(subfdoutsmall,&ch,1); | ^ 822received.c:100:17: 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] 100 | substdio_puts(subfdoutsmall,"\n\t\t\t "); | ^ 822received.c:102:15: 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] 102 | substdio_puts(subfdoutsmall,";"); | ^ 822received.c:107:17: 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] 107 | substdio_puts(subfdoutsmall," "); | ^ 822received.c:111:14: 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] 111 | substdio_put(subfdoutsmall,tokens.s + i,1); | ^ 822received.c:117:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | substdio_puts(subfdoutsmall,"\n"); | ^ 822received.c:128:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 128 | void main(argc,argv) | ^ 822received.c:128:1: note: change return type to 'int' 128 | void main(argc,argv) | ^~~~ | int 822received.c:137:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | strerr_die2sys(111,FATAL,"unable to init leapsecs: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ 822received.c:139:21: warning: passing arguments to 'mess822_begin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | if (!mess822_begin(&h,a)) nomem(); | ^ 822received.c:141:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | if (getln(subfdinsmall,&line,&match,'\n') == -1) | ^ 822received.c:142:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ 822received.c:143:20: warning: passing arguments to 'mess822_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | if (!mess822_ok(&line)) break; | ^ 822received.c:144:22: warning: passing arguments to 'mess822_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | if (!mess822_line(&h,&line)) nomem(); | ^ 822received.c:147:19: warning: passing arguments to 'mess822_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | if (!mess822_end(&h)) nomem(); | ^ 822received.c:154:28: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | if (!stralloc_copyb(&line,received.s + j,i - j)) nomem(); | ^ 822received.c:163:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | substdio_flush(subfdoutsmall); | ^ 822received.c:128:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | void main(argc,argv) | ^ 33 warnings generated. --- 822received --- ./load 822received libtai.a mess822.a getln.a strerr.a substdio.a stralloc.a alloc.a error.a str.a case.a fs.a --- 822print.o --- 822print.c:18:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ 822print.c:24:33: 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] 24 | while (len-- > 0) substdio_put(subfdout," ",1); | ^ 822print.c:21:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | void putspaces(len) | ^ 822print.c:34: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] 34 | substdio_put(subfdout,"_\010",2); | ^ 822print.c:37: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] 37 | substdio_put(subfdout,buf,1); | ^ 822print.c:38: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] 38 | substdio_put(subfdout,"\010",1); | ^ 822print.c:41:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | substdio_put(subfdout,buf++,1); | ^ 822print.c:27:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | void putformat(buf,len) | ^ 822print.c:57:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | if (!stralloc_copys(out,pre)) nomem(); | ^ 822print.c:64:27: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | if (!stralloc_append(out,style1)) nomem(); | ^ 822print.c:65:27: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | if (!stralloc_append(out,&ch)) nomem(); | ^ 822print.c:69:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | if (!stralloc_cats(out,style2)) nomem(); | ^ 822print.c:70:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | if (!stralloc_append(out,"\\")) nomem(); | ^ 822print.c:72:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | if (!stralloc_cats(out,style2)) nomem(); | ^ 822print.c:73:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if (!stralloc_append(out,&ch2)) nomem(); | ^ 822print.c:75:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | if (!stralloc_cats(out,style2)) nomem(); | ^ 822print.c:76:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | if (!stralloc_append(out,&ch2)) nomem(); | ^ 822print.c:78:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | if (!stralloc_cats(out,style2)) nomem(); | ^ 822print.c:79:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if (!stralloc_append(out,&ch2)) nomem(); | ^ 822print.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 format(out,buf,len,pre,style1,style2) | ^ 822print.c:96:9: warning: call to undeclared function 'byte_rchr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | i = byte_rchr(leftline.s + pos,73 * 2,' ') / 2; /*XXX*/ | ^ 822print.c:99: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] 99 | substdio_puts(subfdout,"\n"); | ^ 822print.c:104:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | substdio_puts(subfdout,"\n"); | ^ 822print.c:132:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | substdio_put(subfdout,"\n",1); | ^ 822print.c:142:15: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | substdio_put(subfdout,"\n",1); | ^ 822print.c:145:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | void putvalue(a,pre) | ^ 822print.c:159:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | void putfields(a) | ^ 822print.c:189:36: warning: call to undeclared function 'str_len'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | format(&leftline,a->s + comment,str_len(a->s + comment),pre,"_","="); | ^ 822print.c:198:43: warning: call to undeclared function 'str_len'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | format(&leftline,a->s + comment,str_len(a->s + comment),pre,"_","="); | ^ 822print.c:209:37: warning: call to undeclared function 'str_len'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | format(&leftline,a->s + comment,str_len(a->s + comment),pre,"_","="); | ^ 822print.c:173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | void putaddr(a,pre,post,style) | ^ 822print.c:233:14: warning: passing arguments to 'caltime_tai' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | caltime_tai(&t->ct,&sec); | ^ 822print.c:234:11: warning: passing arguments to 'tai_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | tai_pack(secpack,&sec); | ^ 822print.c:254:39: warning: passing arguments to 'caltime_fmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | if (!stralloc_ready(&tmp,caltime_fmt((char *) 0,&local))) nomem(); | ^ 822print.c:254: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] 254 | if (!stralloc_ready(&tmp,caltime_fmt((char *) 0,&local))) nomem(); | ^ 822print.c:255:24: warning: passing arguments to 'caltime_fmt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | tmp.len = caltime_fmt(tmp.s,&local) - 6; | ^ 822print.c:214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | void putdate(text,t) | ^ 822print.c:319:19: warning: passing arguments to 'mess822_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | if (!mess822_end(&h)) nomem(); | ^ 822print.c:332:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | substdio_puts(subfdout,"------------------------------------------------------------------------------\n"); | ^ 822print.c:339:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | substdio_puts(subfdout,"------------------------------------------------------------------------------\n"); | ^ 822print.c:352:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 352 | void main() | ^ 822print.c:352:1: note: change return type to 'int' 352 | void main() | ^~~~ | int 822print.c:358:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | strerr_die2sys(111,FATAL,"unable to init leapsecs: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ 822print.c:360:21: warning: passing arguments to 'mess822_begin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | if (!mess822_begin(&h,a)) nomem(); | ^ 822print.c:362:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | if (getln(subfdin,&line,&match,'\n') == -1) | ^ 822print.c:363:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ 822print.c:365:22: warning: passing arguments to 'mess822_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | if (!mess822_ok(&line)) { | ^ 822print.c:370:19: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | substdio_put(subfdout,line.s,line.len); | ^ 822print.c:372:24: warning: passing arguments to 'mess822_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | if (!mess822_line(&h,&line)) nomem(); | ^ 822print.c:378:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | substdio_flush(subfdout); | ^ 49 warnings generated. --- 822print --- ./load 822print libtai.a mess822.a getln.a strerr.a substdio.a stralloc.a alloc.a error.a str.a case.a fs.a --- ofmipd.o --- ofmipd.c:25:19: warning: passing arguments to 'timeoutwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | r = timeoutwrite(timeout,fd,buf,len); | ^ ofmipd.c:22:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | int safewrite(fd,buf,len) int fd; char *buf; int len; | ^ ofmipd.c:33:30: 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] 33 | void flush() { substdio_flush(&ssout); } | ^ ofmipd.c:34:37: 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] 34 | void out(s) char *s; { substdio_puts(&ssout,s); } | ^ ofmipd.c:34:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | void out(s) char *s; { substdio_puts(&ssout,s); } | ^ ofmipd.c:66:14: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | i = str_chr(arg,'<'); | ^ ofmipd.c:71:19: warning: passing arguments to 'str_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | arg += str_chr(arg,':'); | ^ ofmipd.c:78:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | if (!stralloc_copys(&addr,"")) nomem(); | ^ ofmipd.c:81:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 81 | for (i = 0;ch = arg[i];++i) { /* copy arg to addr, stripping quotes */ | ~~~^~~~~~~~ ofmipd.c:81:17: note: place parentheses around the assignment to silence this warning 81 | for (i = 0;ch = arg[i];++i) { /* copy arg to addr, stripping quotes */ | ^ | ( ) ofmipd.c:81:17: note: use '==' to turn this assignment into an equality comparison 81 | for (i = 0;ch = arg[i];++i) { /* copy arg to addr, stripping quotes */ | ^ | == ofmipd.c:83:27: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if (!stralloc_append(&addr,&ch)) nomem(); | ^ ofmipd.c:91:38: 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] 91 | default: if (!stralloc_append(&addr,&ch)) nomem(); | ^ ofmipd.c:96:8: warning: call to undeclared function 'rewritehost_addr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | if (!rewritehost_addr(&rwaddr,addr.s,addr.len,config_data(&rewrite))) nomem(); | ^ ofmipd.c:56:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | int addrparse(arg) | ^ ofmipd.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | void smtp_helo(arg) char *arg; | ^ ofmipd.c:116:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | void smtp_ehlo(arg) char *arg; | ^ ofmipd.c:135:17: warning: passing arguments to 'cdb_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | r = cdb_seek(fdcdb,rwaddr.s,rwaddr.len,&dlen); | ^ ofmipd.c:138:26: 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] 138 | if (!stralloc_ready(&cdbresult,(unsigned int) dlen)) nomem(); | ^ ofmipd.c:141:20: warning: passing arguments to 'cdb_bread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | if (cdb_bread(fdcdb,name,cdbresult.len) == -1) { err_cdb(); return; } | ^ ofmipd.c:142:11: warning: call to undeclared function 'byte_chr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | r = byte_chr(name,cdbresult.len,'\0'); | ^ ofmipd.c:144:26: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | if (!stralloc_copyb(&rwaddr,cdbresult.s + r + 1,cdbresult.len - r - 1)) nomem(); | ^ ofmipd.c:148:21: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | if (!stralloc_copy(&mailfrom,&rwaddr)) nomem(); | ^ ofmipd.c:149:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | if (!stralloc_0(&mailfrom)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ofmipd.c:150:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | if (!stralloc_copys(&rcptto,"")) nomem(); | ^ ofmipd.c:126:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | void smtp_mail(arg) char *arg; | ^ ofmipd.c:157:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | if (!stralloc_0(&rwaddr)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ofmipd.c:158:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if (!stralloc_cats(&rcptto,"T")) nomem(); | ^ ofmipd.c:159:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | if (!stralloc_cats(&rcptto,rwaddr.s)) nomem(); | ^ ofmipd.c:160:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | if (!stralloc_0(&rcptto)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ofmipd.c:154:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | void smtp_rcpt(arg) char *arg; { | ^ ofmipd.c:165:50: warning: passing arguments to 'qmail_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | void put(buf,len) char *buf; int len; { qmail_put(&qqt,buf,len); } | ^ ofmipd.c:165:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | void put(buf,len) char *buf; int len; { qmail_put(&qqt,buf,len); } | ^ ofmipd.c:166:39: warning: passing arguments to 'qmail_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | void puts(buf) char *buf; { qmail_puts(&qqt,buf); } | ^ ofmipd.c:166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | void puts(buf) char *buf; { qmail_puts(&qqt,buf); } | ^ ofmipd.c:174:8: warning: call to undeclared function 'rewritehost_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | if (!rewritehost_list(&tmp,list->s,list->len,config_data(&rewrite))) nomem(); | ^ ofmipd.c:175:21: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | if (!stralloc_copy(list,&tmp)) nomem(); | ^ ofmipd.c:171:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | void rewritelist(list) | ^ ofmipd.c:183:25: warning: passing arguments to 'mess822_quotelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | if (!mess822_quotelist(&tmp,list)) nomem(); | ^ ofmipd.c:184:20: warning: passing arguments to 'mess822_fold' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | if (!mess822_fold(&tmp2,&tmp,name,78)) nomem(); | ^ ofmipd.c:178:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | void putlist(name,list) | ^ ofmipd.c:238:19: warning: passing arguments to 'mess822_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | if (!mess822_end(&h)) nomem(); | ^ ofmipd.c:254:20: warning: passing arguments to 'mess822_date' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | if (!mess822_date(&tmp,&date)) nomem(); | ^ ofmipd.c:262: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] 262 | if (!stralloc_copys(&msgid,"Message-ID: <")) nomem(); | ^ ofmipd.c:263:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | if (!stralloc_catlong(&msgid,date.ct.date.year)) nomem(); | ^ ./stralloc.h:24:50: note: expanded from macro 'stralloc_catlong' 24 | #define stralloc_catlong(sa,l) (stralloc_catlong0((sa),(l),0)) | ^ ofmipd.c:264:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | if (!stralloc_catint0(&msgid,date.ct.date.month,2)) nomem(); | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ ofmipd.c:265:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | if (!stralloc_catint0(&msgid,date.ct.date.day,2)) nomem(); | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ ofmipd.c:266:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | if (!stralloc_catint0(&msgid,date.ct.hour,2)) nomem(); | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ ofmipd.c:267:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | if (!stralloc_catint0(&msgid,date.ct.minute,2)) nomem(); | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ ofmipd.c:268:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | if (!stralloc_catint0(&msgid,date.ct.second,2)) nomem(); | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ ofmipd.c:269:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | if (!stralloc_cats(&msgid,".")) nomem(); | ^ ofmipd.c:270:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | if (!stralloc_catint(&msgid,++idcounter)) nomem(); | ^ ./stralloc.h:27:49: note: expanded from macro 'stralloc_catint' 27 | #define stralloc_catint(sa,i) (stralloc_catlong0((sa),(long) (i),0)) | ^ ofmipd.c:271:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | if (!stralloc_cat(&msgid,&idappend)) nomem(); | ^ ofmipd.c:272:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | if (!stralloc_cats(&msgid,">\n")) nomem(); | ^ ofmipd.c:279:23: warning: passing arguments to 'mess822_quote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if (!mess822_quote(&tmp,mailfrom.s,name)) nomem(); | ^ ofmipd.c:301:18: warning: passing arguments to 'timeoutread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | r = timeoutread(timeout,fd,buf,len); | ^ ofmipd.c:297:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | int saferead(fd,buf,len) int fd; char *buf; int len; | ^ ofmipd.c:317:21: warning: passing arguments to 'mess822_begin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | if (!mess822_begin(&h,a)) nomem(); | ^ ofmipd.c:320:9: warning: call to undeclared function 'getln'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | if (getln(&ssin,&line,&match,'\n') == -1) die_read(); | ^ ofmipd.c:333:22: warning: passing arguments to 'mess822_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | if (!mess822_ok(&line)) { | ^ ofmipd.c:341:24: warning: passing arguments to 'mess822_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | if (!mess822_line(&h,&line)) nomem(); | ^ ofmipd.c:354:10: warning: passing arguments to 'tai_now' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | tai_now(&now); | ^ ofmipd.c:355:14: warning: passing arguments to 'caltime_utc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | caltime_utc(&datastart.ct,&now,(int *) 0,(int *) 0); | ^ ofmipd.c:357:20: warning: passing arguments to 'mess822_date' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | if (!mess822_date(&datastamp,&datastart)) nomem(); | ^ ofmipd.c:362:17: warning: passing arguments to 'qmail_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | if (qmail_open(&qqt) == -1) { err_qqt(); return; } | ^ ofmipd.c:365:12: warning: passing arguments to 'qmail_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | qmail_put(&qqt,received.s,received.len); | ^ ofmipd.c:366:12: warning: passing arguments to 'qmail_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | qmail_put(&qqt,datastamp.s,datastamp.len); | ^ ofmipd.c:367:13: warning: passing arguments to 'qmail_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | qmail_puts(&qqt,"\n"); | ^ ofmipd.c:369:13: warning: passing arguments to 'qmail_from' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | qmail_from(&qqt,mailfrom.s); | ^ ofmipd.c:370:12: warning: passing arguments to 'qmail_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | qmail_put(&qqt,rcptto.s,rcptto.len); | ^ ofmipd.c:372:20: warning: passing arguments to 'qmail_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | qqx = qmail_close(&qqt); | ^ ofmipd.c:384:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 384 | while (ch = *in++) { | ~~~^~~~~~~ ofmipd.c:384:13: note: place parentheses around the assignment to silence this warning 384 | while (ch = *in++) { | ^ | ( ) ofmipd.c:384:13: note: use '==' to turn this assignment into an equality comparison 384 | while (ch = *in++) { | ^ | == ofmipd.c:391:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | if (!stralloc_append(out,&ch)) nomem(); | ^ ofmipd.c:379:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | void safecats(out,in) | ^ ofmipd.c:399:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | if (!stralloc_copys(&received,"Received: (ofmipd ")) nomem(); | ^ ofmipd.c:400:14: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | x = env_get("TCPREMOTEINFO"); | ^ ofmipd.c:403:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | if (!stralloc_append(&received,"@")) nomem(); | ^ ofmipd.c:405:14: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | x = env_get("TCPREMOTEIP"); | ^ ofmipd.c:408:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | if (!stralloc_cats(&received,"); ")) nomem(); | ^ ofmipd.c:425:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 425 | void main(argc,argv) | ^ ofmipd.c:425:1: note: change return type to 'int' 425 | void main(argc,argv) | ^~~~ | int ofmipd.c:433:13: warning: call to undeclared function 'open_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 433 | fdcdb = open_read(fncdb); | ^ ofmipd.c:438:7: warning: call to undeclared function 'leapsecs_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 438 | if (leapsecs_init() == -1) die_config(); | ^ ofmipd.c:439:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 439 | if (chdir(auto_qmail) == -1) die_config(); | ^ ofmipd.c:440:7: warning: call to undeclared function 'rwhconfig'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 440 | if (rwhconfig(&rewrite,&idappend) == -1) die_config(); | ^ ofmipd.c:443:11: warning: passing arguments to 'commands' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | commands(&ssin,&smtpcommands); | ^ ofmipd.c:425:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | void main(argc,argv) | ^ 84 warnings generated. --- ofmipd --- ./load ofmipd rewritehost.o rwhconfig.o config.o qmail.o auto_qmail.o timeoutread.o timeoutwrite.o commands.o env.a cdb.a mess822.a libtai.a getln.a strerr.a substdio.a stralloc.a alloc.a error.a case.a str.a fs.a open.a wait.a sig.a fd.a --- new-inject.o --- new-inject.c:25:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | strerr_die2x(111,FATAL,"out of memory"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ new-inject.c:52:24: warning: passing arguments to 'rewritehost_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | if (!rewritehost_list(&tmp,list->s,list->len,config_data(&rewrite))) nomem(); | ^ new-inject.c:53:21: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if (!stralloc_copy(list,&tmp)) nomem(); | ^ new-inject.c:49:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | void rewritelist(list) | ^ new-inject.c:69:35: warning: call to undeclared function 'str_len'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | if (!rewritehost_addr(&tmp,addr,str_len(addr),config_data(&rewrite))) nomem(); | ^ new-inject.c:69:24: warning: passing arguments to 'rewritehost_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | if (!rewritehost_addr(&tmp,addr,str_len(addr),config_data(&rewrite))) nomem(); | ^ new-inject.c:70:20: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | if (!stralloc_cat(&recipients,&tmp)) nomem(); | ^ new-inject.c:71:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if (!stralloc_0(&recipients)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ new-inject.c:66:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | void recipient_add(addr) | ^ new-inject.c:83:20: 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] 83 | if (!stralloc_catb(&recipients,list->s + i + 1,j - i)) nomem(); | ^ new-inject.c:74:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | void recipient_addlist(list) | ^ new-inject.c:97:21: 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] 97 | if (!stralloc_copyb(&sender,list->s + i + 1,j - i)) nomem(); | ^ new-inject.c:88:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | void sender_get(list) | ^ new-inject.c:110:14: warning: passing arguments to 'qmail_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | qmail_put(&qq,buf,len); | ^ new-inject.c:112:17: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | substdio_put(subfdoutsmall,buf,len); | ^ new-inject.c:105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | void put(buf,len) | ^ new-inject.c:118:11: warning: call to undeclared function 'str_len'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | put(buf,str_len(buf)); | ^ new-inject.c:115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | void puts(buf) | ^ new-inject.c:126:25: warning: passing arguments to 'mess822_quotelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | if (!mess822_quotelist(&tmp,list)) nomem(); | ^ new-inject.c:127:20: warning: passing arguments to 'mess822_fold' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (!mess822_fold(&tmp2,&tmp,name,78)) nomem(); | ^ new-inject.c:121:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | void putlist(name,list) | ^ new-inject.c:187:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 187 | else { | ^ new-inject.c:198:26: warning: passing arguments to 'rewritehost_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | if (!rewritehost_addr(&sender,config_data(&suser)->s,config_data(&suser)->len,config_data(&rewrite))) nomem(); | ^ new-inject.c:200:25: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | if (!stralloc_cats(&sender,"-@[]")) nomem(); | ^ new-inject.c:201:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | if (!stralloc_0(&sender)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ new-inject.c:211:21: warning: passing arguments to 'mess822_quote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | if (!mess822_quote(&tmp,sender.s,(char *) 0)) nomem(); | ^ new-inject.c:218:25: warning: passing arguments to 'mess822_quote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | if (!mess822_quote(&tmp,recipients.s + i,(char *) 0)) nomem(); | ^ new-inject.c:229:16: warning: passing arguments to 'caltime_utc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | caltime_utc(&date.ct,&start,(int *) 0,(int *) 0); | ^ new-inject.c:232:20: warning: passing arguments to 'mess822_date' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | if (!mess822_date(&tmp,&date)) nomem(); | ^ new-inject.c:238: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] 238 | if (!stralloc_copys(&msgid,"Message-ID: <")) nomem(); | ^ new-inject.c:239:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | if (!stralloc_catlong(&msgid,date.ct.date.year)) nomem(); | ^ ./stralloc.h:24:50: note: expanded from macro 'stralloc_catlong' 24 | #define stralloc_catlong(sa,l) (stralloc_catlong0((sa),(l),0)) | ^ new-inject.c:240:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | if (!stralloc_catint0(&msgid,date.ct.date.month,2)) nomem(); | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ new-inject.c:241:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | if (!stralloc_catint0(&msgid,date.ct.date.day,2)) nomem(); | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ new-inject.c:242:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | if (!stralloc_catint0(&msgid,date.ct.hour,2)) nomem(); | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ new-inject.c:243:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | if (!stralloc_catint0(&msgid,date.ct.minute,2)) nomem(); | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ new-inject.c:244:10: warning: passing arguments to 'stralloc_catlong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | if (!stralloc_catint0(&msgid,date.ct.second,2)) nomem(); | ^ ./stralloc.h:26:52: note: expanded from macro 'stralloc_catint0' 26 | #define stralloc_catint0(sa,i,n) (stralloc_catlong0((sa),(long) (i),(n))) | ^ new-inject.c:245:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if (!stralloc_cat(&msgid,&idappend)) nomem(); | ^ new-inject.c:246:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | if (!stralloc_cats(&msgid,">\n")) nomem(); | ^ new-inject.c:255:26: warning: passing arguments to 'rewritehost_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | if (!rewritehost_addr(&tmp2,config_data(&user)->s,config_data(&user)->len,config_data(&rewrite))) nomem(); | ^ new-inject.c:256:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | if (!stralloc_0(&tmp2)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ new-inject.c:258:23: warning: passing arguments to 'mess822_quote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | if (!mess822_quote(&tmp,tmp2.s,config(&name) ? config_data(&name)->s : (char *) 0)) nomem(); | ^ new-inject.c:275:14: warning: passing arguments to 'constmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | if (constmap(&mapmft,list->s + i + 1,j - i - 1)) | ^ new-inject.c:266:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | int inmft(list) | ^ new-inject.c:290:26: 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] 290 | if (!stralloc_cat(&followupto,&to)) nomem(); | ^ new-inject.c:291:26: 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] 291 | if (!stralloc_cat(&followupto,&cc)) nomem(); | ^ new-inject.c:307:19: warning: passing arguments to 'mess822_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | if (!mess822_end(&h)) nomem(); | ^ new-inject.c:310:19: warning: passing arguments to 'qmail_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | if (qmail_open(&qq) == -1) | ^ new-inject.c:311:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | strerr_die2sys(111,FATAL,"unable to run qmail-queue: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ new-inject.c:349: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] 349 | substdio_flush(subfdoutsmall); | ^ new-inject.c:351:15: warning: passing arguments to 'qmail_from' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | qmail_from(&qq,sender.s); | ^ new-inject.c:355:10: warning: passing arguments to 'qmail_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | qmail_to(&qq,recipients.s + i); | ^ new-inject.c:359:22: warning: passing arguments to 'qmail_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | qqx = qmail_close(&qq); | ^ new-inject.c:361:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | strerr_die2x(*qqx == 'D' ? 100 : 111,FATAL,qqx + 1); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ new-inject.c:372:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 372 | void main(argc,argv) | ^ new-inject.c:372:1: note: change return type to 'int' 372 | void main(argc,argv) | ^~~~ | int new-inject.c:381:10: warning: passing arguments to 'tai_now' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | tai_now(&start); | ^ new-inject.c:383:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | if (config_env(&qmailinject,"QMAILINJECT") == -1) nomem(); | ^ new-inject.c:394:23: warning: passing arguments to 'sgetoptmine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | while ((opt = getopt(argc,argv,"nNaAhHFIMRSf:")) != opteof) | ^ new-inject.c:406:2: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | strerr_die1x(100,"new-inject: usage: new-inject [ -nNaAhHFIMRS ] [ -f sender ] [ recip ... ]\n"); | ^ ./strerr.h:78:11: note: expanded from macro 'strerr_die1x' 78 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ new-inject.c:411:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | strerr_die2sys(111,FATAL,"unable to init leapsecs: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ new-inject.c:413:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | if (config_env(&fnmft,"QMAILMFTFILE") == -1) nomem(); | ^ new-inject.c:415:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | if (!stralloc_0(config_data(&fnmft))) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ new-inject.c:416:24: warning: passing arguments to 'config_readfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | if (config_readfile(&mft,config_data(&fnmft)->s) == -1) | ^ new-inject.c:417:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | strerr_die2sys(111,FATAL,"unable to read $QMAILMFTFILE: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ new-inject.c:419:25: warning: passing arguments to 'constmap_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | if (!constmap_init(&mapmft,config_data(&mft)->s,config_data(&mft)->len,0)) nomem(); | ^ new-inject.c:422:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | if (config_env(&fnrewrite,"QMAILREWRITEFILE") == -1) nomem(); | ^ new-inject.c:424:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | if (!stralloc_0(config_data(&fnrewrite))) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ new-inject.c:425:24: warning: passing arguments to 'config_readfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | if (config_readfile(&rewrite,config_data(&fnrewrite)->s) == -1) | ^ new-inject.c:426:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | strerr_die2sys(111,FATAL,"unable to read $QMAILREWRITEFILE: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ new-inject.c:429:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 429 | if (chdir(auto_qmail) == -1) | ^ new-inject.c:430:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | strerr_die4sys(111,FATAL,"unable to switch to ",auto_qmail,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ new-inject.c:432:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | if (config_env(&name,"QMAILNAME") == -1) nomem(); | ^ new-inject.c:433:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | if (config_env(&name,"MAILNAME") == -1) nomem(); | ^ new-inject.c:434:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | if (config_env(&name,"NAME") == -1) nomem(); | ^ new-inject.c:436:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | if (!stralloc_0(config_data(&name))) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ new-inject.c:438:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | if (config_env(&user,"QMAILUSER") == -1) nomem(); | ^ new-inject.c:439:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | if (config_env(&user,"MAILUSER") == -1) nomem(); | ^ new-inject.c:440:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | if (config_env(&user,"USER") == -1) nomem(); | ^ new-inject.c:441:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | if (config_env(&user,"LOGNAME") == -1) nomem(); | ^ new-inject.c:442:21: warning: passing arguments to 'config_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | if (config_default(&user,"anonymous") == -1) nomem(); | ^ new-inject.c:444:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | if (config_env(&suser,"QMAILSUSER") == -1) nomem(); | ^ new-inject.c:445:18: warning: passing arguments to 'config_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | if (config_copy(&suser,&user) == -1) nomem(); | ^ new-inject.c:447:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | if (config_env(&host,"QMAILHOST") == -1) nomem(); | ^ new-inject.c:448:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | if (config_env(&host,"MAILHOST") == -1) nomem(); | ^ new-inject.c:449:21: warning: passing arguments to 'config_default' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | if (config_default(&host,"") == -1) nomem(); | ^ new-inject.c:451:16: warning: passing arguments to 'rwhconfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | if (rwhconfig(&rewrite,&idappend) == -1) | ^ new-inject.c:452:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | strerr_die1(111,FATAL,&rwhconfig_err); | ^ ./strerr.h:52:11: note: expanded from macro 'strerr_die1' 52 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ new-inject.c:454:17: warning: passing arguments to 'config_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | if (config_env(&shost,"QMAILSHOST") == -1) nomem(); | ^ new-inject.c:455:18: warning: passing arguments to 'config_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | if (config_copy(&shost,&host) == -1) nomem(); | ^ new-inject.c:457:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | if (!stralloc_copys(&sender,"")) nomem(); | ^ new-inject.c:459:45: warning: call to undeclared function 'str_len'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 459 | if (!rewritehost_addr(&sender,argsender,str_len(argsender),config_data(&rewrite))) nomem(); | ^ new-inject.c:459:26: warning: passing arguments to 'rewritehost_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | if (!rewritehost_addr(&sender,argsender,str_len(argsender),config_data(&rewrite))) nomem(); | ^ new-inject.c:460:10: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | if (!stralloc_0(&sender)) nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ new-inject.c:466:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | if (!stralloc_copys(&recipients,"")) nomem(); | ^ new-inject.c:476:13: warning: passing arguments to 'tai_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | tai_pack(nowpack,&start); | ^ new-inject.c:481:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | if (!stralloc_cats(config_data(&suser),"-")) nomem(); | ^ new-inject.c:482:28: warning: passing arguments to 'stralloc_catulong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | if (!stralloc_catulong0(config_data(&suser),u,0)) nomem(); | ^ new-inject.c:483:9: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 483 | u = getpid(); | ^ new-inject.c:484:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | if (!stralloc_cats(config_data(&suser),".")) nomem(); | ^ new-inject.c:485:28: warning: passing arguments to 'stralloc_catulong0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | if (!stralloc_catulong0(config_data(&suser),u,0)) nomem(); | ^ new-inject.c:488:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | if (!stralloc_cats(config_data(&suser),"-")) nomem(); | ^ new-inject.c:489:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | if (!stralloc_cats(config_data(&suser),"@")) nomem(); | ^ new-inject.c:490:20: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | if (!stralloc_cat(config_data(&suser),config_data(&shost))) nomem(); | ^ new-inject.c:492:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | if (!stralloc_cats(config_data(&user),"@")) nomem(); | ^ new-inject.c:493:20: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | if (!stralloc_cat(config_data(&user),config_data(&host))) nomem(); | ^ new-inject.c:496:21: warning: passing arguments to 'mess822_begin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | if (!mess822_begin(&h,a)) nomem(); | ^ new-inject.c:498:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | if (getln(subfdinsmall,&line,&match,'\n') == -1) | ^ new-inject.c:499:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | strerr_die2sys(111,FATAL,"unable to read input: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ new-inject.c:502:27: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | if (!stralloc_append(&line,"\n")) nomem(); | ^ new-inject.c:504:22: warning: passing arguments to 'mess822_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | if (!mess822_ok(&line)) { | ^ new-inject.c:512:24: warning: passing arguments to 'mess822_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | if (!mess822_line(&h,&line)) nomem(); | ^ new-inject.c:372:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | void main(argc,argv) | ^ 111 warnings generated. --- new-inject --- ./load new-inject qmail.o auto_qmail.o rewritehost.o rwhconfig.o constmap.o config.o env.a getopt.a mess822.a getln.a strerr.a substdio.a stralloc.a alloc.a error.a sig.a fd.a wait.a open.a case.a str.a fs.a libtai.a =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for mess822-0.58_4 ===> Generating temporary packing list ./compile install.c install.c:21:7: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | if (mkdir(home,0700) == -1) | ^ install.c:23:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | strerr_die4sys(111,FATAL,"unable to mkdir ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:24:7: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | if (chown(home,uid,gid) == -1) | ^ install.c:25:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | strerr_die4sys(111,FATAL,"unable to chown ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:26:7: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | if (chmod(home,mode) == -1) | ^ install.c:27:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | strerr_die4sys(111,FATAL,"unable to chmod ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:15:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | void h(home,uid,gid,mode) | ^ install.c:37:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | if (chdir(home) == -1) | ^ install.c:38:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:39:7: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | if (mkdir(subdir,0700) == -1) | ^ install.c:41:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | strerr_die6sys(111,FATAL,"unable to mkdir ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:42:7: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | if (chown(subdir,uid,gid) == -1) | ^ install.c:43:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | strerr_die6sys(111,FATAL,"unable to chown ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:44:7: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | if (chmod(subdir,mode) == -1) | ^ install.c:45:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | strerr_die6sys(111,FATAL,"unable to chmod ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:30:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | void d(home,subdir,uid,gid,mode) | ^ install.c:64:7: warning: call to undeclared function 'fchdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | if (fchdir(fdsourcedir) == -1) | ^ install.c:65:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | strerr_die2sys(111,FATAL,"unable to switch back to source directory: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:67:19: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | fdin = open_read(file); | ^ install.c:69:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | strerr_die4sys(111,FATAL,"unable to read ",file,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:70:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | substdio_fdbuf(&ssin,read,fdin,inbuf,sizeof inbuf); | ^ install.c:72:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | if (chdir(home) == -1) | ^ install.c:73:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:75:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | strerr_die6sys(111,FATAL,"unable to switch to ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:77:21: warning: passing arguments to 'open_trunc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | fdout = open_trunc(file); | ^ install.c:79:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:80:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | substdio_fdbuf(&ssout,write,fdout,outbuf,sizeof outbuf); | ^ install.c:82:23: warning: passing arguments to 'substdio_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | switch(substdio_copy(&ssout,&ssin)) { | ^ install.c:84:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | strerr_die4sys(111,FATAL,"unable to read ",file,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:86:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:89:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | close(fdin); | ^ install.c:90:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | if (substdio_flush(&ssout) == -1) | ^ install.c:91:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:92:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | if (fsync(fdout) == -1) | ^ install.c:93:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:95:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:97:7: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | if (chown(file,uid,gid) == -1) | ^ install.c:98:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | strerr_die6sys(111,FATAL,"unable to chown .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:99:7: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | if (chmod(file,mode) == -1) | ^ install.c:100:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | strerr_die6sys(111,FATAL,"unable to chmod .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:53:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | void c(home,subdir,file,uid,gid,mode) | ^ install.c:114:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | if (chdir(home) == -1) | ^ install.c:115:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:117:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | strerr_die6sys(111,FATAL,"unable to switch to ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:119:21: warning: passing arguments to 'open_trunc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | fdout = open_trunc(file); | ^ install.c:121:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:122:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | substdio_fdbuf(&ssout,write,fdout,outbuf,sizeof outbuf); | ^ install.c:125: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] 125 | if (substdio_put(&ssout,"",1) == -1) | ^ install.c:126:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:128:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | if (substdio_flush(&ssout) == -1) | ^ install.c:129:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:130:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | if (fsync(fdout) == -1) | ^ install.c:131:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:132:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | if (close(fdout) == -1) /* NFS silliness */ | ^ install.c:133:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:135:7: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | if (chown(file,uid,gid) == -1) | ^ install.c:136:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | strerr_die6sys(111,FATAL,"unable to chown .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:137:7: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | if (chmod(file,mode) == -1) | ^ install.c:138:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | strerr_die6sys(111,FATAL,"unable to chmod .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:103:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | void z(home,subdir,file,len,uid,gid,mode) | ^ install.c:141:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 141 | void main() | ^ install.c:141:1: note: change return type to 'int' 141 | void main() | ^~~~ | int install.c:143:26: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | fdsourcedir = open_read("."); | ^ install.c:145:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | strerr_die2sys(111,FATAL,"unable to open current directory: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:147:3: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | umask(077); | ^ 64 warnings generated. ./compile hier.c hier.c:5:3: warning: call to undeclared function 'h'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 5 | h(auto_home,-1,-1,0755); | ^ hier.c:7:3: warning: call to undeclared function 'd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 7 | d(auto_home,"bin",-1,-1,0755); | ^ hier.c:17:3: warning: call to undeclared function 'c'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | c(auto_home,"lib","mess822.a",-1,-1,0644); | ^ 3 warnings generated. ./auto-str auto_home `head -1 conf-home` > auto_home.c ./compile auto_home.c ./load install hier.o auto_home.o strerr.a substdio.a stralloc.a alloc.a open.a error.a str.a ./install ./compile instcheck.c instcheck.c:27:7: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," does not exist",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:29:7: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | strerr_warn4(WARNING,"unable to stat .../",file,": ",&strerr_sys); | ^ ./strerr.h:33:12: note: expanded from macro 'strerr_warn4' 33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ instcheck.c:34:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong owner",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:36:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong group",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:38:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong permissions",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:40:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong type",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:13:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | void perm(prefix1,prefix2,prefix3,file,type,uid,gid,mode) | ^ instcheck.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | void h(home,uid,gid,mode) | ^ instcheck.c:59:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | if (chdir(home) == -1) | ^ instcheck.c:60:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ instcheck.c:52:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | void d(home,subdir,uid,gid,mode) | ^ instcheck.c:71:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | if (chdir(home) == -1) | ^ instcheck.c:72:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ instcheck.c:64:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | void p(home,fifo,uid,gid,mode) | ^ instcheck.c:84:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | if (chdir(home) == -1) | ^ instcheck.c:85:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ instcheck.c:87:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | strerr_die6sys(111,FATAL,"unable to switch to ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ instcheck.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | void c(home,subdir,file,uid,gid,mode) | ^ instcheck.c:99:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | if (chdir(home) == -1) | ^ instcheck.c:100:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ instcheck.c:91:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | void z(home,file,len,uid,gid,mode) | ^ instcheck.c:104:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 104 | void main() | ^ instcheck.c:104:1: note: change return type to 'int' 104 | void main() | ^~~~ | int 22 warnings generated. ./load instcheck hier.o auto_home.o strerr.a substdio.a stralloc.a alloc.a error.a str.a ./instcheck ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-11T23:34:18+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=74b8645f51e9' '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 mess822-0.58_4 ===> Building mess822-0.58_4 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for mess822-0.58_4 build of mail/mess822 | mess822-0.58_4 ended at Wed Mar 11 19:34:23 EDT 2026 build time: 00:00:06