=>> Building mail/procmail-bgrb build started at Wed Oct 1 23:56:52 EDT 2025 port directory: /usr/ports/mail/procmail-bgrb package name: procmail-bgrb-3.24_2 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: cy@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1356 Aug 27 2024 /usr/ports/mail/procmail-bgrb/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: a046c6f225fc Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 01 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/01/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for procmail-bgrb-3.24_2: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- cy@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/procmail-bgrb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/procmail-bgrb/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/procmail-bgrb/work/.cache HOME=/wrkdirs/usr/ports/mail/procmail-bgrb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/procmail-bgrb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/procmail-bgrb/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/procmail-bgrb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/procmail-bgrb/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/procmail-bgrb/work/.cache HOME=/wrkdirs/usr/ports/mail/procmail-bgrb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/procmail-bgrb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/procmail-bgrb/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PORTEXAMPLES="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/procmail" EXAMPLESDIR="share/examples/procmail" DATADIR="share/procmail" WWWDIR="www/procmail" ETCDIR="etc/procmail" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/procmail DOCSDIR=/usr/local/share/doc/procmail EXAMPLESDIR=/usr/local/share/examples/procmail WWWDIR=/usr/local/www/procmail ETCDIR=/usr/local/etc/procmail --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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> procmail-bgrb-3.24_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.1: .......... done ===> procmail-bgrb-3.24_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of procmail-bgrb-3.24_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by procmail-bgrb-3.24_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by procmail-bgrb-3.24_2 for building => SHA256 Checksum OK for BuGlessRB-procmail-v3.24_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by procmail-bgrb-3.24_2 for building ===> Extracting for procmail-bgrb-3.24_2 => SHA256 Checksum OK for BuGlessRB-procmail-v3.24_GH0.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 procmail-bgrb-3.24_2 ===> Applying FreeBSD patches for procmail-bgrb-3.24_2 from /usr/ports/mail/procmail-bgrb/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> procmail-bgrb-3.24_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> procmail-bgrb-3.24_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of procmail-bgrb-3.24_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> procmail-bgrb-3.24_2 depends on shared library: libnet.so - not found ===> Installing existing package /packages/All/libnet-1.3,1.pkg [pkg.DaveG.ca] Installing libnet-1.3,1... [pkg.DaveG.ca] Extracting libnet-1.3,1: .......... done ===> procmail-bgrb-3.24_2 depends on shared library: libnet.so - found (/usr/local/lib/libnet.so) ===> Returning to build of procmail-bgrb-3.24_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for procmail-bgrb-3.24_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for procmail-bgrb-3.24_2 --- init --- /bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln" "-lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun -lgen -lsockdns -ldl" "/lib /usr/lib /usr/local/lib" /dev/null "/usr/bin/make" o "cc" "" "-s " "procmail lockfile formail mailstat" "procmail formail lockfile mailstat" "procmailrc procmailsc procmailex" "src man" "/usr/local/bin" "strip" cc seems to work fine, using that as the C-compiler ...scanning for 13 libraries... Added LDFLAGS= -lm -ldl -lc --- all --- /usr/bin/make make all --- make --- --- config.check --- --- autoconf.h --- --- config.check --- echo Housekeeping file >config.check --- autoconf.h --- /usr/bin/make -C src ../autoconf.h --- ../autoconf.h --- /bin/sh ./autoconf /bin/sh "/bin/rm -f" "mv -f" /dev/null "grep -F" "/usr/bin/make" o "__defaults__" "/usr/local/bin" ../autoconf.h ============================================================================== In order for the kernel-locking tests to work as intended I have to be able to test-lock files on as many semantically different filesystems as possible (for more information about this, READ PARAGRAPH TWO in INSTALL). To suppress this prompt you can set the LOCKINGTEST variable in the Makefile.  Please add writable directories to the list. You should only add directories that reside on filesystems that have unique characteristics. E.g. if you have several remote NFS partitions, pick some unique client-server pairs, there is little use in picking the same server twice from the same client-machine. An excellent candidate would be a remotely mounted mail spool directory. ============================================================================== I will temporarily use a testdirectory named _locktest in the following directories: /tmp . If you would like to add any, please specify them below, press return to continue: Initiating fcntl()/kernel-locking-support tests Proceeding with kernel-locking-support tests in the background Testing for const Testing for volatile Testing for enum Your system appears to not (correctly) support at least one of: const, volatile, function prototypes, and enum types. Future versions of procmail will probably require support for all of them, so you should either upgrade your compiler to one that's compliant with the ISO C standard (the standard's over 10 years old, for goodness sake), or send email to explaining why you need procmail to continue to support K&R C. Checking for POSIX and ANSI/ISO system include files Checking for network/comsat/biff support Testing for void*, size_t, off_t, pid_t, time_t, mode_t, uid_t & gid_t Checking realloc implementation Testing for WIFEXITED(), WIFSTOPPED(), WEXITSTATUS() & WSIGTERM() Testing for various struct passwd members Testing for memmove, strchr, strpbrk, strcspn, strtol, strstr, rename, setrgid, setegid, pow, opendir, mkdir, waitpid, fsync, ftruncate, strtod, strncasecmp, strerror, strlcat, memset, bzero, and _exit Determining the maximum number of 16 byte arguments execv() takes Benchmarking your system's strstr() implementation Waiting for the kernel-locking tests to finish... Every two digits a file is locked. First digit: which file, second digit: which program, XX indicates a lock conflict or failure Starting test 4 on /tmp/_locktest XX3a 17XX3aXX8 01XX8XX10 02XX10XX2a 15XX2aXX22 14XX22XX32 16XX32XX18 03XX18XX0 00XX0 Starting test 2 on /tmp/_locktest 10 12 06 07 14 13 11 10 12 11 05 06 16 16 07 17 04 14 03 13 00 10 10 10 02 12 12 01 11 11 05 15 15 06 16 07 04 14 03 13 00 02 12 01 11 05 15 06 16 07 17 17 17 17 04 14 14 14 03 13 13 13 00 10 Starting test 2 on ./_locktest 00 03 04 16 17 13 05 01 02 00 01 14 04 04 04 16 06 17 07 13 15 05 05 05 12 10 00 11 01 14 04 04 16 06 06 17 07 07 13 03 15 05 05 12 10 00 11 01 14 16 06 06 17 07 07 13 15 12 02 10 00 11 01 13 03 03 Starting test 3 on /tmp/_locktest Collecting results from kernel-locking tests =============================autoconf.h=================================== /* This file was automagically generated by autoconf */ #define NO_const #define P(args) () /* 2 moves in 64 steps of size 16384 when reallocing */ #define WMACROS_NON_POSIX #define GOT_bin_test #define MAX_argc 30720 /* Your system's strstr() is 1.00 times SLOWER than my C-routine */ #define UDP_protocolno 17 #define BIFF_serviceport "512" #define IP_localhost {127,0,0,1} #ifndef MAILSPOOLDIR #define MAILSPOOLDIR "/var/mail/" #endif #define SENDMAIL "/usr/sbin/sendmail" #define CF_no_procmail_yet #define defPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/bin" #define defSPATH "PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/bin" #define PM_VERSION "3.24" /*locktype: 4, countlocks: 80, timeout 0, watchdog 14, /tmp/_locktest*/ /*locktype: 2, countlocks: 0, timeout 0, watchdog 8, /tmp/_locktest*/ /*locktype: 2, countlocks: 0, timeout 0, watchdog 8, ./_locktest*/ /*locktype: 3, countlocks: 80, timeout 1, watchdog 17, /tmp/_locktest*/ /* Hotwire LOCKINGTEST=010 */ /* Procmail will lock via: dotlocking, lockf() */ #define NOfcntl_lock #define USElockf /* autoconf completed */ ========================================================================== --- bins --- --- mans --- --- recommend --- --- bins --- /usr/bin/make -C src ../new/procmail ../new/lockfile ../new/formail ../new/mailstat --- mans --- /usr/bin/make -C man ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/mailstat.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5 --- man_sed --- --- recommend --- --- sublib.o --- --- recommend.o --- --- sublib.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing sublib.c --- mans --- --- ../man/man.sed --- --- bins --- --- mailstat --- --- acommon.o --- --- authenticate.o --- --- common.o --- --- comsat.o --- --- cstdio.o --- --- ecommon.o --- --- exopen.o --- --- fields.o --- --- foldinfo.o --- --- formail.o --- --- formisc.o --- --- goodies.o --- --- mailstat --- cp ../examples/mailstat mailstat --- acommon.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing acommon.c In file included from acommon.c:13: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ --- authenticate.o --- cc -c -DPROCMAIL -O2 -pipe -fstack-protector-strong -fno-strict-aliasing authenticate.c --- common.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing common.c --- comsat.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing comsat.c --- cstdio.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing cstdio.c --- ecommon.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ecommon.c --- exopen.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing exopen.c --- fields.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing fields.c --- foldinfo.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing foldinfo.c --- formail.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing formail.c --- formisc.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing formisc.c --- lastdirsep.o --- --- acommon.o --- | ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from acommon.c:13: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ acommon.c:40:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | char*ultoan(val,dest)unsigned long val;char*dest; /* convert to a number */ | ^ In file included from acommon.c:14: ./acommon.h:6:3: warning: a function declaration without a prototype is 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 | *ultoan P((unsigned long val,char*dest)), | ^ acommon.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 | char*ultstr(minwidth,val,dest)int minwidth;unsigned long val;char*dest; | ^ In file included from acommon.c:14: ./acommon.h:7:3: warning: a function declaration without a prototype is 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 | *ultstr P((int minwidth,unsigned long val,char*dest)); | ^ 25 warnings generated. --- goodies.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing goodies.c --- lastdirsep.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lastdirsep.c --- lmtp.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lmtp.c --- mans --- In file included from manconf.c:6: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from manconf.c:6: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ manconf.c:28:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | static char*skltmark(nl,current)int nl;char**current; | ^ manconf.c:38:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | static void putcesc(i)int i; | ^ manconf.c:57:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | static void putsesc(a)const char*a; | ^ manconf.c:71:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | static void pname(name,supps)const char*const name;int supps; | ^ manconf.c:84:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | static void pnr(name,value)const char*const name;const long value; | ^ manconf.c:92:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | static void plist(name,preamble,list,postamble,ifno,andor) | ^ manconf.c:111:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | static void ps(name,value)const char*const name,*const value; | ^ manconf.c:115:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | static void pc(name,value)const char*const name;const int value; | ^ manconf.c:368:23: warning: while loop has empty body [-Wempty-body] 368 | while(*++p=='\t');*(q=strchr(p,'\n'))='\0'; | ^ manconf.c:368:23: note: put the semicolon on a separate line to silence this warning manconf.c:119:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | int main(argc,argv)int argc;const char*const argv[]; | ^ --- bins --- --- common.o --- In file included from common.c:11: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- recommend --- In file included from sublib.c:13: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- bins --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- recommend --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- bins --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from common.c:11: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] --- recommend --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from sublib.c:13: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ --- bins --- 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ --- recommend --- | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] --- bins --- ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ common.c:29:44: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 29 | for(*(p=(const char**)newargv)=binsh;*++p= *argv++;); | ~~~~^~~~~~~~~ common.c:29:44: note: place parentheses around the assignment to silence this warning 29 | for(*(p=(const char**)newargv)=binsh;*++p= *argv++;); | ^ | ( ) common.c:29:44: note: use '==' to turn this assignment into an equality comparison --- recommend --- 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ 21 warnings generated. --- bins --- 29 | for(*(p=(const char**)newargv)=binsh;*++p= *argv++;); | ^ | == common.c:30:31: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | execv(*newargv,newargv);nlog("Failed to execute");logqnl(newargv[1]); | ^ common.c:30:59: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | execv(*newargv,newargv);nlog("Failed to execute");logqnl(newargv[1]); | ^ common.c:18:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | void shexec(argv)const char*const*argv; | ^ In file included from common.c:16: ./common.h:4:2: warning: a function declaration without a prototype is 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 | shexec P((const char*const*argv)) __attribute__((noreturn)), | ^ common.c:35:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 35 | { while(p=strpbrk(p,"\t\n\v\f\r")) | ~^~~~~~~~~~~~~~~~~~~~~~~~ common.c:35:10: note: place parentheses around the assignment to silence this warning 35 | { while(p=strpbrk(p,"\t\n\v\f\r")) | ^ | ( ) common.c:35:10: note: use '==' to turn this assignment into an equality comparison 35 | { while(p=strpbrk(p,"\t\n\v\f\r")) | ^ | == common.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 detab(p)char*p; | ^ In file included from common.c:16: ./common.h:5:2: warning: a function declaration without a prototype is 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 | detab P((char*p)); | ^ common.c:39:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | char*skpspace(chp)const char*chp; | ^ In file included from common.c:16: ./common.h:7:3: warning: a function declaration without a prototype is 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 | *skpspace P((const char*chp)); | ^ common.c:59:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | int waitfor(pid)const pid_t pid; /* wait for a specific process */ | ^ 32 warnings generated. --- lockfile.o --- --- locking.o --- --- lockfile.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lockfile.c --- locking.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing locking.c --- ecommon.o --- In file included from ecommon.c:11: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from ecommon.c:11: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ ecommon.c:19:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | void*tmalloc(len)const size_t len; | ^ ecommon.c:21:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 21 | if(p=malloc(len)) | ~^~~~~~~~~~~~ ecommon.c:21:7: note: place parentheses around the assignment to silence this warning 21 | if(p=malloc(len)) | ^ | ( ) ecommon.c:21:7: note: use '==' to turn this assignment into an equality comparison 21 | if(p=malloc(len)) | ^ | == ecommon.c:23:7: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | nlog(outofmem);exit(EX_OSERR); | ^ ecommon.c:26:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | void*trealloc(old,len)void*old;const size_t len; | ^ ecommon.c:27:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 27 | { if(old=realloc(old,len)) | ~~~^~~~~~~~~~~~~~~~~ ecommon.c:27:9: note: place parentheses around the assignment to silence this warning 27 | { if(old=realloc(old,len)) | ^ | ( ) ecommon.c:27:9: note: use '==' to turn this assignment into an equality comparison 27 | { if(old=realloc(old,len)) | ^ | == ecommon.c:29:7: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | nlog(outofmem);exit(EX_OSERR); | ^ ecommon.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 tfree(a)void*a; | ^ In file included from ecommon.c:12: ./ecommon.h:6:2: warning: a function declaration without a prototype is 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 | tfree P((void*a)); | ^ 29 warnings generated. --- authenticate.o --- In file included from authenticate.c:20: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- foldinfo.o --- In file included from foldinfo.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- mailfold.o --- --- authenticate.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- foldinfo.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- formisc.o --- In file included from formisc.c:11: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- authenticate.o --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from authenticate.c:20: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ --- foldinfo.o --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from foldinfo.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] --- formisc.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- authenticate.o --- | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] --- foldinfo.o --- 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ --- formisc.o --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from formisc.c:11: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ --- authenticate.o --- 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ authenticate.c:50:41: warning: '/*' within block comment [-Wcomment] 50 | /*#define MAILSPOOLHOME "/.mail" /* watch the leading / */ | ^ authenticate.c:62:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | static void castlower(str)register char*str; /* and I'll take the low road */ | ^ authenticate.c:68:28: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- foldinfo.o --- ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ foldinfo.c:61:18: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | *p++='.';ultoan((unsigned long)stbuf->st_ino,p); /* i-node numbered */ | ^ foldinfo.c:63:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | { nlog("Renaming bogus mailbox \"");elog(name);elog("\" info"); | ^ --- formisc.o --- | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] --- authenticate.o --- 68 | static const struct passwd*cgetpwnam(user,sock)const char*const user; | ^ authenticate.c:73:28: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | static const struct passwd*cgetpwuid(uid,sock)const uid_t uid;const int sock; | ^ authenticate.c:80:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 80 | if(p=strchr(user,'@')) /* does the username contain an @? */ | ~^~~~~~~~~~~~~~~~~ authenticate.c:80:10: note: place parentheses around the assignment to silence this warning 80 | if(p=strchr(user,'@')) /* does the username contain an @? */ | ^ | ( ) authenticate.c:80:10: note: use '==' to turn this assignment into an equality comparison --- foldinfo.o --- foldinfo.c:63:44: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | { nlog("Renaming bogus mailbox \"");elog(name);elog("\" info"); | ^ foldinfo.c:63:55: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | { nlog("Renaming bogus mailbox \"");elog(name);elog("\" info"); | ^ foldinfo.c:64:12: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | logqnl(buf2); | ^ foldinfo.c:54:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- formisc.o --- 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ formisc.c:20:19: 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 const char*skipcomment(start)const char*start; | ^ formisc.c:31:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | char*skipwords(start)char*start; /* skips an RFC 822 address */ | ^ In file included from formisc.c:18: --- authenticate.o --- 80 | if(p=strchr(user,'@')) /* does the username contain an @? */ | ^ | == authenticate.c:88:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | free(authi.mbox),authi.mbox=0; /* clear the reference */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ authenticate.c:77:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | /*const*/auth_identity*auth_finduser(user,sock)char*const user;const int sock; | ^ In file included from authenticate.c:39: --- foldinfo.o --- 54 | int rnmbogus(name,stbuf,i,dolog)const char*const name; /* move a file */ | ^ foldinfo.c:77:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | static mode_t trymkdir(dir,paranoid,i)const char*const dir; | ^ foldinfo.c:101:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | static int mkmaildir(buffer,chp,paranoid)char*const buffer,*const chp; | ^ foldinfo.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 foldertype(type,forcedir,modep,paranoid)int type,forcedir; | ^ --- formisc.o --- ./formisc.h:18:2: warning: a function declaration without a prototype is 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 | skipwords P((char*start)); | ^ formisc.c:97:22: warning: passing arguments to 'loadchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | { default:loadchar(' '); /* make sure it has leading whitespace */ | ^ formisc.c:95:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | void loadsaved(sp)const struct saved*const sp; /* load some saved text */ | ^ In file included from formisc.c:18: --- authenticate.o --- ./authenticate.h:14:3: warning: a function declaration without a prototype is 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 | *auth_finduser P((char*const user,const int sock)), | ^ authenticate.c:92:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | /*const*/auth_identity*auth_finduid(uid,sock)const uid_t uid;const int sock; | ^ authenticate.c:97:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | free(authi.mbox),authi.mbox=0; /* nix old mailbox reference */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ --- foldinfo.o --- foldinfo.c:136:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | nlog("Internal error: improper type ("); | ^ foldinfo.c:137:7: warning: passing arguments to 'ltstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | ltstr(0,type,buf2);elog(buf2); | ^ foldinfo.c:137:25: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | ltstr(0,type,buf2);elog(buf2); | ^ foldinfo.c:138:6: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | elog(") passed to foldertype for folder ");logqnl(buf); | ^ --- formisc.o --- ./formisc.h:4:2: warning: a function declaration without a prototype is 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 | loadsaved P((const struct saved*const sp)), | ^ formisc.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 loadbuf(text,len)const char*const text;const size_t len; | ^ formisc.c:109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | void loadchar(c)const int c; /* append one character to buf */ | ^ In file included from formisc.c:18: --- authenticate.o --- authenticate.c:130:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | free(newpass->mbox),newpass->mbox=0; | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ authenticate.c:137:19: warning: passing arguments to 'cstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | np->pw_name=cstr(np->pw_name,op->pw_name); | ^ authenticate.c:138:18: warning: passing arguments to 'cstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | np->pw_dir=cstr(np->pw_dir,op->pw_dir); | ^ --- foldinfo.o --- foldinfo.c:138:51: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | elog(") passed to foldertype for folder ");logqnl(buf); | ^ foldinfo.c:149:34: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | memcpy(buf2,buf,i=lastdirsep(buf)-buf),buf2[i]='\0'; | ^ foldinfo.c:153:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | { nlog("Unable to treat as directory");logqnl(buf); /* we can't make it */ | ^ --- formisc.o --- ./formisc.h:6:2: warning: a function declaration without a prototype is 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 | loadchar P((const int c)), | ^ formisc.c:130:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | void elog(a)const char*const a; /* error output */ | ^ In file included from formisc.c:18: ./formisc.h:7:2: warning: a function declaration without a prototype is 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 | elog P((const char*const a)), | ^ formisc.c:134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- authenticate.o --- authenticate.c:139:20: warning: passing arguments to 'cstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | np->pw_shell=cstr(np->pw_shell,op->pw_shell); | ^ authenticate.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 auth_copyid(newpass,oldpass)auth_identity*newpass; | ^ In file included from authenticate.c:39: ./authenticate.h:32:2: warning: a function declaration without a prototype is 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 | auth_copyid P((auth_identity*newpass,const auth_identity*oldpass)), | ^ authenticate.c:148:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 148 | if(p=(struct passwd*)pass->pw) --- foldinfo.o --- foldinfo.c:153:49: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | { nlog("Unable to treat as directory");logqnl(buf); /* we can't make it */ | ^ foldinfo.c:155:26: warning: passing arguments to 'skipped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | { *chp='\0';skipped(buf);type=ft_CANTCREATE; | ^ foldinfo.c:171:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | int screenmailbox(chp,egid,doautoforward) | ^ foldinfo.c:183:23: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | ch= *(chp=lastdirsep(buf)); --- formisc.o --- 134 | void tputssn(a,l)const char*a;size_t l; | ^ formisc.c:139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | void ltputssn(a,l)const char*a;size_t l; | ^ formisc.c:146:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | void lputcs(i)const int i; | ^ In file included from formisc.c:18: ./formisc.h:10:2: warning: a function declaration without a prototype is 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 | lputcs P((const int i)), | ^ formisc.c:168:8: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- authenticate.o --- | ~^~~~~~~~~~~~~~~~~~~~~~~~~ authenticate.c:148:7: note: place parentheses around the assignment to silence this warning 148 | if(p=(struct passwd*)pass->pw) | ^ | ( ) authenticate.c:148:7: note: use '==' to turn this assignment into an equality comparison 148 | if(p=(struct passwd*)pass->pw) | ^ | == authenticate.c:146:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | static void auth_zeroout(pass)auth_identity*pass; | ^ authenticate.c:170:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 170 | if(p=(struct passwd*)pass->pw) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ authenticate.c:170:7: note: place parentheses around the assignment to silence this warning 170 | if(p=(struct passwd*)pass->pw) --- foldinfo.o --- | ^ foldinfo.c:205:14: warning: passing arguments to 'checkroot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | { checkroot('g',(unsigned long)sgid); | ^ foldinfo.c:254:27: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | { int i=lastdirsep(buf)-buf; | ^ foldinfo.c:267:9: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | { nlog("Autoforwarding mailbox found\n"); | ^ foldinfo.c:276:12: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- formisc.o --- 168 | ultstr(lenfileno-(val<0),val<0?-val:val,chp); | ^ formisc.c:192:8: warning: passing arguments to 'shexec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | shexec(argv); | ^ formisc.c:199:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | nlog("Can't fork\n"),exit(EX_OSERR); | ^ formisc.c:153:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | void startprog(argv)const char*Const*const argv; | ^ In file included from formisc.c:18: --- authenticate.o --- | ^ | ( ) authenticate.c:170:7: note: use '==' to turn this assignment into an equality comparison 170 | if(p=(struct passwd*)pass->pw) | ^ | == authenticate.c:171:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | free(p->pw_name),free(p->pw_dir),free(p->pw_shell),free(p); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ authenticate.c:171:23: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | free(p->pw_name),free(p->pw_dir),free(p->pw_shell),free(p); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) --- foldinfo.o --- 276 | nlog(enfperm);logqnl(buf); | ^ foldinfo.c:276:28: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | nlog(enfperm);logqnl(buf); | ^ foldinfo.c:295:13: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | { nlog("Couldn't create");logqnl(buf); | ^ foldinfo.c:295:39: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | { nlog("Couldn't create");logqnl(buf); | ^ --- formisc.o --- ./formisc.h:11:2: warning: a function declaration without a prototype is 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 | startprog P((const char*Const*const argv)), | ^ formisc.c:207:7: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | { nlog("File table full\n");exit(EX_OSERR); | ^ formisc.c:210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | void nlog(a)const char*const a; | ^ In file included from formisc.c:18: ./formisc.h:13:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- authenticate.o --- | ^ authenticate.c:171:39: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | free(p->pw_name),free(p->pw_dir),free(p->pw_shell),free(p); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ authenticate.c:171:57: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | free(p->pw_name),free(p->pw_dir),free(p->pw_shell),free(p); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ --- foldinfo.o --- foldinfo.c:302:24: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | defdeflock=tstrdup(buf); | ^ foldinfo.c:305:25: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | { int i=lastdirsep(buf)-buf; | ^ 50 warnings generated. --- formisc.o --- 13 | nlog P((const char*const a)), | ^ formisc.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 logqnl(a)const char*const a; | ^ In file included from formisc.c:18: ./formisc.h:14:2: warning: a function declaration without a prototype is 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 | logqnl P((const char*const a)), | ^ 46 warnings generated. --- authenticate.o --- authenticate.c:173:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | free(pass->mbox); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ authenticate.c:174:3: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | free(pass); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ authenticate.c:167:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | void auth_freeid(pass)auth_identity*pass; | ^ In file included from authenticate.c:39: ./authenticate.h:33:2: warning: a function declaration without a prototype is 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 | auth_freeid P((auth_identity*pass)), | ^ authenticate.c:177:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | int auth_filledid(pass)const auth_identity*pass; | ^ In file included from authenticate.c:39: ./authenticate.h:21:2: warning: a function declaration without a prototype is 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 | auth_filledid P((const auth_identity*pass)); | ^ authenticate.c:182:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | const char*auth_mailboxname(pass)auth_identity*const pass; | ^ In file included from authenticate.c:39: ./authenticate.h:24:3: warning: a function declaration without a prototype is 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 | *auth_mailboxname P((auth_identity*const pass)), | ^ authenticate.c:212:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | uid_t auth_whatuid(pass)const auth_identity*const pass; | ^ In file included from authenticate.c:39: ./authenticate.h:29:2: warning: a function declaration without a prototype is 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 | auth_whatuid P((const auth_identity*const pass)), | ^ authenticate.c:216:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | uid_t auth_whatgid(pass)const auth_identity*const pass; | ^ In file included from authenticate.c:39: ./authenticate.h:30:2: warning: a function declaration without a prototype is 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 | auth_whatgid P((const auth_identity*const pass)); | ^ authenticate.c:220:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | const char*auth_homedir(pass)const auth_identity*const pass; | ^ In file included from authenticate.c:39: ./authenticate.h:25:3: warning: a function declaration without a prototype is 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 | *auth_homedir P((const auth_identity*const pass)), | ^ authenticate.c:224:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | const char*auth_shell(pass)const auth_identity*const pass; | ^ In file included from authenticate.c:39: ./authenticate.h:26:3: warning: a function declaration without a prototype is 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 | *auth_shell P((const auth_identity*const pass)), | ^ authenticate.c:228:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | const char*auth_username(pass)const auth_identity*const pass; | ^ In file included from authenticate.c:39: ./authenticate.h:27:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | *auth_username P((const auth_identity*const pass)); | ^ authenticate.c:235:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | free(authi.mbox),authi.mbox=0; /* discard the mailbox reference */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ 63 warnings generated. --- mailfold.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mailfold.c --- comsat.o --- In file included from comsat.c:15: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- recommend --- --- recommend.o --- In file included from recommend.c:6: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- bins --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- recommend --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- bins --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from comsat.c:15: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] --- recommend --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from recommend.c:6: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ --- bins --- 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ --- recommend --- | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] --- bins --- ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ In file included from comsat.c:26: ./network.h:4:6: warning: '/*' within block comment [-Wcomment] 4 | /* SOCK_DGRAM */ | ^ ./network.h:6:6: warning: '/*' within block comment [-Wcomment] 6 | /* getprotobyname() */ | ^ comsat.c:36:17: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | new=tstrdup(folder); | ^ --- recommend --- 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ recommend.c:31:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 31 | else | ^ recommend.c:40:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 40 | if(grp=getgrgid(gid)) | ~~~^~~~~~~~~~~~~~ recommend.c:40:12: note: place parentheses around the assignment to silence this warning 40 | if(grp=getgrgid(gid)) | ^ | ( ) recommend.c:40:12: note: use '==' to turn this assignment into an equality comparison 40 | if(grp=getgrgid(gid)) | ^ | == --- bins --- comsat.c:38:27: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | { const char*md=tgetenv(maildir); | ^ comsat.c:50:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | free(old); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ comsat.c:33:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | void setlfcs(folder)const char*folder; /* set lastfolder for comsat */ | ^ In file included from comsat.c:27: --- recommend --- recommend.c:42:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 42 | else | ^ recommend.c:15:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | int main(argc,argv)const int argc;const char*const argv[]; | ^ 25 warnings generated. --- bins --- ./comsat.h:6:2: warning: a function declaration without a prototype is 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 | setlfcs P((const char*folder)), | ^ comsat.c:55:14: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | new=tstrdup(name); | ^ comsat.c:61:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | free(old); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ comsat.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 setlgcs(name)const char*name; /* set logname for comsat */ | ^ In file included from comsat.c:27: ./comsat.h:7:2: warning: a function declaration without a prototype is 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 | setlgcs P((const char*name)), | ^ comsat.c:67:21: warning: passing arguments to 'renvint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | if(!chad&&!renvint(-1L,chp)) | ^ comsat.c:113:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 113 | if(csvalid=newvalid) | ~~~~~~~^~~~~~~~~ comsat.c:113:13: note: place parentheses around the assignment to silence this warning 113 | if(csvalid=newvalid) | ^ | ( ) comsat.c:113:13: note: use '==' to turn this assignment into an equality comparison 113 | if(csvalid=newvalid) | ^ | == comsat.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 setcomsat(chp)const char*chp; | ^ In file included from comsat.c:27: ./comsat.h:10:2: warning: a function declaration without a prototype is 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 | setcomsat P((const char*chp)); | ^ comsat.c:130:12: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | { ultstr(0,(unsigned long)lasttell,buf2); /* yep, include the offset */ | ^ comsat.c:137:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | rclose(s); | ^ comsat.c:138:10: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | yell("Notified comsat:",buf); | ^ comsat.c:119:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | void sendcomsat(folder)const char*folder; | ^ In file included from comsat.c:27: ./comsat.h:8:2: warning: a function declaration without a prototype is 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 | sendcomsat P((const char*folder)); | ^ 41 warnings generated. --- fields.o --- In file included from fields.c:11: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- recommend --- --- recommend --- --- bins --- --- mcommon.o --- --- memblk.o --- --- mcommon.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mcommon.c --- fields.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- memblk.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing memblk.c --- misc.o --- --- pipes.o --- --- lastdirsep.o --- In file included from lastdirsep.c:11: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- mans --- 31 warnings generated. --- bins --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from lastdirsep.c:11: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ lastdirsep.c:18:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 18 | while(p=strpbrk(filename,dirsep)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ lastdirsep.c:18:10: note: place parentheses around the assignment to silence this warning 18 | while(p=strpbrk(filename,dirsep)) | ^ | ( ) lastdirsep.c:18:10: note: use '==' to turn this assignment into an equality comparison 18 | while(p=strpbrk(filename,dirsep)) | ^ | == lastdirsep.c:16:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | char*lastdirsep(filename)const char*filename; /* finds the next character */ | ^ In file included from lastdirsep.c:12: ./lastdirsep.h:4:3: warning: a function declaration without a prototype is 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 | *lastdirsep P((const char*filename)); | ^ 24 warnings generated. --- cstdio.o --- In file included from cstdio.c:11: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- exopen.o --- In file included from exopen.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- fields.o --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from fields.c:11: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ --- misc.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing misc.c --- procmail.o --- --- pipes.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing pipes.c --- cstdio.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- exopen.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- fields.o --- | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] --- procmail.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing procmail.c --- cstdio.o --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from cstdio.c:11: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] --- exopen.o --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from exopen.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] --- fields.o --- 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ fields.c:20:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | struct field*findf(p,ah)const struct field*const p;register struct field**ah; | ^ In file included from fields.c:16: ./fields.h:4:3: warning: a function declaration without a prototype is 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 | *findf P((const struct field*const p,struct field**ah)), | ^ --- cstdio.o --- 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ --- exopen.o --- 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ --- fields.o --- fields.c:34:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 34 | for(pp=&rdheader;p= *pp;pp= &(*pp)->fld_next) | ~^~~~~ fields.c:34:21: note: place parentheses around the assignment to silence this warning 34 | for(pp=&rdheader;p= *pp;pp= &(*pp)->fld_next) | ^ | ( ) fields.c:34:21: note: use '==' to turn this assignment into an equality comparison 34 | for(pp=&rdheader;p= *pp;pp= &(*pp)->fld_next) | ^ | == fields.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 clear_uhead(hdr)register struct field*hdr; | ^ In file included from fields.c:16: --- cstdio.o --- ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ cstdio.c:25:16: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | { int ret=rread(rc,rcbuf,STDBUF); | ^ cstdio.c:24:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | static void refill(offset)const int offset; /* refill the buffer */ | ^ --- exopen.o --- ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ exopen.c:54:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | int unique(full,p,len,mode,verbos,flags)char*const full;char*p; | ^ exopen.c:55:32: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'mode_t' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] 55 | const size_t len;const mode_t mode;const int verbos,flags; | ^ ./exopen.h:4:65: note: previous declaration is here --- fields.o --- ./fields.h:10:2: warning: a function declaration without a prototype is 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 | clear_uhead P((struct field*hdr)), | ^ fields.c:50:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | struct field**addfield(pointer,text,totlen)struct field**pointer; | ^ fields.c:62:39: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | *pointer=(fldp= *pointer)->fld_next;free(fldp); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ --- cstdio.o --- cstdio.c:42:9: warning: passing arguments to 'app_val_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | { app_vali(inced,rcbufp?rcbufp-rcbuf:0); /* save old */ | ^ ./misc.h:8:26: note: expanded from macro 'app_vali' 8 | #define app_vali(sp,val) app_val_type(sp,int,union offori,val) | ^ ./misc.h:6:46: note: expanded from macro 'app_val_type' 6 | #define app_val_type(sp,t,s,v) (*(t*)app_val_(&sp,sizeof(s))=(v)) | ^ cstdio.c:43:2: warning: passing arguments to 'app_val_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | app_valo(inced,blasttell);app_vali(inced,ifdepth);/* position, brace */ | ^ ./misc.h:7:26: note: expanded from macro 'app_valo' --- exopen.o --- 4 | unique Q((char*const full,char*p,const size_t len,const mode_t mode, | ^ exopen.c:69:31: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | *p=UNIQ_PREFIX,dot=ultoan((unsigned long)thepid,p+1); | ^ exopen.c:76:14: warning: passing arguments to 'ssleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | ssleep(1); /* tap tap tap... */ | ^ exopen.c:80:15: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | { dot=ultstr(0,(unsigned long)t,p); /* time.pid_s.hostname */ | ^ --- fields.o --- fields.c:60:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | struct field*delfield(pointer)struct field**pointer; | ^ In file included from fields.c:16: ./fields.h:7:3: warning: a function declaration without a prototype is 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 | *delfield P((struct field**pointer)); | ^ fields.c:69:14: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | if(!eqFrom_(p=fldp->fld_text)) /* don't concatenate From_ lines */ | ^ fields.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] --- cstdio.o --- 7 | #define app_valo(sp,val) app_val_type(sp,off_t,union offori,val) | ^ ./misc.h:6:46: note: expanded from macro 'app_val_type' 6 | #define app_val_type(sp,t,s,v) (*(t*)app_val_(&sp,sizeof(s))=(v)) | ^ cstdio.c:43:28: warning: passing arguments to 'app_val_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | app_valo(inced,blasttell);app_vali(inced,ifdepth);/* position, brace */ | ^ ./misc.h:8:26: note: expanded from macro 'app_vali' 8 | #define app_vali(sp,val) app_val_type(sp,int,union offori,val) | ^ ./misc.h:6:46: note: expanded from macro 'app_val_type' 6 | #define app_val_type(sp,t,s,v) (*(t*)app_val_(&sp,sizeof(s))=(v)) | ^ --- exopen.o --- exopen.c:82:15: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | dot=ultstr(0,(unsigned long)thepid,dot+1); | ^ exopen.c:87:18: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | host=1+ultoan((unsigned long)t,dot+1); /* _pid%time.hostname */ | ^ exopen.c:97:15: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | op=lastdirsep(full); | ^ exopen.c:119:10: warning: passing arguments to 'writeerr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fields.o --- 66 | void concatenate(fldp)struct field*const fldp; | ^ In file included from fields.c:16: ./fields.h:11:2: warning: a function declaration without a prototype is 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 | concatenate P((struct field*const fldp)), | ^ fields.c:81:17: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | { chp=skpspace(chp); | ^ fields.c:75:13: 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 void extractfield(p)register const struct field*p; | ^ --- cstdio.o --- cstdio.c:44:2: warning: passing arguments to 'app_val_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | app_vali(inced,rc); /* depth & fd */ | ^ ./misc.h:8:26: note: expanded from macro 'app_vali' 8 | #define app_vali(sp,val) app_val_type(sp,int,union offori,val) | ^ ./misc.h:6:46: note: expanded from macro 'app_val_type' 6 | #define app_val_type(sp,t,s,v) (*(t*)app_val_(&sp,sizeof(s))=(v)) | ^ cstdio.c:46:10: warning: passing arguments to 'bopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | if(bopen(name)<0) /* try to open the new one */ | ^ --- exopen.o --- 119 | writeerr(full); /* for casual users */ | ^ exopen.c:135:15: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | { rclose(i);unlink(full); /* forget it, no permission */ | ^ exopen.c:140:12: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | rwrite(i,"0",1); /* pid 0, `works' across networks */ | ^ exopen.c:143:9: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | rclose(i); | ^ --- fields.o --- fields.c:102:36: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | q=p->fld_next,extractfield(p),free(p); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ fields.c:99:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | void flushfield(pointer)register struct field**pointer; /* delete and print */ | ^ In file included from fields.c:16: ./fields.h:12:2: warning: a function declaration without a prototype is 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 | flushfield P((struct field**pointer)), | ^ --- cstdio.o --- cstdio.c:48:17: warning: passing arguments to 'readerr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | rerr: readerr(name); | ^ cstdio.c:36:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | void pushrc(name)const char*const name; /* open include rcfile */ | ^ In file included from cstdio.c:17: ./cstdio.h:4:2: warning: a function declaration without a prototype is 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 | pushrc P((const char*const name)), | ^ cstdio.c:57:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- exopen.o --- exopen.c:149:11: warning: passing arguments to 'hlink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | fd=hlink(old,newn);serrno=errno;unlink(old); | ^ exopen.c:150:17: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | if(fd>0)rclose(fd-1); | ^ exopen.c:147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | int myrename(old,newn)const char*const old,*const newn; | ^ In file included from exopen.c:17: ./exopen.h:6:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- fields.o --- fields.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 dispfield(p)register const struct field*p; | ^ In file included from fields.c:16: ./fields.h:13:2: warning: a function declaration without a prototype is 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 | dispfield P((const struct field*p)), | ^ fields.c:116:34: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | if(idlen==STRLEN(FROM)&&eqFrom_(buf)) /* it's a From_ line */ | ^ 41 warnings generated. --- cstdio.o --- 57 | rclose(rc);rcbufp=rcbufend+1; /* make it look like EOF */ | ^ cstdio.c:65:16: warning: passing arguments to 'readerr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | rerr: { readerr(name); /* skip irregularities */ | ^ cstdio.c:70:47: warning: passing arguments to 'bopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | if(orbp=rcbufp,orbe=rcbufend,orc=rc,bopen(name)<0) | ^ cstdio.c:74:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | rclose(orc); /* success! drop the old and */ | ^ --- exopen.o --- 6 | myrename P((const char*const old,const char*const newn)), | ^ exopen.c:156:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | int rlink(old,newn,st)const char*const old,*const newn;struct stat*st; | ^ In file included from exopen.c:17: ./exopen.h:7:2: warning: a function declaration without a prototype is 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 | rlink P((const char*const old,const char*const newn,struct stat*st)), | ^ exopen.c:177:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | int hlink(old,newn)const char*const old,*const newn; | ^ In file included from exopen.c:17: --- cstdio.o --- cstdio.c:75:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 75 | if(dp=incnamed->enext) /* fixup the name list */ | ~~^~~~~~~~~~~~~~~~ cstdio.c:75:11: note: place parentheses around the assignment to silence this warning 75 | if(dp=incnamed->enext) /* fixup the name list */ | ^ | ( ) cstdio.c:75:11: note: use '==' to turn this assignment into an equality comparison 75 | if(dp=incnamed->enext) /* fixup the name list */ | ^ | == cstdio.c:76:28: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | incnamed->enext=dp->enext,free(dp); | ^ ./shell.h:8:23: note: expanded from macro 'free' --- exopen.o --- ./exopen.h:8:2: warning: a function declaration without a prototype is 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 | hlink P((const char*const old,const char*const newn)); | ^ 41 warnings generated. --- cstdio.o --- 8 | #define free(p) tfree(p) | ^ cstdio.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void changerc(name)const char*const name; /* change rcfile */ | ^ In file included from cstdio.c:17: ./cstdio.h:5:2: warning: a function declaration without a prototype is 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 | changerc P((const char*const name)), | ^ cstdio.c:83:21: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | dp=incnamed;rclose(rc); | ^ cstdio.c:89:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | rclose(acc_vali(inced,--i)); | ^ cstdio.c:92:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | nlog("Lost"),logqnl(dp->ename),exit(EX_NOINPUT); /* panic */ | ^ cstdio.c:92:21: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | nlog("Lost"),logqnl(dp->ename),exit(EX_NOINPUT); /* panic */ | ^ cstdio.c:100:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | rclose(rc),rc= -1,last=incnamed,incnamed=last->enext,free(last); | ^ cstdio.c:100:59: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | rclose(rc),rc= -1,last=incnamed,incnamed=last->enext,free(last); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ cstdio.c:106:33: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | ifstack.filled=ifdepth,nlog("Missing closing brace\n"); | ^ cstdio.c:127:21: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | *(md=(char*)tgetenv(maildir))&& | ^ cstdio.c:135:18: warning: passing arguments to 'newdynstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | newdynstring(&incnamed,md); | ^ cstdio.c:122:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | int bopen(name)const char*const name; /* my fopen */ | ^ In file included from cstdio.c:17: ./cstdio.h:12:2: warning: a function declaration without a prototype is 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 | bopen P((const char*const name)), | ^ cstdio.c:140:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | int getbl(p,end)char*p,*end; /* my gets */ | ^ In file included from cstdio.c:17: ./cstdio.h:13:2: warning: a function declaration without a prototype is 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 | getbl P((char*p,char*end)), | ^ cstdio.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 ungetb(x)const int x; /* only for pushing back original characters */ | ^ In file included from cstdio.c:17: ./cstdio.h:8:2: warning: a function declaration without a prototype is 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 | ungetb P((const int x)), | ^ cstdio.c:164:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | int testB(x)const int x; /* fgetc that only succeeds if it matches */ | ^ In file included from cstdio.c:17: ./cstdio.h:15:2: warning: a function declaration without a prototype is 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 | testB P((const int x)), | ^ cstdio.c:208:12: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | { nlog(exceededlb);setoverflow(); | ^ cstdio.c:193:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | int getlline(target,end)char*target,*end; | ^ In file included from cstdio.c:17: ./cstdio.h:18:2: warning: a function declaration without a prototype is 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 | getlline P((char*target,char*end)); | ^ cstdio.c:218:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | void pushfd(fd)int fd; | ^ In file included from cstdio.c:17: ./cstdio.h:25:2: warning: a function declaration without a prototype is 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 | pushfd P((int fd)); | ^ cstdio.c:225:9: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | { rclose(rc);rc=origfd; | ^ cstdio.c:251:17: warning: call to undeclared function 'waitfor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | { if((retcode=waitfor(childserverpid))==EXIT_SUCCESS) | ^ cstdio.c:269:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | int readL(p,len)char*p;const int len; | ^ In file included from cstdio.c:17: ./cstdio.h:29:2: warning: a function declaration without a prototype is 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 | readL P((char*,const int)), | ^ cstdio.c:295:21: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | { if(0>(got=rread(rc,p,len))) | ^ cstdio.c:285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | int readLe(p,len)char*p;int len; | ^ In file included from cstdio.c:17: ./cstdio.h:30:2: warning: a function declaration without a prototype is 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 | readLe P((char*,int)); | ^ 68 warnings generated. --- regexp.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing regexp.c --- robust.o --- --- variables.o --- --- robust.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing robust.c --- formail.o --- In file included from formail.c:16: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- variables.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing variables.c --- formail.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from formail.c:16: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ formail.c:124:12: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | ultstr(7,Totallen,num);putssn(num,strlen(num));putcs('\n'); | ^ formail.c:132:13: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | if(eqFrom_(chp)) /* continued From_ to */ | ^ formail.c:133:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 133 | for(;chp=strstr(chp,"\n>");*++chp=' '); /* continued regular field */ | ~~~^~~~~~~~~~~~~~~~~~ formail.c:133:14: note: place parentheses around the assignment to silence this warning 133 | for(;chp=strstr(chp,"\n>");*++chp=' '); /* continued regular field */ | ^ | ( ) formail.c:133:14: note: use '==' to turn this assignment into an equality comparison 133 | for(;chp=strstr(chp,"\n>");*++chp=' '); /* continued regular field */ | ^ | == formail.c:134:34: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | if(newl==STRLEN(From_)&&eqFrom_(newname)) | ^ formail.c:135:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 135 | { for(chp=p->fld_text;chp=strchr(chp,'\n');) /* continued regular */ | ~~~^~~~~~~~~~~~~~~~~ formail.c:135:29: note: place parentheses around the assignment to silence this warning 135 | { for(chp=p->fld_text;chp=strchr(chp,'\n');) /* continued regular */ | ^ | ( ) formail.c:135:29: note: use '==' to turn this assignment into an equality comparison 135 | { for(chp=p->fld_text;chp=strchr(chp,'\n');) /* continued regular */ | ^ | == formail.c:138:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 138 | for(chp=p->fld_text;chp=strstr(chp,"\n ");*++chp='>'); | ~~~^~~~~~~~~~~~~~~~~~ formail.c:138:29: note: place parentheses around the assignment to silence this warning 138 | for(chp=p->fld_text;chp=strstr(chp,"\n ");*++chp='>'); | ^ | ( ) formail.c:138:29: note: use '==' to turn this assignment into an equality comparison 138 | for(chp=p->fld_text;chp=strstr(chp,"\n ");*++chp='>'); | ^ | == formail.c:128:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | static void renfield(pointer,oldl,newname,newl)struct field**const pointer; | ^ formail.c:157:12: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | (fp2=findf(fldp,&iheader))&& | ^ formail.c:162:19: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | if((fp2=findf(fldp,&Iheader))&& /* delete fields */ | ^ formail.c:165:18: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | if(fp2=findf(fldp,&Rheader)) /* explicitly rename field */ | ^ formail.c:165:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 165 | if(fp2=findf(fldp,&Rheader)) /* explicitly rename field */ | ~~~^~~~~~~~~~~~~~~~~~~~~ formail.c:165:12: note: place parentheses around the assignment to silence this warning 165 | if(fp2=findf(fldp,&Rheader)) /* explicitly rename field */ | ^ | ( ) formail.c:165:12: note: use '==' to turn this assignment into an equality comparison 165 | if(fp2=findf(fldp,&Rheader)) /* explicitly rename field */ | ^ | == formail.c:172:14: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | if((uf=findf(fldp,&uheader))&&!uf->fld_ref) | ^ formail.c:174:19: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | else if(fp2=findf(fldp,&Uheader)) | ^ formail.c:174:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 174 | else if(fp2=findf(fldp,&Uheader)) | ~~~^~~~~~~~~~~~~~~~~~~~~ formail.c:174:13: note: place parentheses around the assignment to silence this warning 174 | else if(fp2=findf(fldp,&Uheader)) | ^ | ( ) formail.c:174:13: note: use '==' to turn this assignment into an equality comparison 174 | else if(fp2=findf(fldp,&Uheader)) | ^ | == formail.c:182:16: warning: passing arguments to 'delfield' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | delfield(fp2->fld_ref); /* delete old Uheader */ | ^ formail.c:187:25: warning: passing arguments to 'delfield' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | delfld: { fldp=delfield(afldp); | ^ formail.c:151:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | static void procfields(sareply)const int sareply; | ^ formail.c:232:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 232 | if(pastad=strchr(chp,' ')) /* found an address? */ | ~~~~~~^~~~~~~~~~~~~~~~ formail.c:232:11: note: place parentheses around the assignment to silence this warning 232 | if(pastad=strchr(chp,' ')) /* found an address? */ | ^ | ( ) formail.c:232:11: note: use '==' to turn this assignment into an equality comparison 232 | if(pastad=strchr(chp,' ')) /* found an address? */ | ^ | == formail.c:263:5: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | free(savetmp);savetmp=strchr(tmp,'\0'); /* prepend '<' */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ formail.c:267:26: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | while(*(chp=skpspace(chp))=='\n') | ^ formail.c:269:32: warning: passing arguments to 'skipwords' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | for(saddr=0;;chp=skipwords(chp)) /* skip RFC 822 wise */ | ^ formail.c:275:23: warning: passing arguments to 'skipwords' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | case '<':skipwords(saddr=chp); /* hurray, machine useable */ | ^ formail.c:297:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | free(namep); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ formail.c:301:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | free(tmp); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ formail.c:214:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | static char*getsender(namep,fldp,headreply)char*namep;struct field*fldp; | ^ formail.c:324:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | nlog("Duplicate key found:"),elog(key),elog("\n"); | ^ formail.c:324:37: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | nlog("Duplicate key found:"),elog(key),elog("\n"); | ^ formail.c:324:47: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | nlog("Duplicate key found:"),elog(key),elog("\n"); | ^ formail.c:306:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | static void elimdups(namep,idcache,maxlen,split)const char*const namep; | ^ formail.c:374:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 374 | while(chp=(char*)*++argv) | ~~~^~~~~~~~~~~~~~~ formail.c:374:15: note: place parentheses around the assignment to silence this warning 374 | while(chp=(char*)*++argv) | ^ | ( ) formail.c:374:15: note: use '==' to turn this assignment into an equality comparison 374 | while(chp=(char*)*++argv) | ^ | == formail.c:408:9: warning: passing arguments to 'detab' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | detab(chp); | ^ formail.c:416:40: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | case HELPOPT1:case HELPOPT2:elog(fmusage);elog(FM_HELP); | ^ formail.c:416:54: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | case HELPOPT1:case HELPOPT2:elog(fmusage);elog(FM_HELP); | ^ formail.c:417:8: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | elog(FM_HELP2); /* had to split up FM_HELP, compiler limits */ | ^ formail.c:431:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | { nlog("Couldn't open");logqnl(chp); | ^ formail.c:431:34: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | { nlog("Couldn't open");logqnl(chp); | ^ formail.c:447:28: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | case FM_VERSION:elog(formailn);elog(VERSION); | ^ formail.c:447:43: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | case FM_VERSION:elog(formailn);elog(VERSION); | ^ formail.c:489:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 489 | else | ^ formail.c:498:22: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | invfield: { nlog("Invalid field-name:");logqnl(chp?chp:""); | ^ formail.c:498:52: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | invfield: { nlog("Invalid field-name:");logqnl(chp?chp:""); | ^ formail.c:549:15: warning: passing arguments to 'startprog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | startprog((const char*Const*)argv); | ^ formail.c:557:10: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | { elog(fmusage); /* impossible mix */ | ^ formail.c:577:15: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | !findf(fcntlength,&Xheader)); /* getting Content-Length: */ | ^ formail.c:603:24: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | eqFrom_(tmp2=skpspace(tmp+STRLEN(mailfrom)))) | ^ formail.c:603:10: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | eqFrom_(tmp2=skpspace(tmp+STRLEN(mailfrom)))) | ^ formail.c:611:17: warning: passing arguments to 'clear_uhead' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | clear_uhead(uheader);clear_uhead(Uheader); | ^ formail.c:611:38: warning: passing arguments to 'clear_uhead' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | clear_uhead(uheader);clear_uhead(Uheader); | ^ formail.c:612:41: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | wasafrom_=!force&&rdheader&&eqFrom_(rdheader->fld_text); | ^ formail.c:624:33: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | { *afldp=fldp->fld_next;free(fldp);fldp= *afldp; | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ formail.c:623:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 623 | else if(fldp->Tot_len<=j+2) | ^ formail.c:629:16: warning: passing arguments to 'concatenate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | concatenate(fldp); /* save fields for later perusal */ | ^ formail.c:643:33: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | if(!forgetclen&&(fldp=findf(fcntlength,&rdheader))) | ^ formail.c:652:19: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | if(!(fp2=findf(fldp,&iheader))||fp2->id_lenTot_len-1) | ^ formail.c:653:30: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | *afldp=fldp->fld_next,free(fldp),fldp= *afldp; /* remove all */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ formail.c:656:33: warning: passing arguments to 'loadchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | loadbuf(To,STRLEN(To));loadchar(' '); /* generate the To: field */ | ^ formail.c:661:10: warning: passing arguments to 'loadchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | loadchar('\n');addbuf(); /* add it to rdheader */ | ^ formail.c:664:28: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | if(strncasecmp(skpspace(chp=subj->rexp),Re,STRLEN(Re))) /* Re: */ | ^ formail.c:664:55: warning: sizeof on pointer operation will return size of 'char *' instead of 'char[5]' [-Wsizeof-array-decay] 664 | if(strncasecmp(skpspace(chp=subj->rexp),Re,STRLEN(Re))) /* Re: */ | ^~ ./formail.h:8:16: note: expanded from macro 'Re' 8 | #define Re (re+1) | ~~^ ./includes.h:554:27: note: expanded from macro 'STRLEN' 554 | #define STRLEN(x) (sizeof(x)-1) | ^ formail.c:666:14: warning: passing arguments to 'loadsaved' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | loadsaved(subj);addbuf(); | ^ formail.c:673:17: warning: passing arguments to 'loadsaved' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | loadsaved(refr); | ^ formail.c:676:17: warning: passing arguments to 'loadsaved' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | loadsaved(msid); /* here's our missing newline */ | ^ formail.c:680:51: warning: passing arguments to 'loadsaved' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | loadbuf(inreplyto,STRLEN(inreplyto)),loadsaved(msid),addbuf(); | ^ formail.c:684:27: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | (!rdheader||!eqFrom_(rdheader->fld_text))&& /* is it missing? */ | ^ formail.c:685:19: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | ((fldp=findf(fFrom_,&aheader))&&STRLEN(From_)+1>=fldp->Tot_len|| | ^ formail.c:687:14: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | !findf(fFrom_,&iheader)&& /* and From_ is not being */ | ^ formail.c:688:14: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | !findf(fFrom_,&Iheader)&& /* supressed */ | ^ formail.c:689:14: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | !findf(fFrom_,&Rheader))) | ^ formail.c:697:10: warning: passing arguments to 'loadchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | loadchar(' '); /* insert one extra blank */ | ^ formail.c:698:25: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | if(!hdate->rexl||!findf(fdate,&aheader)) /* Date: */ | ^ formail.c:699:13: warning: passing arguments to 'loadchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | loadchar(' '),chp=ctime(&t),loadbuf(chp,strlen(chp)); /* no Date: */ | ^ formail.c:701:14: warning: passing arguments to 'loadsaved' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | loadsaved(hdate); /* yes, found Date:, then copy from it */ | ^ formail.c:705:11: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | if(!findf(fldp,&rdheader)) /* only add what didn't exist */ | ^ formail.c:718:27: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | *++p='<';*(p=ultoan(h3,p+1))='.';*(p=ultoan(h4,p+1))='.'; | ^ formail.c:718:51: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | *++p='<';*(p=ultoan(h3,p+1))='.';*(p=ultoan(h4,p+1))='.'; | ^ formail.c:719:18: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | *(p=ultoan(h2,p+1))='.';*(p=ultoan(h1,p+1))='@';strcpy(p+1,name); | ^ formail.c:719:42: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | *(p=ultoan(h2,p+1))='.';*(p=ultoan(h1,p+1))='@';strcpy(p+1,name); | ^ formail.c:721:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | free(chp);h4++; /* put it in */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ formail.c:723:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 723 | else | ^ formail.c:726:19: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | { if(eqFrom_(rdheader->fld_text)) | ^ formail.c:728:15: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | if(fldp=findf(fsubject,&rdheader)) | ^ formail.c:728:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 728 | if(fldp=findf(fsubject,&rdheader)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ formail.c:728:9: note: place parentheses around the assignment to silence this warning 728 | if(fldp=findf(fsubject,&rdheader)) | ^ | ( ) formail.c:728:9: note: use '==' to turn this assignment into an equality comparison 728 | if(fldp=findf(fsubject,&rdheader)) | ^ | == formail.c:729:16: warning: passing arguments to 'concatenate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | { concatenate(fldp);(chp=fldp->fld_text)[i=fldp->Tot_len-1]='\0'; | ^ formail.c:730:10: warning: passing arguments to 'detab' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | detab(chp);putcs(' '); | ^ formail.c:734:53: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | tmemmove(buf,parkedbuf,buffilled=lenparkedbuf);free(parkedbuf); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ formail.c:736:13: warning: passing arguments to 'flushfield' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | flushfield(&rdheader);flushfield(&nheader);dispfield(Aheader); | ^ formail.c:736:35: warning: passing arguments to 'flushfield' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | flushfield(&rdheader);flushfield(&nheader);dispfield(Aheader); | ^ formail.c:736:55: warning: passing arguments to 'dispfield' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | flushfield(&rdheader);flushfield(&nheader);dispfield(Aheader); | ^ formail.c:737:12: warning: passing arguments to 'dispfield' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | dispfield(iheader);dispfield(Iheader); | ^ formail.c:737:31: warning: passing arguments to 'dispfield' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | dispfield(iheader);dispfield(Iheader); | ^ formail.c:739:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | free(namep); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ formail.c:741:12: warning: passing arguments to 'lputcs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | lputcs('\n'); /* make sure it is followed by an empty line */ | ^ formail.c:763:35: warning: passing arguments to 'lputcs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | lnl=lwr==tbl&&lwr=='\n',lputcs(lwr=tbl),tbl=getchar(); | ^ formail.c:765:11: warning: passing arguments to 'lputcs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | lputcs('\n'),buflast=getchar(); /* wrap up loose end */ | ^ formail.c:769:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | nlog(cntlength);elog(" field exceeds actual length by "); | ^ formail.c:769:22: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | nlog(cntlength);elog(" field exceeds actual length by "); | ^ formail.c:770:8: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | ultstr(0,(unsigned long)ctlength,num);elog(num);elog(" bytes\n"); | ^ formail.c:770:44: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | ultstr(0,(unsigned long)ctlength,num);elog(num);elog(" bytes\n"); | ^ formail.c:770:54: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | ultstr(0,(unsigned long)ctlength,num);elog(num);elog(" bytes\n"); | ^ formail.c:778:15: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | { if(eqFrom_(chp=rdheader->fld_text)) /* check if it's From_ */ | ^ formail.c:782:27: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | (k=strcspn(chp=skpspace(chp+STRLEN(From_))," \t\n"))&& | ^ formail.c:783:13: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | *skpspace(chp+k)!='\n') | ^ formail.c:792:13: warning: passing arguments to 'lputcs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | lputcs('\n'); /* but now it does :-) */ | ^ formail.c:797:14: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | nlog(couldntw),elog(", continuing...\n"); | ^ formail.c:797:29: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | nlog(couldntw),elog(", continuing...\n"); | ^ formail.c:807:13: warning: passing arguments to 'startprog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | startprog((const char*Const*)argv); | ^ formail.c:812:17: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | else if(eqFrom_(buf)) /* special case, From_ line */ | ^ formail.c:844:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 844 | if(fldp=rdheader) /* we already read some "valid" fields */ | ~~~~^~~~~~~~~ formail.c:844:9: note: place parentheses around the assignment to silence this warning 844 | if(fldp=rdheader) /* we already read some "valid" fields */ | ^ | ( ) formail.c:844:9: note: use '==' to turn this assignment into an equality comparison 844 | if(fldp=rdheader) /* we already read some "valid" fields */ | ^ | == formail.c:851:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 851 | if(p=memchr(chp,'\n',fldp->Tot_len)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formail.c:851:8: note: place parentheses around the assignment to silence this warning 851 | if(p=memchr(chp,'\n',fldp->Tot_len)) | ^ | ( ) formail.c:851:8: note: use '==' to turn this assignment into an equality comparison 851 | if(p=memchr(chp,'\n',fldp->Tot_len)) | ^ | == formail.c:858:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | free(fldp); /* delete it */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ formail.c:860:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 860 | while(fldp=fp2); /* escape all fields we found */ | ~~~~^~~~ formail.c:860:15: note: place parentheses around the assignment to silence this warning 860 | while(fldp=fp2); /* escape all fields we found */ | ^ | ( ) formail.c:860:15: note: use '==' to turn this assignment into an equality comparison 860 | while(fldp=fp2); /* escape all fields we found */ | ^ | == formail.c:869:52: warning: passing arguments to 'flushfield' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | ox=xheader;oX=Xheader;xheader=Xheader=0;flushfield(&rdheader); | ^ formail.c:365:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | int main(lastm,argv)int lastm;const char*const argv[]; | ^ formail.c:891:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | int eqFrom_(a)const char*const a; | ^ In file included from formail.c:18: ./formail.h:42:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | eqFrom_ P((const char*const a)), | ^ formail.c:895:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | int breakfield(line,len)const char*const line;size_t len; /* look where the */ | ^ 137 warnings generated. --- from.o --- --- lmtp.o --- In file included from lmtp.c:12: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- from.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing from.c --- lmtp.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from lmtp.c:12: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ lmtp.c:55:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | static ctopfd; | ~~~~~~ ^ | int lmtp.c:78:33: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | { if(already&&already!=rwrite(savstdout,bufcur=buf2,already)|| | ^ lmtp.c:79:23: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | len&&len!=rwrite(savstdout,buffer,len)) | ^ lmtp.c:74:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | static void bufwrite(buffer,len,flush) | ^ lmtp.c:88:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | static int unexpect(str)const char*str; | ^ lmtp.c:114:12: warning: passing arguments to 'ungetb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | { ungetb(c); | ^ lmtp.c:168:19: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | return tstrdup(buf); | ^ lmtp.c:191:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | free(path); /* no local part */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ lmtp.c:176:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | static char *extractaddress(path,domain)char *path,**domain; | ^ lmtp.c:247:9: warning: passing arguments to 'pushfd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | pushfd(STDIN);overread=0;overlen=0;nliseol=1; | ^ lmtp.c:318:20: warning: passing arguments to 'rpipe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | jumpout: rpipe(pipefds); | ^ lmtp.c:328:10: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | rclose(pipefds[0]); | ^ lmtp.c:331:12: warning: passing arguments to 'makeFrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | makeFrom(from+1,invoker); | ^ lmtp.c:333:4: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | free(from); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ lmtp.c:334:13: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | if(rwrite(pipefds[1],&status,1)!=1) | ^ lmtp.c:342:14: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | rclose(pipefds[1]); | ^ lmtp.c:345:9: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | rread(pipefds[0],&status,1); /* unless told otherwise */ | ^ lmtp.c:347:13: warning: passing arguments to 'pushfd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | { pushfd(pipefds[0]); /* pick up what the child */ | ^ lmtp.c:353:14: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | rclose(pipefds[0]); | ^ lmtp.c:388:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 388 | if(detail=strchr(mailbox,detaildelim)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ lmtp.c:388:17: note: place parentheses around the assignment to silence this warning 388 | if(detail=strchr(mailbox,detaildelim)) | ^ | ( ) lmtp.c:388:17: note: use '==' to turn this assignment into an equality comparison 388 | if(detail=strchr(mailbox,detaildelim)) | ^ | == lmtp.c:390:31: warning: passing arguments to 'auth_finduser' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | if(!(temp=auth_finduser(mailbox,0))) | ^ lmtp.c:392:4: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | free(path); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ lmtp.c:395:19: warning: passing arguments to 'auth_copyid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | auth_copyid(currcpt->id=auth_newid(),temp); | ^ lmtp.c:396:51: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | currcpt->detail=detail&&detaildelim?tstrdup(detail):0; | ^ lmtp.c:397:35: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | currcpt->domain=dom?tstrdup(dom):0; | ^ lmtp.c:398:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | free(path); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ lmtp.c:433:20: warning: passing arguments to 'readmail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | deliver: readmail(2,0L); /* fix up things */ | ^ lmtp.c:478:26: warning: passing arguments to 'resizeblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | { if(!resizeblock(&themail,size=filled+length+BLKSIZ,1)) | ^ lmtp.c:481:18: warning: passing arguments to 'readLe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | { i=readLe(buf,linebuf); | ^ lmtp.c:486:26: warning: passing arguments to 'readLe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | if(length&&0>readLe(buf,length)) | ^ lmtp.c:495:23: warning: passing arguments to 'readLe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | { int i=readLe(themail.p+filled,length); | ^ lmtp.c:515:18: warning: passing arguments to 'resizeblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | resizeblock(&themail,(filled-=in-out)+1,1); | ^ lmtp.c:532:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 532 | if(detail=strchr(mailbox,detaildelim)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ lmtp.c:532:17: note: place parentheses around the assignment to silence this warning 532 | if(detail=strchr(mailbox,detaildelim)) | ^ | ( ) lmtp.c:532:17: note: use '==' to turn this assignment into an equality comparison 532 | if(detail=strchr(mailbox,detaildelim)) | ^ | == lmtp.c:534:31: warning: passing arguments to 'auth_finduser' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | if(!(temp=auth_finduser(mailbox,0))) | ^ lmtp.c:536:4: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | free(path); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ lmtp.c:539:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | free(path); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ lmtp.c:547:14: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | { rwrite(ctopfd,cQUIT,STRLEN(cQUIT)); | ^ lmtp.c:548:14: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | rclose(ctopfd); | ^ lmtp.c:239:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | struct lmtp_rcpt *lmtp(lrout,invoker) | ^ In file included from lmtp.c:23: ./lmtp.h:9:3: warning: a function declaration without a prototype is 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 | *lmtp P((struct lmtp_rcpt**lrout,char*invoker)); | ^ lmtp.c:583:20: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | { if(0>(i=rwrite(ctopfd,overread,overlen))) | ^ lmtp.c:593:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | free(overread); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ lmtp.c:629:17: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | if(len!=rwrite(savstdout,message,len)) | ^ lmtp.c:618:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | void lmtpresponse(retcode)int retcode; | ^ In file included from lmtp.c:23: ./lmtp.h:13:2: warning: a function declaration without a prototype is 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 | lmtpresponse P((int retcode)); | ^ lmtp.c:648:22: warning: passing arguments to 'readL' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | { if(0>=(got=readL(p,left))) /* read mail */ | ^ lmtp.c:715:22: warning: passing arguments to 'readL' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | { if(0>=(got=readL(p,left))) /* read mail */ | ^ lmtp.c:770:11: warning: passing arguments to 'read2blk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | read2blk(&themail,&filled,nliseol?&lmtp_read_nl:&lmtp_read_crnl, | ^ 69 warnings generated. --- goodies.o --- In file included from goodies.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- setid.o --- --- goodies.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from goodies.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ goodies.c:28:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | static const char*evalenv(skipping) /* expects the variable name in buf2 */ | ^ goodies.c:66:19: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | early_eof: nlog(unexpeof); | ^ goodies.c:71:12: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | { nlog(exceededlb);setoverflow(); | ^ goodies.c:115:22: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | sgetcp=p=tstrdup(startb);sAll_args=All_args; | ^ goodies.c:122:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | free(p);sgetcp=save; /* chopped up */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ goodies.c:138:23: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | { case EOF:nlog(unexpeof); | ^ goodies.c:203:36: warning: passing arguments to 'alphanum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | while(EOF!=(i=fgetc())&&alphanum(i)) | ^ goodies.c:209:7: warning: passing arguments to 'alphanum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | if(numeric(*buf2)&&buf2[1]) | ^ ./includes.h:556:29: note: expanded from macro 'numeric' 556 | #define numeric(x) (alphanum((unsigned char)(x))>1) | ^ goodies.c:226:20: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | badsub: nlog("Bad substitution of");logqnl(buf2); | ^ goodies.c:226:50: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | badsub: nlog("Bad substitution of");logqnl(buf2); | ^ goodies.c:251:23: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | case '$':ultstr(0,(unsigned long)thepid,startb=num); | ^ goodies.c:253:22: warning: passing arguments to 'ltstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | case '?':ltstr(0,(long)lexitcode,startb=num); | ^ goodies.c:255:23: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | case '#':ultstr(0,(unsigned long)crestarg,startb=num); | ^ goodies.c:257:22: warning: passing arguments to 'ltstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | case '=':ltstr(0,lastscore,startb=num); | ^ goodies.c:262:38: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | case '-':startb=(char*)tgetenv(lastfolder); /* $- =$LASTFOLDER */ | ^ goodies.c:267:7: warning: passing arguments to 'alphanum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | if(numeric(i)) /* $n positional argument */ | ^ ./includes.h:556:29: note: expanded from macro 'numeric' 556 | #define numeric(x) (alphanum((unsigned char)(x))>1) | ^ goodies.c:273:15: warning: passing arguments to 'alphanum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | if(alphanum(i)) /* $name */ | ^ goodies.c:279:39: warning: passing arguments to 'alphanum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | while(EOF!=(i=fgetc())&&alphanum(i)); | ^ goodies.c:309:24: warning: passing arguments to 'simplesplit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | if(q=simplesplit(p,startb,fencepost,&got)) /* simply split */ | ^ goodies.c:309:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 309 | if(q=simplesplit(p,startb,fencepost,&got)) /* simply split */ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ goodies.c:309:12: note: place parentheses around the assignment to silence this warning 309 | if(q=simplesplit(p,startb,fencepost,&got)) /* simply split */ | ^ | ( ) goodies.c:309:12: note: use '==' to turn this assignment into an equality comparison 309 | if(q=simplesplit(p,startb,fencepost,&got)) /* simply split */ | ^ | == goodies.c:50:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | int readparse(p,fpgetc,sarg,skipping)register char*p;int(*const fpgetc)(); | ^ In file included from goodies.c:23: ./goodies.h:4:2: warning: a function declaration without a prototype is 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 | readparse P((char*p,int(*const fpgetc)(),const int sarg,int skipping)); | ^ goodies.c:355:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | char*simplesplit(to,from,fencepost,gotp)char*to;const char*from,*fencepost; | ^ In file included from goodies.c:23: ./goodies.h:6:3: warning: a function declaration without a prototype is 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 | *simplesplit P((char*to,const char*from,const char*fencepost,int*gotp)); | ^ goodies.c:375:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | void concatenate(p)register char*p; | ^ In file included from goodies.c:23: ./goodies.h:8:2: warning: a function declaration without a prototype is 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 | concatenate P((char*p)), | ^ goodies.c:385:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 385 | { if(sh=!!strpbrk(p,shellmetas)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ goodies.c:385:8: note: place parentheses around the assignment to silence this warning 385 | { if(sh=!!strpbrk(p,shellmetas)) | ^ | ( ) goodies.c:385:8: note: use '==' to turn this assignment into an equality comparison 385 | { if(sh=!!strpbrk(p,shellmetas)) | ^ | == goodies.c:388:22: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | { sgetcp=p=tstrdup(p); | ^ goodies.c:395:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | free((char*)p); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ goodies.c:384:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | void metaparse(p)const char*p; /* result in buf */ | ^ In file included from goodies.c:23: ./goodies.h:9:2: warning: a function declaration without a prototype is 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 | metaparse P((const char*p)), | ^ goodies.c:401:22: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | { *dest=' ';ultstr(minwidth-1,-val,dest+1); | ^ goodies.c:406:12: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | ultstr(minwidth,val,dest); /* business as usual */ | ^ goodies.c:399:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | void ltstr(minwidth,val,dest)const int minwidth;const long val;char*dest; | ^ In file included from goodies.c:23: ./goodies.h:10:2: warning: a function declaration without a prototype is 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 | ltstr P((const int minwidth,const long val,char*dest)); | ^ 56 warnings generated. --- lockfile.o --- In file included from lockfile.c:21: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from lockfile.c:21: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ lockfile.c:43:15: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | i=lastdirsep(name)-name; | ^ lockfile.c:48:51: warning: passing arguments to 'myrename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | stat(p,&stbuf),*tim=stbuf.st_mtime,j=myrename(p,name); | ^ lockfile.c:41:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | static int xcreat(name,tim)const char*const name;time_t*const tim; | ^ lockfile.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 elog(a)const char*const a; | ^ lockfile.c:57:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | void nlog(a)const char*const a; | ^ lockfile.c:77:45: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | invert=(char*)progid-(char*)progid;qsignal(SIGHUP,failure); | ^ lockfile.c:78:10: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | qsignal(SIGINT,failure);qsignal(SIGQUIT,failure);qsignal(SIGTERM,failure); | ^ lockfile.c:78:34: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | qsignal(SIGINT,failure);qsignal(SIGQUIT,failure);qsignal(SIGTERM,failure); | ^ lockfile.c:78:59: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | qsignal(SIGINT,failure);qsignal(SIGQUIT,failure);qsignal(SIGTERM,failure); | ^ lockfile.c:105:28: warning: passing arguments to 'auth_mailboxname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | elog(auth_mailboxname(auth_finduid(getuid(),0))); | ^ lockfile.c:138:28: warning: passing arguments to 'auth_finduser' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | (pass=auth_finduser(ma,0))&& | ^ lockfile.c:139:21: warning: passing arguments to 'auth_whatuid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | auth_whatuid(pass)==uid|| | ^ lockfile.c:145:34: warning: passing arguments to 'auth_mailboxname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | if(!*(p=auth_mailboxname(pass))|| | ^ lockfile.c:63:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | int main(argc,argv)int argc;const char*const argv[]; | ^ lockfile.c:250:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | void*tmalloc(len)const size_t len; /* stub */ | ^ lockfile.c:257:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | void tfree(p)void*const p; /* stub */ | ^ lockfile.c:261:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | int ropen(name,mode,mask)const char*const name;const int mode; | ^ lockfile.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 rwrite(fd,a,len)const int fd;const void*const a;const int len; /* stub */ | ^ lockfile.c:270:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | int rclose(fd)const int fd; /* stub */ | ^ lockfile.c:274:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | void writeerr(a)const char*const a; /* stub */ | ^ lockfile.c:278:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | char*cstr(a,b)char*const a;const char*const b; /* stub */ | ^ lockfile.c:282:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | void ssleep(seconds)const unsigned seconds; /* stub */ | ^ 43 warnings generated. --- locking.o --- In file included from locking.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from locking.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ locking.c:30:9: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | { free(name);return 1; /* they're equal, save yourself some effort */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ locking.c:32:12: warning: passing arguments to 'unlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | unlock(lockp); /* unlock any previous lockfile FIRST */ | ^ locking.c:35:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | { free(name);return 1; | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ locking.c:42:9: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | { yell("Bypassed locking",name); | ^ locking.c:43:5: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | free(name);return 0; | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ locking.c:49:10: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | { yell("Locking",name); /* in order to cater for clock skew: get */ | ^ locking.c:64:21: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | triedforce=1,nlog("Forced unlock denied on"),logqnl(name); | ^ locking.c:64:55: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | triedforce=1,nlog("Forced unlock denied on"),logqnl(name); | ^ locking.c:66:15: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | { nlog("Forcing lock on");logqnl(name);suspend(); | ^ locking.c:66:41: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | { nlog("Forcing lock on");logqnl(name);suspend(); | ^ locking.c:85:12: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | { nlog("Truncating");logqnl(name);elog(" and retrying lock\n"); | ^ locking.c:85:33: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | { nlog("Truncating");logqnl(name);elog(" and retrying lock\n"); | ^ locking.c:85:44: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | { nlog("Truncating");logqnl(name);elog(" and retrying lock\n"); | ^ locking.c:92:16: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | faillock: nlog("Lock failure on");logqnl(name); | ^ locking.c:92:42: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | faillock: nlog("Lock failure on");logqnl(name); | ^ locking.c:96:12: warning: passing arguments to 'ssleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | ds: ssleep((unsigned)locksleep); | ^ locking.c:98:9: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | term: { free(name); /* drop the preallocated buffer */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ locking.c:106:10: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | elog(whilstwfor),elog("lockfile"),logqnl(name),Terminate(); | ^ locking.c:106:27: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | elog(whilstwfor),elog("lockfile"),logqnl(name),Terminate(); | ^ locking.c:106:46: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | elog(whilstwfor),elog("lockfile"),logqnl(name),Terminate(); | ^ locking.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 lockit(name,lockp)char*name;char**const lockp; | ^ In file included from locking.c:20: ./locking.h:6:2: warning: a function declaration without a prototype is 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 | lockit P((char*name,char**const lockp)), | ^ locking.c:115:17: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | lckfile=tstrdup(noext); | ^ locking.c:122:13: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | { nlog("Deadlock attempted on");logqnl(lckfile); | ^ locking.c:122:45: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | { nlog("Deadlock attempted on");logqnl(lckfile); | ^ locking.c:123:2: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | free(lckfile); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ locking.c:110:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | int lcllock(noext,withext) /* lock a local lockfile */ | ^ In file included from locking.c:20: ./locking.h:7:2: warning: a function declaration without a prototype is 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 | lcllock P((const char*const noext,const char*const withext)), | ^ locking.c:137:10: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | yell("Unlocking",*lockp); | ^ locking.c:139:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | nlog("Couldn't unlock"),logqnl(*lockp); | ^ locking.c:139:32: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | nlog("Couldn't unlock"),logqnl(*lockp); | ^ locking.c:143:2: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | free(*lockp); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ locking.c:132:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | void unlock(lockp)char**const lockp; | ^ In file included from locking.c:20: ./locking.h:4:2: warning: a function declaration without a prototype is 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 | unlock P((char**const lockp)); | ^ locking.c:149:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | int xcreat(name,mode,tim,chownit)const char*const name;const mode_t mode; | ^ locking.c:149:69: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'mode_t' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] 149 | int xcreat(name,mode,tim,chownit)const char*const name;const mode_t mode; | ^ ./locking.h:8:47: note: previous declaration is here 8 | xcreat Q((const char*const name,const mode_t mode,time_t*const tim, | ^ locking.c:152:15: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | i=lastdirsep(name)-name; | ^ locking.c:159:16: warning: passing arguments to 'myrename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | j=myrename(p,name); | ^ locking.c:161:3: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | free(p); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ locking.c:191:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | nlog("Acquiring kernel-lock\n"); | ^ locking.c:188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | int fdlock(fd)int fd; | ^ In file included from locking.c:20: ./locking.h:21:2: warning: a function declaration without a prototype is 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 | fdlock P((int fd)), | ^ 63 warnings generated. --- mans --- --- procmail.1 --- --- bins --- --- memblk.o --- In file included from memblk.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- mans --- /bin/sh ./mansed /bin/sh procmail.man procmail.1 "/bin/rm -f" /dev/null --- bins --- --- ../new/mailstat --- --- memblk.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- formail --- --- memblk.o --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from memblk.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] --- formail --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing formail.o common.o fields.o formisc.o sublib.o ecommon.o acommon.o -o formail -s -lm -ldl -lc --- memblk.o --- 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ memblk.c:35:17: warning: passing arguments to 'resizeblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | resizeblock(mb,len,0); | ^ memblk.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 makeblock(mb,len)memblk*const mb;const long len; | ^ In file included from memblk.c:16: ./memblk.h:14:2: warning: a function declaration without a prototype is 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 | makeblock P((memblk*const mb,const long len)), /* given length */ | ^ memblk.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | void wrapblock(mb,p,len)memblk*const mb;char*const p;const long len; | ^ In file included from memblk.c:16: ./memblk.h:15:2: warning: a function declaration without a prototype is 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 | wrapblock P((memblk*const mb,char*const p,const long len)), /* put memblk */ | ^ memblk.c:51:5: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | free(mb->p); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ memblk.c:42:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | void freeblock(mb)memblk*const mb; | ^ In file included from memblk.c:16: ./memblk.h:17:2: warning: a function declaration without a prototype is 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 | freeblock P((memblk*const mb)), /* deallocate it */ | ^ memblk.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void lockblock(mb)memblk*const mb; | ^ In file included from memblk.c:16: ./memblk.h:18:2: warning: a function declaration without a prototype is 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 | lockblock P((memblk*const mb)); /* protect this block from future changes */ | ^ memblk.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 resizeblock(mb,len,nonfatal)memblk*const mb;const long len; | ^ In file included from memblk.c:16: ./memblk.h:20:2: warning: a function declaration without a prototype is 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 | resizeblock P((memblk*const mb,const long len, /* change the size */ | ^ memblk.c:155:25: 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] 155 | if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) | ^ memblk.c:155:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 155 | if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memblk.c:155:12: note: place parentheses around the assignment to silence this warning 155 | if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) | ^ | ( ) memblk.c:155:12: note: use '==' to turn this assignment into an equality comparison 155 | if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) | ^ | == memblk.c:167:35: 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] 167 | if(cleanup_func&&(*cleanup_func)(mb,&filled,origfilled,data)) | ^ memblk.c:137:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | char*read2blk(mb,filledp,read_func,cleanup_func,data)memblk*const mb; | ^ In file included from memblk.c:16: ./memblk.h:23:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | *read2blk P((memblk*const mb,long*const filledp,read_func_type*read_func, | ^ 38 warnings generated. --- mcommon.o --- In file included from mcommon.c:11: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from mcommon.c:11: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ mcommon.c:20:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | void qsignal(sig,action)const int sig;void(*action)P((void)); | ^ In file included from mcommon.c:12: ./mcommon.h:4:2: warning: a function declaration without a prototype is 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 | qsignal P((const int sig,void(*action)(void))); | ^ 23 warnings generated. --- ../new/mailstat --- ln ../src/mailstat ../new/mailstat --- mans --- --- formail.1 --- /bin/sh ./mansed /bin/sh formail.man formail.1 "/bin/rm -f" /dev/null --- bins --- --- lockfile --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lockfile.o exopen.o sublib.o acommon.o mcommon.o authenticate.o lastdirsep.o -o lockfile -s -lm -ldl -lc --- recommend --- ================================================================ =============== --- mans --- --- lockfile.1 --- --- mailstat.1 --- --- lockfile.1 --- /bin/sh ./mansed /bin/sh lockfile.man lockfile.1 "/bin/rm -f" /dev/null --- mailstat.1 --- /bin/sh ./mansed /bin/sh mailstat.man mailstat.1 "/bin/rm -f" /dev/null --- bins --- --- mailfold.o --- In file included from mailfold.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ --- recommend --- If you are a system administrator you should consider integrating procmail into the mail-delivery system -- for advanced functionality, speed AND SECURITY --. For more information about this topic you should look in the examples/advanced file. --- bins --- | ^ --- pipes.o --- In file included from pipes.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- mailfold.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- pipes.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- mailfold.o --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from mailfold.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] --- pipes.o --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from pipes.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] --- mailfold.o --- 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ --- pipes.o --- 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ --- mailfold.o --- ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ mailfold.c:39:19: 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 const char*fifrom(fromw,lbound,ubound) | ^ mailfold.c:51:20: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | doesc=0,rwrite(s,esc,STRLEN(esc)),lastdump++; /* escape it */ | ^ --- pipes.o --- ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ pipes.c:44:16: warning: passing arguments to 'cstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | { lastexec=cstr(lastexec,progname);toutflag=0; | ^ pipes.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 inittmout(progname)const char*const progname; | ^ In file included from pipes.c:18: --- mailfold.o --- mailfold.c:48:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | static long getchunk(s,fromw,len)const int s;const char*fromw;const long len; | ^ mailfold.c:85:58: warning: passing arguments to 'fdlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | { if(ft_lock(type)&&(lseek(s,(off_t)0,SEEK_END),fdlock(s))) | ^ mailfold.c:86:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | nlog("Kernel-lock failed\n"); | ^ mailfold.c:98:11: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- pipes.o --- ./pipes.h:5:2: warning: a function declaration without a prototype is 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 | inittmout P((const char*const progname)), | ^ pipes.c:50:38: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | { alarm(0);alrmtime=0;toutflag=1;nlog("Timeout, "); /* careful, killing */ | ^ pipes.c:51:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | elog(pidchild>0&&!kill(pidchild,SIGTERM)?"terminating":"was waiting for"); | ^ pipes.c:52:9: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- mailfold.o --- 98 | rwrite(s,source++,1);len--;part--; /* set the trap */ | ^ mailfold.c:101:14: warning: passing arguments to 'ssleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | ssleep(1); /* ...what a difference this (tea) second makes... */ | ^ mailfold.c:108:27: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | jin: while(part&&(i=rwrite(s,source,BLKSIZ=(got=rread(STDIN,p,left))) /* read mail */ | ^ pipes.c:212:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | static char*read_read(p,left,data)char*p;long left;void*data; | ^ pipes.c:227:13: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | if(1==rread(STDIN,buf,1)) /* backup pipe closed? */ | ^ pipes.c:228:16: warning: passing arguments to 'resizeblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | { resizeblock(mb,oldfilled,0); | ^ --- mailfold.o --- ./mailfold.h:6:2: warning: a function declaration without a prototype is 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 | writefolder P((char*boxname,char*linkfolder,const char*source,long len, | ^ mailfold.c:339:12: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | if(eqFrom_(chp=themail.p)) /* any "From " header */ | ^ mailfold.c:340:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 340 | { if(chp=strchr(themail.p,'\n')) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ mailfold.c:340:11: note: place parentheses around the assignment to silence this warning 340 | { if(chp=strchr(themail.p,'\n')) | ^ --- pipes.o --- pipes.c:221:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | static int read_cleanup(mb,filledp,origfilled,data)memblk*mb; | ^ pipes.c:243:18: warning: passing arguments to 'read2blk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | { return read2blk(mb,filled,&read_read,&read_cleanup,&oldfilled); | ^ pipes.c:242:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | char*readdyn(mb,filled,oldfilled)memblk*const mb;long*const filled,oldfilled; | ^ In file included from pipes.c:18: --- mailfold.o --- | ( ) mailfold.c:340:11: note: use '==' to turn this assignment into an equality comparison 340 | { if(chp=strchr(themail.p,'\n')) | ^ | == mailfold.c:344:9: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | elog(themail.p);elog(newline);*chp='\n'; /* (any length) */ | ^ mailfold.c:344:25: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | elog(themail.p);elog(newline);*chp='\n'; /* (any length) */ | ^ mailfold.c:348:15: warning: passing arguments to 'egrepin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- pipes.o --- ./pipes.h:15:3: warning: a function declaration without a prototype is 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 | *readdyn P((struct memblk*const mb,long*const filled,long oldfilled)), | ^ pipes.c:248:14: warning: passing arguments to 'primeStdout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | primeStdout(nameeq); | ^ pipes.c:249:12: warning: passing arguments to 'wrapblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | wrapblock(&temp,Stdout,Stdfilled); | ^ pipes.c:251:12: warning: passing arguments to 'retStdout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | retStdout(temp.p,pwait&&pipw,!value); | ^ --- mailfold.o --- 348 | (chp=egrepin(NSUBJECT,chp,(long)(thebody-chp),0))) | ^ mailfold.c:353:60: warning: passing arguments to 'detab' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | ((char*)tmemmove(buf,chp2,subjlen))[subjlen]='\0';detab(buf); | ^ mailfold.c:354:9: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | elog(" ");elog(buf);elog(newline); | ^ mailfold.c:354:19: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | elog(" ");elog(buf);elog(newline); | ^ --- pipes.o --- pipes.c:246:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | int readvar(nameeq,value,len)char*const nameeq,*const value;const long len; | ^ In file included from pipes.c:18: ./pipes.h:11:2: warning: a function declaration without a prototype is 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 | readvar P((char*const nameeq,char*const value,const long len)); | ^ pipes.c:255:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | char*fromprog(name,dest,max)char*name;char*const dest;size_t max; | ^ pipes.c:257:8: warning: passing arguments to 'rpipe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- mailfold.o --- mailfold.c:354:29: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | elog(" ");elog(buf);elog(newline); | ^ mailfold.c:357:10: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | elog(sfolder);strlcpy(buf,lstfolder,MAXfoldlen);detab(buf);elog(buf); | ^ mailfold.c:357:59: warning: passing arguments to 'detab' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | elog(sfolder);strlcpy(buf,lstfolder,MAXfoldlen);detab(buf);elog(buf); | ^ --- pipes.o --- 257 | rpipe(pinfd);inittmout(name); | ^ pipes.c:259:25: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | { childsetup();rclose(PRDI);rpipe(poutfd);rclose(STDOUT); | ^ pipes.c:259:37: warning: passing arguments to 'rpipe' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | { childsetup();rclose(PRDI);rpipe(poutfd);rclose(STDOUT); | ^ pipes.c:259:52: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | { childsetup();rclose(PRDI);rpipe(poutfd);rclose(STDOUT); | ^ --- mailfold.o --- mailfold.c:357:69: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | elog(sfolder);strlcpy(buf,lstfolder,MAXfoldlen);detab(buf);elog(buf); | ^ mailfold.c:359:13: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | do elog(TABCHAR); | ^ mailfold.c:361:12: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | ultstr(7,lastdump,buf);elog(buf);elog(newline); | ^ mailfold.c:361:33: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- pipes.o --- pipes.c:261:8: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | rclose(PWRO),rdup(PWRI),rclose(PWRI),getstdin(PRDO),callnewprog(name); | ^ pipes.c:261:19: warning: passing arguments to 'rdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | rclose(PWRO),rdup(PWRI),rclose(PWRI),getstdin(PRDO),callnewprog(name); | ^ pipes.c:261:32: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | rclose(PWRO),rdup(PWRI),rclose(PWRI),getstdin(PRDO),callnewprog(name); | ^ --- mailfold.o --- 361 | ultstr(7,lastdump,buf);elog(buf);elog(newline); | ^ mailfold.c:361:43: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | ultstr(7,lastdump,buf);elog(buf);elog(newline); | ^ mailfold.c:334:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | void logabstract(lstfolder)const char*const lstfolder; | ^ In file included from mailfold.c:29: ./mailfold.h:10:2: warning: a function declaration without a prototype is 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 | logabstract P((const char*const lstfolder)), | ^ --- pipes.o --- pipes.c:262:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | rclose(PWRI);rclose(PRDO); | ^ pipes.c:262:25: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | rclose(PWRI);rclose(PRDO); | ^ pipes.c:264:8: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | rclose(PWRO),stermchild(); | ^ pipes.c:265:12: warning: passing arguments to 'concon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | concon('\n'); | ^ --- mailfold.o --- mailfold.c:367:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | void concon(ch)const int ch; /* flip between concatenated and split fields */ | ^ In file included from mailfold.c:29: ./mailfold.h:11:2: warning: a function declaration without a prototype is 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 | concon P((const int ch)); | ^ mailfold.c:383:30: warning: passing arguments to 'makeblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | dfilled=mailread=0;makeblock(&new,0); | ^ mailfold.c:384:9: warning: passing arguments to 'readdyn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- pipes.o --- pipes.c:266:10: warning: passing arguments to 'dump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | dump(PWRO,ft_PIPE,themail.p,filled);waitfor(pidfilt);exit(lexitcode); | ^ pipes.c:268:9: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | rclose(PWRI);p=dest; | ^ pipes.c:270:18: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | { name=tstrdup(name); | ^ pipes.c:271:22: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | while(0<(i=rread(PRDI,p,(int)max))&&(p+=i,max-=i)); /* read its lips */ | ^ --- mailfold.o --- 384 | readdyn(&new,&dfilled,thebody-themail.p); | ^ mailfold.c:388:16: warning: passing arguments to 'resizeblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | resizeblock(&themail,filled+=dfilled,1); | ^ mailfold.c:389:14: warning: passing arguments to 'freeblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | freeblock(&new); | ^ mailfold.c:392:16: warning: passing arguments to 'resizeblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | { resizeblock(&new,filled-tobesent+dfilled,0); | ^ --- pipes.o --- pipes.c:272:16: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | if(0(i=opena(file))) /* error? keep the old LOGFILE */ | ^ robust.c:116:14: warning: passing arguments to 'writeerr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | writeerr(file),syslog(LOG_NOTICE,slogstr,errwwriting,file); | ^ robust.c:118:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | rclose(STDERR),rdup(i),rclose(i),logopened=1; | ^ --- misc.o --- In file included from misc.c:17: ./misc.h:33:2: warning: a function declaration without a prototype is 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 | readerr P((const char*const file)), | ^ misc.c:141:15: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | if(readparse(buf,sgetc,2,0)) | ^ misc.c:144:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | bad: nlog(name);elog(toolong);elog(newline); | ^ misc.c:148:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | { nlog(name);elog(notabsolute);elog(newline); | ^ --- robust.o --- robust.c:118:25: warning: passing arguments to 'rdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | rclose(STDERR),rdup(i),rclose(i),logopened=1; | ^ robust.c:118:35: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | rclose(STDERR),rdup(i),rclose(i),logopened=1; | ^ robust.c:110:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | void opnlog(file)const char*file; | ^ In file included from robust.c:14: ./robust.h:10:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- misc.o --- misc.c:137:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | int buildpath(name,path,file)const char*name,*const path,*const file; | ^ In file included from misc.c:17: ./misc.h:50:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | buildpath P((const char*name,const char*const path,const char*const file)), | ^ misc.c:168:10: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | qsignal(SIGUSR1,verboff); | ^ misc.c:175:10: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- robust.o --- 10 | opnlog P((const char*file)), | ^ robust.c:122:7: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | { yell("Opening",a); | ^ robust.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 opena(a)const char*const a; | ^ In file included from robust.c:14: ./robust.h:16:2: warning: a function declaration without a prototype is 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 | opena P((const char*const a)), | ^ robust.c:132:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | int ropen(name,mode,mask)const char*const name;const int mode; --- misc.o --- 175 | qsignal(SIGUSR2,verbon); | ^ misc.c:181:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | nlog(a),logqnl(b); | ^ misc.c:181:20: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | nlog(a),logqnl(b); | ^ misc.c:179:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | void yell(a,b)const char*const a,*const b; /* log if VERBOSE=on */ | ^ In file included from misc.c:17: ./misc.h:38:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- robust.o --- | ^ robust.c:133:15: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'mode_t' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] 133 | const mode_t mask; | ^ ./robust.h:17:61: note: previous declaration is here 17 | ropen Q((const char*const name,const int mode,const mode_t mask)), | ^ robust.c:142:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | int rpipe(fd)int fd[2]; | ^ In file included from robust.c:14: ./robust.h:18:2: warning: a function declaration without a prototype is 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 | rpipe P((int fd[2])), | ^ --- misc.o --- 38 | yell P((const char*const a,const char*const b)), | ^ misc.c:200:38: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | elog("[");oldtime=newtime;ultstr(0,(unsigned long)thepid,num);elog(num); | ^ misc.c:194:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | void nlog(a)const char*const a; | ^ In file included from misc.c:17: ./misc.h:39:2: warning: a function declaration without a prototype is 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 | nlog P((const char*const a)), | ^ --- robust.o --- robust.c:153:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | int rdup(p)const int p; | ^ In file included from robust.c:14: ./robust.h:19:2: warning: a function declaration without a prototype is 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 | rdup P((const int p)), | ^ robust.c:162:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | int rclose(fd)const int fd; /* a SysV secure close (signal immune) */ | ^ In file included from robust.c:14: --- misc.o --- misc.c:206:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | void logqnl(a)const char*const a; | ^ In file included from misc.c:17: ./misc.h:40:2: warning: a function declaration without a prototype is 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 | logqnl P((const char*const a)), | ^ misc.c:210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | void skipped(x)const char*const x; | ^ In file included from misc.c:17: ./misc.h:41:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- robust.o --- ./robust.h:20:2: warning: a function declaration without a prototype is 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 | rclose P((const int fd)), | ^ robust.c:168:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | int rread(fd,a,len)const int fd,len;void*const a; /* a SysV secure read */ | ^ In file included from robust.c:14: ./robust.h:21:2: warning: a function declaration without a prototype is 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 | rread P((const int fd,void*const a,const int len)), | ^ --- misc.o --- 41 | skipped P((const char*const x)), | ^ misc.c:217:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 217 | while(p= *gargv) | ~^~~~~~~~ misc.c:217:10: note: place parentheses around the assignment to silence this warning 217 | while(p= *gargv) | ^ | ( ) misc.c:217:10: note: use '==' to turn this assignment into an equality comparison 217 | while(p= *gargv) | ^ | == misc.c:232:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | char*tstrdup(a)const char*const a; | ^ In file included from misc.c:17: ./misc.h:57:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- robust.o --- robust.c:174:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | int rwrite(fd,a,len)const int fd,len;const void*const a; | ^ In file included from robust.c:14: ./robust.h:22:2: warning: a function declaration without a prototype is 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 | rwrite P((const int fd,const void*const a,const int len)); | ^ robust.c:186:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 186 | else /* set it manually again, to avoid problems with */ | ^ robust.c:180:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | void ssleep(seconds)const unsigned seconds; | ^ --- misc.o --- 57 | *tstrdup P((const char*const a)), | ^ misc.c:240:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | free(a); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ misc.c:238:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | char*cstr(a,b)char*const a;const char*const b; /* dynamic buffer management */ | ^ In file included from misc.c:17: ./misc.h:58:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | *cstr P((char*const a,const char*const b)), | ^ --- robust.o --- In file included from robust.c:14: ./robust.h:11:2: warning: a function declaration without a prototype is 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 | ssleep P((const unsigned seconds)), | ^ robust.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | void doumask(mask)const mode_t mask; | ^ robust.c:190:32: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'mode_t' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] 190 | void doumask(mask)const mode_t mask; | ^ ./robust.h:12:26: note: previous declaration is here 12 | doumask Q((const mode_t mask)); | ^ 68 warnings generated. --- misc.o --- misc.c:264:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 264 | if(i=(lcking&~lck__NOMSG)>>1) | ~^~~~~~~~~~~~~~~~~~~~~~~~ misc.c:264:6: note: place parentheses around the assignment to silence this warning 264 | if(i=(lcking&~lck__NOMSG)>>1) | ^ | ( ) misc.c:264:6: note: use '==' to turn this assignment into an equality comparison 264 | if(i=(lcking&~lck__NOMSG)>>1) | ^ | == misc.c:284:12: warning: passing arguments to 'sendcomsat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | sendcomsat(lstfolder); | ^ misc.c:287:26: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | { lstfolder=tgetenv(lastfolder); | ^ misc.c:288:12: warning: passing arguments to 'sendcomsat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | sendcomsat(0); | ^ misc.c:290:17: warning: passing arguments to 'logabstract' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | logabstract(lstfolder); | ^ misc.c:293:10: warning: passing arguments to 'exectrap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | exectrap(traps); | ^ misc.c:296:23: warning: passing arguments to 'unlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | nextexit=2;unlock(&loclock);unlock(&globlock); | ^ misc.c:296:40: warning: passing arguments to 'unlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | nextexit=2;unlock(&loclock);unlock(&globlock); | ^ misc.c:305:9: warning: passing arguments to 'ssleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | { ssleep((unsigned)suspendv); | ^ misc.c:321:10: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | { qsignal(SIGTERM,srequeue);qsignal(SIGINT,sbounce); | ^ misc.c:321:36: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | { qsignal(SIGTERM,srequeue);qsignal(SIGINT,sbounce); | ^ misc.c:322:10: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | qsignal(SIGHUP,sbounce);qsignal(SIGQUIT,slose); | ^ misc.c:322:34: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | qsignal(SIGHUP,sbounce);qsignal(SIGQUIT,slose); | ^ misc.c:326:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | static void squeeze(target)char*target; | ^ misc.c:354:15: warning: passing arguments to 'bregcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | bregcomp(expr,!casesens)),(const uchar*)source,(const uchar*)source, | ^ misc.c:356:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | free(expr); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ misc.c:350:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | char*egrepin(expr,source,len,casesens)char*expr;const char*source; | ^ In file included from misc.c:17: ./misc.h:59:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | *egrepin P((char*expr,const char*source,const long len,int casesens)); | ^ misc.c:364:26: warning: passing arguments to 'auth_whatuid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | passinvk&&auth_whatuid(passinvk)==uid|| | ^ misc.c:361:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | int enoughprivs(passinvk,euid,egid,uid,gid)const auth_identity*const passinvk; | ^ In file included from misc.c:17: ./misc.h:52:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | enoughprivs Q2((const auth_identity*const passinvk,const uid_t euid, | ^ misc.c:368:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | const char*newdynstring(adrp,chp)struct dynstring**const adrp; | ^ In file included from misc.c:17: ./misc.h:61:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | *newdynstring P((struct dynstring**const adrp,const char*const chp)); | ^ misc.c:376:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | void*app_val_(sp,size)struct dyna_array*const sp;int size; | ^ In file included from misc.c:17: ./misc.h:46:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | *app_val_ P((struct dyna_array*const sp,int size)), | ^ misc.c:397:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 397 | else | ^ misc.c:402:13: warning: passing arguments to 'concon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | concon(' '); | ^ misc.c:422:16: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | if(!testB('*')) /* marks a condition, new syntax */ | ^ misc.c:424:14: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | { if(testB('#')) /* line starts with a comment? */ | ^ misc.c:428:14: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | if(testB('\n')) /* skip empty lines */ | ^ misc.c:432:28: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | if(skippedempty&&testB(':')) | ^ misc.c:439:18: warning: passing arguments to 'getlline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | if(getlline(buf2,buf2+linebuf)) | ^ misc.c:458:34: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | if(chp2>buf2&&*(chp2=skpspace(chp2))=='^') | ^ misc.c:465:17: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | chp2=skpspace(chp3); | ^ misc.c:473:16: warning: passing arguments to 'alphanum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | { if(alphanum(*(chp2=chp))==1) | ^ misc.c:475:22: warning: passing arguments to 'alphanum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | while(alphanum(*++chp2)); | ^ misc.c:476:33: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | if(!strncmp(chp3=skpspace(chp2),"??",2)) | ^ misc.c:491:19: warning: passing arguments to 'concon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | docon: concon(' '); | ^ misc.c:494:46: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | ltobesent=strlen(lstartchar=(char*)tgetenv(chp)); | ^ misc.c:495:26: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | partition: chp2=skpspace(chp3+2);chp++;sizecheck=ltobesent; | ^ misc.c:531:15: warning: passing arguments to 'bregcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | re=bregcomp(chp,igncase);chp=lstartchar; | ^ misc.c:562:4: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | free(re); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ misc.c:570:17: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | if(readparse(buf,sgetc,2,0)&&(i=0,1)) | ^ misc.c:572:25: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | strcpy(buf2,skpspace(buf)); | ^ misc.c:574:41: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | case '!':negate^=1;chp2=skpspace(chp); | ^ misc.c:577:35: warning: passing arguments to 'metaparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | case '?':pwait=2;metaparse(chp);inittmout(buf);ignwerr=1; | ^ misc.c:577:50: warning: passing arguments to 'inittmout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | case '?':pwait=2;metaparse(chp);inittmout(buf);ignwerr=1; | ^ misc.c:578:11: warning: passing arguments to 'pipin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | pipin(buf,lstartchar,ltobesent,0); | ^ misc.c:594:17: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | if(readparse(buf,sgetc,2,0)&&(i=0,1)) | ^ misc.c:599:21: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | skipped(skpspace(chp));strcpy(buf2,buf); | ^ misc.c:629:30: warning: passing arguments to 'ltstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | nlog("Score: ");ltstr(7,(long)(score-lscore),num); | ^ misc.c:632:10: warning: passing arguments to 'ltstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | ltstr(7,iscore,num); | ^ misc.c:385:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | int conditions(flags,prevcond,lastsucc,lastcond,skipping,nrcond)char flags[]; | ^ In file included from misc.c:17: ./misc.h:54:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | conditions P((char flags[],const int prevcond,const int lastsucc, | ^ 128 warnings generated. --- from.o --- In file included from from.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- variables.o --- In file included from variables.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ | ^ --- from.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- variables.o --- ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ --- from.o --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from from.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] --- variables.o --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from variables.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] --- from.o --- 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ --- variables.o --- 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ --- from.o --- ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ from.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 eqFrom_(a)const char*const a; | ^ In file included from from.c:19: ./from.h:4:2: warning: a function declaration without a prototype is 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 | eqFrom_ P((const char*const a)); | ^ --- variables.o --- ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ variables.c:56:7: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | yell("Assigning",a);remove=0; | ^ variables.c:62:45: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | { split=curr->ename;*last=curr->enext;free(curr); /* earlier? */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) --- from.o --- from.c:29:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | const char*skipFrom_(startchar,tobesentp)const char*startchar;long*tobesentp; | ^ In file included from from.c:19: ./from.h:6:3: warning: a function declaration without a prototype is 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 | *skipFrom_ P((const char*startchar,long*tobesentp)); | ^ from.c:45:17: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | start=skpspace(start);start+=strcspn(start," \t\n"); /* jump over address */ | ^ --- variables.o --- | ^ variables.c:69:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 69 | { while(*preenv=preenv[1]) /* wipe this entry out of the environment */ | ~~~~~~~^~~~~~~~~~ variables.c:69:22: note: place parentheses around the assignment to silence this warning 69 | { while(*preenv=preenv[1]) /* wipe this entry out of the environment */ | ^ | ( ) variables.c:69:22: note: use '==' to turn this assignment into an equality comparison 69 | { while(*preenv=preenv[1]) /* wipe this entry out of the environment */ | ^ | == variables.c:80:62: warning: passing arguments to 'newdynstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- from.o --- from.c:46:14: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | if(skpspace(start)>=end) /* enough space left? */ | ^ from.c:41:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | static char*findtstamp(start,end)const char*start,*end; | ^ from.c:85:9: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | nlog(insufprivs); /* ignore the bogus -f */ | ^ from.c:92:12: warning: passing arguments to 'makeblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- variables.o --- 80 | preenv[1]=0;*(lastenv=preenv)=(char*)(split=newdynstring(&myenv,a)); | ^ variables.c:53:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | const char*sputenv(a)const char*const a; | ^ In file included from variables.c:25: ./variables.h:4:3: warning: a function declaration without a prototype is 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 | *sputenv P((const char*const a)), | ^ variables.c:86:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | void primeStdout(varname)const char*const varname; /* changes are allowed! */ | ^ In file included from variables.c:25: --- from.o --- 92 | makeblock(&themail,2*linebuf+(lfr=strlen(fwhom))+(linv=strlen(invoker))); | ^ from.c:107:23: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | { while(1==(r=rread(STDIN,themail.p,1))) /* then read in first line */ | ^ from.c:110:43: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if(r>0&&STRLEN(From_)<=(extra=1+rread( /* is it a From_ line? */ | ^ from.c:115:23: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | { if((extra=rread(STDIN,themail.p,(int)(linebuf-2)))<=0) | ^ --- variables.o --- ./variables.h:8:2: warning: a function declaration without a prototype is 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 | primeStdout P((const char*const varname)), | ^ variables.c:98:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | free(newmyenv);*lastenv=Stdout=0; | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ variables.c:103:13: warning: passing arguments to 'retbStdout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | retbStdout(newmyenv); | ^ --- from.o --- from.c:130:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | nlog(insufprivs); | ^ from.c:140:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 140 | else | ^ from.c:164:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 164 | else if(from) /* whole new From_? */ | ^ from.c:69:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | void makeFrom(from,invoker)const char*from,*const invoker; | ^ In file included from from.c:19: --- variables.o --- variables.c:109:15: warning: passing arguments to 'asenvtext' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | asenvtext(p+1); /* we always have to update the pointers for these */ | ^ variables.c:111:11: warning: passing arguments to 'asenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | asenv(p+1); /* invoke any magic */ | ^ variables.c:93:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | void retStdout(newmyenv,fail,unset) /* see note on primeStdout() */ | ^ In file included from variables.c:25: --- from.o --- ./from.h:8:2: warning: a function declaration without a prototype is 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 | makeFrom P((const char*from,const char*const invoker)), | ^ from.c:172:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | void checkprivFrom_(euid,logname,override)uid_t euid;const char*logname; | ^ from.c:182:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 182 | if(grp=getgrgid(gid)) /* check out the invoker's gid */ | ~~~^~~~~~~~~~~~~~ from.c:182:12: note: place parentheses around the assignment to silence this warning 182 | if(grp=getgrgid(gid)) /* check out the invoker's gid */ | ^ --- variables.o --- ./variables.h:9:2: warning: a function declaration without a prototype is 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 | retStdout P((char*const newmyenv,const int fail,const int unset)), | ^ variables.c:114:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | void retbStdout(newmyenv)char*const newmyenv; /* see note on primeStdout() */ | ^ In file included from variables.c:25: ./variables.h:10:2: warning: a function declaration without a prototype is 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 | retbStdout P((char*const newmyenv)), | ^ --- from.o --- | ( ) from.c:182:12: note: use '==' to turn this assignment into an equality comparison 182 | if(grp=getgrgid(gid)) /* check out the invoker's gid */ | ^ | == 40 warnings generated. --- variables.o --- variables.c:119:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | void appendlastvar(value)const char*const value; | ^ In file included from variables.c:25: ./variables.h:11:2: warning: a function declaration without a prototype is 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 | appendlastvar P((const char*const value)), | ^ variables.c:129:19: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | return readparse(dst,sgetc,2,0)?0:sputenv(buf); | ^ variables.c:127:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | const char*eputenv(src,dst)const char*const src;char*const dst; | ^ In file included from variables.c:25: ./variables.h:5:3: warning: a function declaration without a prototype is 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 | *eputenv P((const char*const src,char*const dst)), | ^ variables.c:139:14: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | if(p!=buf2)free(p); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ variables.c:132:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | void setval(name,value)const char*const name,*const value; /* destroys buf2 */ | ^ In file included from variables.c:25: ./variables.h:16:2: warning: a function declaration without a prototype is 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 | setval P((const char*const name,const char*const value)), | ^ variables.c:142:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | void setdef(name,value)const char*const name,*const value; | ^ In file included from variables.c:25: ./variables.h:17:2: warning: a function declaration without a prototype is 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 | setdef P((const char*const name,const char*const value)), | ^ variables.c:150:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | const char*tgetenv(a)const char*const a; | ^ In file included from variables.c:25: ./variables.h:6:3: warning: a function declaration without a prototype is 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 | *tgetenv P((const char*const a)); | ^ variables.c:168:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 168 | for(ep=emax;p= *ep;ep++) /* scan for this keeper */ | ~^~~~~ variables.c:168:15: note: place parentheses around the assignment to silence this warning 168 | for(ep=emax;p= *ep;ep++) /* scan for this keeper */ | ^ | ( ) variables.c:168:15: note: use '==' to turn this assignment into an equality comparison 168 | for(ep=emax;p= *ep;ep++) /* scan for this keeper */ | ^ | == variables.c:193:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 193 | for(pp=ld_;p= *pp;pp++) /* does it start with LD_ or similar? */ | ~^~~~~ variables.c:193:18: note: place parentheses around the assignment to silence this warning 193 | for(pp=ld_;p= *pp;pp++) /* does it start with LD_ or similar? */ | ^ | ( ) variables.c:193:18: note: use '==' to turn this assignment into an equality comparison 193 | for(pp=ld_;p= *pp;pp++) /* does it start with LD_ or similar? */ | ^ | == variables.c:160:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | void cleanupenv(preserve)int preserve; | ^ In file included from variables.c:25: ./variables.h:12:2: warning: a function declaration without a prototype is 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 | cleanupenv P((int preserve)), | ^ variables.c:205:21: warning: passing arguments to 'auth_username' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | { p=auth_username(pass); | ^ variables.c:209:18: warning: passing arguments to 'auth_shell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | p=auth_shell(pass); | ^ variables.c:213:30: warning: passing arguments to 'auth_homedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | setdef(home,auth_homedir(pass));setdef(vdefault,auth_mailboxname(pass)); | ^ variables.c:213:70: warning: passing arguments to 'auth_mailboxname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | setdef(home,auth_homedir(pass));setdef(vdefault,auth_mailboxname(pass)); | ^ variables.c:220:10: warning: passing arguments to 'setlgcs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | setlgcs(tgetenv(lgname)); /* make sure sendcomsat has a copy */ | ^ variables.c:200:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | void initdefenv(pass,fallback,do_presets,mode)auth_identity*pass; | ^ In file included from variables.c:25: ./variables.h:13:2: warning: a function declaration without a prototype is 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 | initdefenv Q2((auth_identity*pass,const char*fallback,int do_presets, | ^ variables.c:238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | int alphanum(c)const unsigned c; | ^ In file included from variables.c:25: ./variables.h:25:2: warning: a function declaration without a prototype is 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 | alphanum P((const unsigned c)); | ^ variables.c:258:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | void setmaildir(newdir)const char*const newdir; /* destroys buf2 */ | ^ In file included from variables.c:25: ./variables.h:20:2: warning: a function declaration without a prototype is 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 | setmaildir P((const char*const newdir)), | ^ variables.c:264:10: warning: passing arguments to 'setlfcs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | { setlfcs(folder); | ^ variables.c:263:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | void setlastfolder(folder)const char*const folder; /* destroys buf2 */ | ^ In file included from variables.c:25: ./variables.h:18:2: warning: a function declaration without a prototype is 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 | setlastfolder P((const char*const folder)), | ^ variables.c:271:26: warning: passing arguments to 'renvint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | { if((forceret=renvint(-2L,p))>=0) /* yes, is it positive? */ | ^ variables.c:279:8: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | ultstr(0,(unsigned long)retval,p+1);sputenv(buf2); | ^ variables.c:268:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | int setexitcode(trapisset)int trapisset; | ^ In file included from variables.c:25: ./variables.h:24:2: warning: a function declaration without a prototype is 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 | setexitcode P((int trapisset)), | ^ variables.c:290:19: warning: passing arguments to 'ungetb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | *chp='\0';ungetb(i); | ^ variables.c:292:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | { nlog(exceededlb);setoverflow(); | ^ variables.c:285:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | char*gobenv(chp,end)char*chp,*end; | ^ In file included from variables.c:25: ./variables.h:27:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | *gobenv P((char*chp,char*end)); | ^ variables.c:305:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 305 | if(chp=strchr(src,'=')) /* is it an assignment? */ | ~~~^~~~~~~~~~~~~~~~ variables.c:305:9: note: place parentheses around the assignment to silence this warning 305 | if(chp=strchr(src,'=')) /* is it an assignment? */ | ^ | ( ) variables.c:305:9: note: use '==' to turn this assignment into an equality comparison 305 | if(chp=strchr(src,'=')) /* is it an assignment? */ | ^ | == variables.c:314:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | nlog("Assignment to variable with excessively long name skipped\n"); | ^ variables.c:319:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 319 | if(chp=eputenv(chp,src)) | ~~~^~~~~~~~~~~~~~~~~ variables.c:319:8: note: place parentheses around the assignment to silence this warning 319 | if(chp=eputenv(chp,src)) | ^ | ( ) variables.c:319:8: note: use '==' to turn this assignment into an equality comparison 319 | if(chp=eputenv(chp,src)) | ^ | == variables.c:321:10: warning: passing arguments to 'asenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | asenv(chp); | ^ variables.c:303:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | int asenvcpy(src)char*src; | ^ In file included from variables.c:25: ./variables.h:23:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | asenvcpy P((char*src)), | ^ variables.c:329:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | void allocbuffers(lineb,setenv)size_t lineb;int setenv; | ^ variables.c:333:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | free(buf2); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ variables.c:334:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | free(p); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ variables.c:340:12: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | ultstr(0,lineb,chp+1); | ^ variables.c:345:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | static void asenvtext(chp)const char*const chp; | ^ variables.c:45: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] 45 | static void asenvtext P((const char*const chp)); /* needed by retStdout */ | ^ variables.c:359:23: warning: passing arguments to 'renvint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | if((lineb=renvint(0L,chp))0) | ^ variables.c:394:16: warning: passing arguments to 'renvint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | { if(renvint(0L,chp)) | ^ variables.c:396:9: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | nlog("Assuming identity of the recipient, VERBOSE=off\n"); | ^ variables.c:401:16: warning: passing arguments to 'renvint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | { if(renvint(0L,chp)) /* is it really? */ | ^ variables.c:411:24: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | { if(!lockit(tstrdup((char*)chp),&globlock)) | ^ variables.c:411:16: warning: passing arguments to 'lockit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | { if(!lockit(tstrdup((char*)chp),&globlock)) | ^ variables.c:418:8: warning: passing arguments to 'pushrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | pushrc(chp); /* inside rcfiles */ | ^ variables.c:422:10: warning: passing arguments to 'changerc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | changerc(chp); | ^ variables.c:427:13: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | { yell("HOST mismatched",name); | ^ variables.c:438:29: warning: passing arguments to 'renvint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | strenvvar[i].val=renvint(strenvvar[i].val,chp); | ^ variables.c:353:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | void asenv(chp)const char*const chp; | ^ In file included from variables.c:25: ./variables.h:15:2: warning: a function declaration without a prototype is 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 | asenv P((const char*const chp)), | ^ variables.c:444:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | long renvint(i,env)const long i;const char*const env; | ^ In file included from variables.c:25: ./variables.h:29:2: warning: a function declaration without a prototype is 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 | renvint P((const long i,const char*const env)); | ^ 108 warnings generated. --- ../new/formail --- --- ../new/lockfile --- --- ../new/formail --- ln ../src/formail ../new/formail --- ../new/lockfile --- ln ../src/lockfile ../new/lockfile --- mans --- --- ../new/formail.1 --- --- ../new/procmail.1 --- --- ../new/formail.1 --- ln ../man/formail.1 ../new/formail.1 --- bins --- --- procmail.o --- In file included from procmail.c:20: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] 3 | /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ | ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] 4 | /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) | ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ --- mans --- --- ../new/procmail.1 --- ln ../man/procmail.1 ../new/procmail.1 --- bins --- | ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] 81 | /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ | ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] 82 | /*#define NO_flock_LOCK /* use of those kernel-locking methods */ | ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] 88 | /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal | ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] 94 | /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using | ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] 134 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from procmail.c:20: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] 53 | /* O_APPEND O_CREAT O_EXCL */ | ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] 58 | /* struct dirent */ | ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] 62 | /* WEXITSTATUS() WTERMSIG() WNOHANG */ | ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] 70 | /* chmod() mkdir() */ | ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] 75 | /* strspn() strcspn() strchr() strcmp() | ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] 84 | /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE | ^ procmail.c:75:19: warning: passing arguments to 'auth_filledid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | if(auth_filledid(spass)&&auth_whatuid(spass)==uid) | ^ procmail.c:75:40: warning: passing arguments to 'auth_whatuid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | if(auth_filledid(spass)&&auth_whatuid(spass)==uid) | ^ procmail.c:77:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 77 | if(tpass=auth_finduid(uid,0)) /* save by copying */ | ~~~~~^~~~~~~~~~~~~~~~~~~~ procmail.c:77:11: note: place parentheses around the assignment to silence this warning 77 | if(tpass=auth_finduid(uid,0)) /* save by copying */ | ^ | ( ) procmail.c:77:11: note: use '==' to turn this assignment into an equality comparison 77 | if(tpass=auth_finduid(uid,0)) /* save by copying */ | ^ | == procmail.c:78:17: warning: passing arguments to 'auth_copyid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | { auth_copyid(spass,tpass); | ^ procmail.c:72:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | static auth_identity*savepass(spass,uid)auth_identity*const spass; | ^ procmail.c:110:42: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | { Deliverymode=!!strncmp(lastdirsep(argv0=argv[0]),procmailn, | ^ procmail.c:118:36: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | case HELPOPT1:case HELPOPT2:elog(pmusage);elog(PM_HELP); | ^ procmail.c:118:50: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | case HELPOPT1:case HELPOPT2:elog(pmusage);elog(PM_HELP); | ^ procmail.c:119:11: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | elog(PM_QREFERENCE); | ^ procmail.c:134:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 134 | else if(chp2=(char*)argv[argc+1]) | ~~~~^~~~~~~~~~~~~~~~~~~~ procmail.c:134:19: note: place parentheses around the assignment to silence this warning 134 | else if(chp2=(char*)argv[argc+1]) | ^ | ( ) procmail.c:134:19: note: use '==' to turn this assignment into an equality comparison 134 | else if(chp2=(char*)argv[argc+1]) | ^ | == procmail.c:137:14: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | nlog("Missing name\n"); | ^ procmail.c:143:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 143 | else if(chp2=(char*)argv[argc+1]) | ~~~~^~~~~~~~~~~~~~~~~~~~ procmail.c:143:19: note: place parentheses around the assignment to silence this warning 143 | else if(chp2=(char*)argv[argc+1]) | ^ | ( ) procmail.c:143:19: note: use '==' to turn this assignment into an equality comparison 143 | else if(chp2=(char*)argv[argc+1]) | ^ | == procmail.c:145:17: warning: passing arguments to 'app_val_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | setarg: app_valp(newargv,(const char*)chp2); | ^ ./misc.h:11:26: note: expanded from macro 'app_valp' 11 | #define app_valp(sp,val) app_val_type(sp,const char*,const char*,val) | ^ ./misc.h:6:46: note: expanded from macro 'app_val_type' 6 | #define app_val_type(sp,t,s,v) (*(t*)app_val_(&sp,sizeof(s))=(v)) | ^ procmail.c:150:14: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | nlog("Missing argument\n"); | ^ procmail.c:155:14: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | { nlog(misrecpt); | ^ procmail.c:168:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | { nlog("LMTP delimiter must be a single character"); | ^ procmail.c:182:16: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | default:nlog("Unrecognised options:");logqnl(chp2); | ^ procmail.c:182:48: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | default:nlog("Unrecognised options:");logqnl(chp2); | ^ procmail.c:183:11: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | elog(pmusage);elog("Processing continued\n"); | ^ procmail.c:183:25: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | elog(pmusage);elog("Processing continued\n"); | ^ procmail.c:190:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | nlog(misrecpt),Deliverymode=0; | ^ procmail.c:197:19: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | conflopt: nlog(conflicting);elog("options\n");elog(pmusage); | ^ procmail.c:197:37: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | conflopt: nlog(conflicting);elog("options\n");elog(pmusage); | ^ procmail.c:197:55: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | conflopt: nlog(conflicting);elog("options\n");elog(pmusage); | ^ procmail.c:221:16: warning: passing arguments to 'cleanupenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | cleanupenv(presenviron); | ^ procmail.c:226:44: warning: passing arguments to 'auth_username' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | checkprivFrom_(euid,passinvk?auth_username(passinvk):0,override); | ^ procmail.c:228:23: warning: passing arguments to 'rdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | while((savstdout=rdup(STDOUT))<=STDERR) | ^ procmail.c:229:11: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | { rclose(savstdout); /* move stdout out of the way */ | ^ procmail.c:230:26: warning: passing arguments to 'opena' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | if(0>(savstdout=opena(devnull))) | ^ procmail.c:234:23: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | fclose(stdout);rclose(STDOUT); /* just to make sure */ | ^ procmail.c:235:12: warning: passing arguments to 'opena' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | if(0>opena(devnull)) | ^ procmail.c:237:13: warning: passing arguments to 'writeerr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | { writeerr(devnull);syslog(LOG_EMERG,slogstr,errwwriting,devnull); | ^ procmail.c:259:11: warning: passing arguments to 'setcomsat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | setcomsat(empty); /* turn on biff by default */ | ^ procmail.c:260:8: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | ultstr(0,(unsigned long)uid,buf);filled=0; | ^ procmail.c:261:43: warning: passing arguments to 'auth_username' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | if(!passinvk||!(chp2=(char*)auth_username(passinvk))) | ^ procmail.c:266:23: warning: passing arguments to 'lmtp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | currcpt=rcpts=lmtp(&lastrcpt,chp2); | ^ procmail.c:268:17: warning: passing arguments to 'lockblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | lockblock(&themail); /* then no one can write to the block */ | ^ procmail.c:281:13: warning: passing arguments to 'setval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | setval(pdomain,currcpt->domain); | ^ procmail.c:283:14: warning: passing arguments to 'sputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | sputenv(pdomain); | ^ procmail.c:286:25: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | { if(currcpt->detail)free(currcpt->detail); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:287:25: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | if(currcpt->domain)free(currcpt->domain); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:288:17: warning: passing arguments to 'auth_freeid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | auth_freeid(currcpt++->id); | ^ procmail.c:291:4: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | free(rcpts);newid();gargv=&nullp; | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:298:20: warning: passing arguments to 'lmtpresponse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | lmtpresponse(lexitcode); | ^ procmail.c:300:27: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | if(currcpt->detail)free(currcpt->detail); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:301:27: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | if(currcpt->domain)free(currcpt->domain); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:302:19: warning: passing arguments to 'auth_freeid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | auth_freeid(currcpt++->id); | ^ procmail.c:304:5: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | free(rcpts); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:310:10: warning: passing arguments to 'makeFrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | makeFrom(fromwhom,chp2); | ^ procmail.c:311:10: warning: passing arguments to 'readmail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | readmail(0,0L); /* read in the mail completely */ | ^ procmail.c:315:17: warning: passing arguments to 'lockblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | lockblock(&themail); | ^ procmail.c:322:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 322 | if(pidchild=sfork()) | ~~~~~~~~^~~~~~~~ procmail.c:322:15: note: place parentheses around the assignment to silence this warning 322 | if(pidchild=sfork()) | ^ | ( ) procmail.c:322:15: note: use '==' to turn this assignment into an equality comparison 322 | if(pidchild=sfork()) | ^ | == procmail.c:328:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 328 | else | ^ procmail.c:334:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 334 | while(chp=(char*)argv[argc]); | ~~~^~~~~~~~~~~~~~~~~~ procmail.c:334:14: note: place parentheses around the assignment to silence this warning 334 | while(chp=(char*)argv[argc]); | ^ | ( ) procmail.c:334:14: note: use '==' to turn this assignment into an equality comparison 334 | while(chp=(char*)argv[argc]); | ^ | == procmail.c:338:28: warning: passing arguments to 'auth_finduser' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | { if(!(pass=auth_finduser(chp2,-1))) /* chp2 is the recipient */ | ^ procmail.c:340:12: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | nlog(unkuser);logqnl(chp2);syslog(LOG_ERR,slogstr,unkuser,chp2); | ^ procmail.c:340:28: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | nlog(unkuser);logqnl(chp2);syslog(LOG_ERR,slogstr,unkuser,chp2); | ^ procmail.c:343:58: warning: passing arguments to 'auth_whatuid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | dorcpt: if(enoughprivs(passinvk,euid,egid,auth_whatuid(pass), | ^ procmail.c:344:18: warning: passing arguments to 'auth_whatgid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | auth_whatgid(pass))) | ^ procmail.c:343:26: warning: passing arguments to 'enoughprivs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | dorcpt: if(enoughprivs(passinvk,euid,egid,auth_whatuid(pass), | ^ procmail.c:346:9: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | nlog(insufprivs); | ^ procmail.c:357:17: warning: passing arguments to 'setcomsat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | setcomsat(DEFcomsat); /* the internal flag */ | ^ procmail.c:359:10: warning: passing arguments to 'setdef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | setdef(scomsat,DEFcomsat); | ^ procmail.c:363:15: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | { nlog("Missing rcfile\n"); | ^ procmail.c:401:22: warning: passing arguments to 'enoughprivs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | !enoughprivs(passinvk,euid,egid,stbuf.st_uid, | ^ procmail.c:408:14: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | nlog(densppr);logqnl(rcfile); | ^ procmail.c:408:30: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | nlog(densppr);logqnl(rcfile); | ^ procmail.c:420:39: warning: passing arguments to 'auth_finduser' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | { auth_identity*idpass=auth_finduser((char*)idhint,0); | ^ procmail.c:422:23: warning: passing arguments to 'auth_whatuid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | { if(auth_whatuid(passinvk)==auth_whatuid(idpass)) | ^ procmail.c:422:47: warning: passing arguments to 'auth_whatuid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | { if(auth_whatuid(passinvk)==auth_whatuid(idpass)) | ^ procmail.c:427:28: warning: passing arguments to 'auth_whatgid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | Setuser: { gid=auth_whatgid(pass);uid=auth_whatuid(pass); | ^ procmail.c:427:51: warning: passing arguments to 'auth_whatuid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | Setuser: { gid=auth_whatgid(pass);uid=auth_whatuid(pass); | ^ procmail.c:428:49: warning: passing arguments to 'auth_username' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | if(euid==ROOT_uid&&(chp=(char*)auth_username(pass))&&*chp) | ^ procmail.c:434:12: warning: passing arguments to 'initdefenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | initdefenv(pass,buf,!presenviron||!mailfilter, /* override */ | ^ procmail.c:436:24: warning: passing arguments to 'auth_freeid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | endpwent();auth_freeid(spassinvk); /* environment by default */ | ^ procmail.c:438:17: warning: passing arguments to 'bopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | if(0<=bopen(confrc)) | ^ procmail.c:442:20: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | oldpath=tgetenv(pathvar); | ^ procmail.c:443:9: warning: passing arguments to 'eputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | eputenv(defspath,buf); /* use the secure PATH */ | ^ procmail.c:445:6: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | yell(drcfile,confrc); | ^ procmail.c:446:10: warning: passing arguments to 'mainloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | mainloop(1); /* ignore the status */ | ^ procmail.c:448:11: warning: passing arguments to 'setval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | setval(pathvar,oldpath); | ^ procmail.c:452:16: warning: passing arguments to 'sputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | { sputenv(orgmail);sputenv(vdefault); /* just clear them both */ | ^ procmail.c:452:33: warning: passing arguments to 'sputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | { sputenv(orgmail);sputenv(vdefault); /* just clear them both */ | ^ procmail.c:457:20: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | chp=(char*)tgetenv(vdefault);chp2=(char*)tgetenv(orgmail); | ^ procmail.c:457:50: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | chp=(char*)tgetenv(vdefault);chp2=(char*)tgetenv(orgmail); | ^ procmail.c:461:15: warning: passing arguments to 'sputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | { sputenv(vdefault); /* nix delivering to system mailbox */ | ^ procmail.c:463:18: warning: passing arguments to 'sputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | { sputenv(orgmail); | ^ procmail.c:468:14: warning: passing arguments to 'setval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | { setval(orgmail,chp); | ^ procmail.c:482:10: warning: passing arguments to 'eputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | eputenv(defpath,buf); | ^ procmail.c:483:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 483 | while(chp=(char*)argv[argc]) /* interpret command line specs first */ | ~~~^~~~~~~~~~~~~~~~~~ procmail.c:483:12: note: place parentheses around the assignment to silence this warning 483 | while(chp=(char*)argv[argc]) /* interpret command line specs first */ | ^ | ( ) procmail.c:483:12: note: use '==' to turn this assignment into an equality comparison 483 | while(chp=(char*)argv[argc]) /* interpret command line specs first */ | ^ | == procmail.c:485:18: warning: passing arguments to 'asenvcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | if(!asenvcpy(chp)&&mailfilter) | ^ procmail.c:492:17: warning: passing arguments to 'bopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | { if(0<=bopen(etcrc)) | ^ procmail.c:493:13: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | { yell(drcfile,etcrc); | ^ procmail.c:498:9: warning: passing arguments to 'eputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | eputenv(defspath,buf); /* use the secure PATH */ | ^ procmail.c:499:13: warning: passing arguments to 'mainloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | if(mainloop(0)!=rcs_EOF) /* run the rcfile */ | ^ procmail.c:501:9: warning: passing arguments to 'eputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | eputenv(defpath,buf); /* switch back to the insecure PATH */ | ^ procmail.c:514:17: warning: passing arguments to 'buildpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | if(buildpath(maildir,defmaildir,rcfile)) | ^ procmail.c:516:12: warning: passing arguments to 'tryopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | if(tryopen(0,rctype,dowarning)) | ^ procmail.c:517:30: warning: passing arguments to 'mainloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | { register int rcs=mainloop(0); /* run it */ | ^ procmail.c:536:14: warning: passing arguments to 'buildpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | if(buildpath("default rcfile",pmrc,(char*)0)) | ^ procmail.c:543:16: warning: passing arguments to 'tryopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | if(tryopen(mailfilter==2,rctype,DEFverbose||mailfilter)) | ^ procmail.c:544:13: warning: passing arguments to 'mainloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | if(mainloop(0)!=rcs_EOF) | ^ procmail.c:549:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | free(ifstack.vals); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:551:12: warning: passing arguments to 'concon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | concon('\n');succeed=0; | ^ procmail.c:552:29: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | if(*(chp=(char*)tgetenv(vdefault))) /* DEFAULT set? */ | ^ procmail.c:557:16: warning: passing arguments to 'writefolder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | if(writefolder(chp,(char*)0,themail.p,filled,0,1)) /* default */ | ^ procmail.c:560:40: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | if(!succeed&&*(chp2=(char*)tgetenv(orgmail))&&strcmp(chp2,chp)) | ^ procmail.c:562:16: warning: passing arguments to 'writefolder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | if(writefolder(chp2,(char*)0,themail.p,filled,0,0)) /* don't panic */ | ^ procmail.c:568:9: warning: passing arguments to 'unlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | unlock(&loclock);Terminate(); | ^ procmail.c:98:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | int main(argc,argv)int argc;const char*const argv[]; | ^ procmail.c:572:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | { elog(procmailn);elog(Version); | ^ procmail.c:572:23: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | { elog(procmailn);elog(Version); | ^ procmail.c:573:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | elog("\nLocking strategies:\tdotlocking"); | ^ procmail.c:578:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | elog(", lockf()"); | ^ procmail.c:583:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | elog("\nDefault rcfile:\t\t");elog(pmrc); | ^ procmail.c:583:37: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | elog("\nDefault rcfile:\t\t");elog(pmrc); | ^ procmail.c:587:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | elog("\nYour system mailbox:\t"); | ^ procmail.c:588:24: warning: passing arguments to 'auth_mailboxname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | elog(auth_mailboxname(auth_finduid(getuid(),0))); | ^ procmail.c:588:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | elog(auth_mailboxname(auth_finduid(getuid(),0))); | ^ procmail.c:589:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | elog(newline); | ^ procmail.c:614:13: warning: passing arguments to 'bopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | if(0>bopen(buf)) /* try opening the rcfile */ | ^ procmail.c:616:14: warning: passing arguments to 'readerr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | rerr: readerr(buf); | ^ procmail.c:626:20: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | closerc();nlog(susprcf);logqnl(buf); | ^ procmail.c:626:36: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | closerc();nlog(susprcf);logqnl(buf); | ^ procmail.c:632:12: warning: passing arguments to 'setmaildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | setmaildir(curdir); | ^ procmail.c:642:34: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | { register char*chp=lastdirsep(buf),c; | ^ procmail.c:663:7: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | yell(drcfile,buf); | ^ procmail.c:669:18: warning: passing arguments to 'buildpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | if(buildpath(maildir,defmaildir,(char*)0)) | ^ procmail.c:672:15: warning: passing arguments to 'chderr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | { chderr(buf); /* no, well, then try an initial chdir */ | ^ procmail.c:673:13: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | chp=tgetenv(home); | ^ procmail.c:675:11: warning: passing arguments to 'chderr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | chderr(chp),chp=curdir; /* that didn't work, use "." */ | ^ procmail.c:677:16: warning: passing arguments to 'setmaildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | setmaildir(chp); | ^ procmail.c:602:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | static int tryopen(delay_setid,rctype,dowarning) | ^ procmail.c:95:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | tryopen P((const int delay_setid,const int rctype,const int dowarning)), | ^ procmail.c:687:12: warning: passing arguments to 'unlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | { unlock(&loclock); /* unlock any local lockfile */ | ^ procmail.c:692:13: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | while(testB('\n')); | ^ procmail.c:694:17: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | while(testB('#')); /* no comment :-) */ | ^ procmail.c:695:14: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | if(testB(':')) /* check for a recipe */ | ^ procmail.c:700:17: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | if(readparse(buf,getb,0,skiprc)) | ^ procmail.c:708:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | free(tolock); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:711:20: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | { chp=skpspace(chp); | ^ procmail.c:727:24: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | tolock=tstrdup(chp),chp=strchr(chp,'\0')+1; | ^ procmail.c:729:19: warning: passing arguments to 'concatenate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | concatenate(chp);skipped(chp); /* display leftovers */ | ^ procmail.c:729:32: warning: passing arguments to 'skipped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | concatenate(chp);skipped(chp); /* display leftovers */ | ^ procmail.c:732:17: warning: passing arguments to 'conditions' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | i=conditions(flags,prevcond,lastsucc,lastcond,skiprc!=0,nrcond); | ^ procmail.c:752:27: warning: passing arguments to 'concon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | zombiecollect(),concon('\n'); | ^ procmail.c:753:17: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | progrm: if(testB('!')) /* forward the mail */ | ^ procmail.c:761:26: warning: passing arguments to 'simplesplit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | if(!(q=simplesplit(chp+1,flagsendmail,buf+linebuf-1,&got))) | ^ procmail.c:765:17: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | if(readparse(chp+1,getb,0,skiprc)) | ^ procmail.c:770:30: warning: passing arguments to 'skipFrom_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | startchar=(char*)skipFrom_(startchar,&tobesent); | ^ procmail.c:776:15: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | else if(testB('|')) /* pipe the mail */ | ^ procmail.c:778:16: warning: passing arguments to 'getlline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | if(getlline(chp,buf2+linebuf)) /* get the command to start */ | ^ procmail.c:781:17: warning: passing arguments to 'metaparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | { metaparse(buf2); | ^ procmail.c:789:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 789 | for(chp=buf;i= *chp++;) | ~^~~~~~~~ procmail.c:789:20: note: place parentheses around the assignment to silence this warning 789 | for(chp=buf;i= *chp++;) | ^ | ( ) procmail.c:789:20: note: use '==' to turn this assignment into an equality comparison 789 | for(chp=buf;i= *chp++;) | ^ | == procmail.c:791:18: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | { chp=skpspace(chp+1); | ^ procmail.c:795:20: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | { chp=tstrdup(buf);sgetcp=buf2; | ^ procmail.c:796:21: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | if(readparse(buf,sgetc,0,0)) | ^ procmail.c:800:42: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | strcpy(buf2,buf);strcpy(buf,chp);free(chp); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:805:21: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | nolock: { nlog("Couldn't determine implicit lockfile from"); | ^ procmail.c:806:16: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | logqnl(buf); | ^ procmail.c:809:11: warning: passing arguments to 'lcllock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | lcllock(tolock,buf2); | ^ procmail.c:815:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | nlog(extrns),elog("copy-flag"),elog(ignrd); | ^ procmail.c:815:21: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | nlog(extrns),elog("copy-flag"),elog(ignrd); | ^ procmail.c:815:39: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | nlog(extrns),elog("copy-flag"),elog(ignrd); | ^ procmail.c:816:17: warning: passing arguments to 'inittmout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | inittmout(buf); | ^ procmail.c:819:21: warning: passing arguments to 'pipthrough' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | { if(!pipthrough(buf,startchar,tobesent)) | ^ procmail.c:820:26: warning: passing arguments to 'readmail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | succeed=readmail(1,tobesent); | ^ procmail.c:822:23: warning: passing arguments to 'pipthrough' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | else if(!pipthrough(buf,startchar,tobesent)) | ^ procmail.c:824:23: warning: passing arguments to 'readmail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | succeed=readmail(0,tobesent); | ^ procmail.c:831:18: warning: passing arguments to 'pipthrough' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | if(!pipthrough(buf,startchar,tobesent)) | ^ procmail.c:832:22: warning: passing arguments to 'readvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | succeed=readvar(capture,startchar,tobesent); | ^ procmail.c:833:4: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | free(capture); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:835:22: warning: passing arguments to 'pipin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | else if(!pipin(buf,startchar,tobesent,1)) /* regular program */ | ^ procmail.c:845:15: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | else if(testB(EOF)) | ^ procmail.c:846:9: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | nlog("Incomplete recipe\n"); | ^ procmail.c:849:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 849 | if(ofiltflag=flags[FILTER]) | ~~~~~~~~~^~~~~~~~~~~~~~ procmail.c:849:17: note: place parentheses around the assignment to silence this warning 849 | if(ofiltflag=flags[FILTER]) | ^ | ( ) procmail.c:849:17: note: use '==' to turn this assignment into an equality comparison 849 | if(ofiltflag=flags[FILTER]) | ^ | == procmail.c:850:28: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | flags[FILTER]=0,nlog(extrns),elog("filter-flag"),elog(ignrd); | ^ procmail.c:850:41: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | flags[FILTER]=0,nlog(extrns),elog("filter-flag"),elog(ignrd); | ^ procmail.c:850:61: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | flags[FILTER]=0,nlog(extrns),elog("filter-flag"),elog(ignrd); | ^ procmail.c:851:18: warning: passing arguments to 'gobenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | if(chp=gobenv(buf,end)) /* can it be an environment name? */ | ^ procmail.c:851:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 851 | if(chp=gobenv(buf,end)) /* can it be an environment name? */ | ~~~^~~~~~~~~~~~~~~~ procmail.c:851:11: note: place parentheses around the assignment to silence this warning 851 | if(chp=gobenv(buf,end)) /* can it be an environment name? */ | ^ | ( ) procmail.c:851:11: note: use '==' to turn this assignment into an equality comparison 851 | if(chp=gobenv(buf,end)) /* can it be an environment name? */ | ^ | == procmail.c:854:19: warning: passing arguments to 'getlline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | { getlline(buf,buf+linebuf); | ^ procmail.c:859:16: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | if(testB('=')) /* is it really an assignment? */ | ^ procmail.c:864:10: warning: passing arguments to 'ungetb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | ungetb(c=getb()); | ^ procmail.c:869:21: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | capture=tstrdup(buf); /* copy the variable name */ | ^ procmail.c:876:11: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | testB('{')&& | ^ procmail.c:877:33: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | (*chp++='{',*chp='\0',testB(' ')|| /* } } */ | ^ procmail.c:878:12: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | testB('\t')|| | ^ procmail.c:879:12: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | testB('\n'))) | ^ procmail.c:881:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | nlog(extrns),elog("locallockfile"),elog(ignrd); | ^ procmail.c:881:21: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | nlog(extrns),elog("locallockfile"),elog(ignrd); | ^ procmail.c:881:43: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | nlog(extrns),elog("locallockfile"),elog(ignrd); | ^ procmail.c:883:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | nlog(extrns),elog("deliver-body flag"),elog(ignrd); | ^ procmail.c:883:21: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | nlog(extrns),elog("deliver-body flag"),elog(ignrd); | ^ procmail.c:883:47: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | nlog(extrns),elog("deliver-body flag"),elog(ignrd); | ^ procmail.c:885:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | nlog(extrns),elog("deliver-head flag"),elog(ignrd); | ^ procmail.c:885:21: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | nlog(extrns),elog("deliver-head flag"),elog(ignrd); | ^ procmail.c:885:47: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | nlog(extrns),elog("deliver-head flag"),elog(ignrd); | ^ procmail.c:887:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | nlog(extrns),elog("ignore-write-error flag"),elog(ignrd); | ^ procmail.c:887:21: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | nlog(extrns),elog("ignore-write-error flag"),elog(ignrd); | ^ procmail.c:887:53: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | nlog(extrns),elog("ignore-write-error flag"),elog(ignrd); | ^ procmail.c:889:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | nlog(extrns),elog("raw-mode flag"),elog(ignrd); | ^ procmail.c:889:21: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | nlog(extrns),elog("raw-mode flag"),elog(ignrd); | ^ procmail.c:889:43: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | nlog(extrns),elog("raw-mode flag"),elog(ignrd); | ^ procmail.c:893:11: warning: passing arguments to 'app_val_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | { app_vali(ifstack,prevcond); /* push prevcond */ | ^ ./misc.h:8:26: note: expanded from macro 'app_vali' 8 | #define app_vali(sp,val) app_val_type(sp,int,union offori,val) | ^ ./misc.h:6:46: note: expanded from macro 'app_val_type' 6 | #define app_val_type(sp,t,s,v) (*(t*)app_val_(&sp,sizeof(s))=(v)) | ^ procmail.c:894:4: warning: passing arguments to 'app_val_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | app_vali(ifstack,lastcond); /* push lastcond */ | ^ ./misc.h:8:26: note: expanded from macro 'app_vali' 8 | #define app_vali(sp,val) app_val_type(sp,int,union offori,val) | ^ ./misc.h:6:46: note: expanded from macro 'app_val_type' 6 | #define app_val_type(sp,t,s,v) (*(t*)app_val_(&sp,sizeof(s))=(v)) | ^ procmail.c:896:14: warning: passing arguments to 'lcllock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | { lcllock(tolock,""); | ^ procmail.c:902:11: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | { yell("Forking",procmailn); | ^ procmail.c:904:16: warning: passing arguments to 'inittmout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | inittmout(procmailn);onguard(); | ^ procmail.c:907:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | free(loclock),loclock=0; | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:909:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | free(globlock),globlock=0; /* clear up the */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:921:12: warning: passing arguments to 'progerr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | progerr(procmailn,excode,pwait&2); | ^ procmail.c:935:17: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | if(readparse(chp,getb,0,skiprc)) | ^ procmail.c:944:11: warning: passing arguments to 'lcllock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | lcllock(tolock,buf); | ^ procmail.c:945:17: warning: passing arguments to 'inittmout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | inittmout(buf); /* to break messed-up kernel locks */ | ^ procmail.c:946:22: warning: passing arguments to 'writefolder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | if(writefolder(buf,strchr(buf,'\0')+1,startchar,tobesent, | ^ procmail.c:950:7: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | free(ifstack.vals); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:954:23: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | logabstract(tgetenv(lastfolder)); | ^ procmail.c:954:15: warning: passing arguments to 'logabstract' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | logabstract(tgetenv(lastfolder)); | ^ procmail.c:961:19: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | else if(testB('}')) /* end block */ | ^ procmail.c:969:9: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | nlog("Closing brace unexpected\n"); /* stack empty */ | ^ procmail.c:973:17: warning: passing arguments to 'gobenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | if(!(chp=gobenv(buf,end))) | ^ procmail.c:975:13: warning: passing arguments to 'getbl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | getbl(buf,end); /* then a line */ | ^ procmail.c:976:12: warning: passing arguments to 'skipped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | skipped(buf); /* display leftovers */ | ^ procmail.c:982:10: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | if(testB('=')) /* removal or assignment? */ | ^ procmail.c:984:17: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | if(readparse(++chp,getb,1,skiprc)) | ^ procmail.c:991:14: warning: passing arguments to 'sputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | p=sputenv(buf); | ^ procmail.c:993:10: warning: passing arguments to 'asenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | asenv(p); | ^ procmail.c:999:15: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | while(!testB(EOF)||(skiprc=0,poprc())); | ^ procmail.c:682:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | static int mainloop(varonly)const int varonly; | ^ procmail.c:96:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | mainloop P((const int varonly)); | ^ 252 warnings generated. --- procmail --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing procmail.o cstdio.o common.o exopen.o goodies.o locking.o mailfold.o foldinfo.o misc.o pipes.o regexp.o robust.o sublib.o acommon.o mcommon.o lastdirsep.o authenticate.o lmtp.o memblk.o variables.o from.o comsat.o -o procmail -s -lm -ldl -lc --- mans --- --- ../new/lockfile.1 --- --- ../new/procmailsc.5 --- --- ../new/mailstat.1 --- --- ../new/lockfile.1 --- ln ../man/lockfile.1 ../new/lockfile.1 --- ../new/procmailex.5 --- --- ../new/procmailsc.5 --- ln ../man/procmailsc.5 ../new/procmailsc.5 --- ../new/procmailrc.5 --- --- ../new/mailstat.1 --- ln ../man/mailstat.1 ../new/mailstat.1 --- ../new/procmailex.5 --- ln ../man/procmailex.5 ../new/procmailex.5 --- ../new/procmailrc.5 --- ln ../man/procmailrc.5 ../new/procmailrc.5 --- bins --- --- ../new/procmail --- ln ../src/procmail ../new/procmail --- all --- If you would like to inspect the results before running make install: All installable files can be found in the new/ subdirectory. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for procmail-bgrb-3.24_2 ===> Generating temporary packing list /usr/bin/make -C src ../new/procmail ../new/lockfile ../new/formail ../new/mailstat `../new/procmail' is up to date. `../new/lockfile' is up to date. `../new/formail' is up to date. `../new/mailstat' is up to date. cp new/procmail new/lockfile new/formail new/mailstat /wrkdirs/usr/ports/mail/procmail-bgrb/work/stage/usr/local/bin echo Housekeeping file >install.bin /usr/bin/make -C man ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/mailstat.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5 `../man/man.sed' is up to date. `../new/procmail.1' is up to date. `../new/formail.1' is up to date. `../new/lockfile.1' is up to date. `../new/mailstat.1' is up to date. `../new/procmailrc.5' is up to date. `../new/procmailsc.5' is up to date. `../new/procmailex.5' is up to date. echo Housekeeping file >install.man /bin/mkdir -p /wrkdirs/usr/ports/mail/procmail-bgrb/work/stage/usr/local/share/doc/procmail/ /wrkdirs/usr/ports/mail/procmail-bgrb/work/stage/usr/local/share/examples/procmail/ cd /wrkdirs/usr/ports/mail/procmail-bgrb/work/procmail-3.24/ && install -m 0644 FAQ FEATURES HISTORY KNOWN_BUGS README /wrkdirs/usr/ports/mail/procmail-bgrb/work/stage/usr/local/share/doc/procmail/ cd /wrkdirs/usr/ports/mail/procmail-bgrb/work/procmail-3.24/examples/ && install -m 0644 1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail advanced dirname forward local_procmail_lmtp.m4 mailstat /wrkdirs/usr/ports/mail/procmail-bgrb/work/stage/usr/local/share/examples/procmail/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-10-02T03:56:52+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=a046c6f225fc' '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 procmail-bgrb-3.24_2 ===> Building procmail-bgrb-3.24_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for procmail-bgrb-3.24_2 build of mail/procmail-bgrb | procmail-bgrb-3.24_2 ended at Wed Oct 1 23:59:06 EDT 2025 build time: 00:02:18