=>> Building mail/procmail build started at Tue Apr 9 09:43:31 CEST 2024 port directory: /usr/ports/mail/procmail package name: procmail-3.22_11 building for: FreeBSD 13amd64-default-php81-job-03 13.3-RELEASE-p1 FreeBSD 13.3-RELEASE-p1 amd64 maintained by: sunpoet@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1616 Jan 30 23:02 /usr/ports/mail/procmail/Makefile Ports top last git commit: 3d100fcffcd Ports top unclean checkout: yes Port dir last git commit: f139e51116d Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1500018 Jail OSVERSION: 1303001 Job Id: 03 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1303001 UNAME_v=FreeBSD 13.3-RELEASE-p1 UNAME_r=13.3-RELEASE-p1 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13amd64-default-php81/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/usr/local/poudriere/data/.m/13amd64-default-php81/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13amd64-default-php81 SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13amd64-default-php81/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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-3.22_11: DOCS=off: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- sunpoet@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/procmail/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/procmail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/procmail/work/.cache HOME=/wrkdirs/usr/ports/mail/procmail/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/procmail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/procmail/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/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/procmail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/procmail/work/.cache HOME=/wrkdirs/usr/ports/mail/procmail/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/procmail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/procmail/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=" -fstack-protector-strong " 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="@comment " PORTEXAMPLES="" OSREL=13.3 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--- 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 #### #### DISABLE_LICENSES="YES" multimedia_liba-utils_UNSET=WAYLAND net-mgmt_icingaweb2-module-reporting_UNSET=PDF lang_gcc12_UNSET=LTO_BOOTSTRAP lang_gcc13_UNSET=LTO_BOOTSTRAP lang_gcc_UNSET=LTO_BOOTSTRAP www_nginx_SET+=HEADERS_MORE www_nginx_SET+=LUA www_nginx_SET+=SET_MISC #### #### DISABLE_LICENSES="YES" WITHOUT_HAL="yes" DEFAULT_VERSIONS+=php=8.1 DEFAULT_VERSIONS+=bdb=5 DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=corosync=3 DEFAULT_VERSIONS+=mysql=10.11m DEFAULT_VERSIONS+=samba=4.16 DEFAULT_VERSIONS+=lua=5.1 OPTIONS_UNSET+=DOCS OPTIONS_SET+=SSL LINUX_BASE_PORT=c7 mail_postfix_SET+=SASL mail_postfix-current_SET+=SASL net-mgmt_monitoring-plugins_SET+=MYSQL net-mgmt_monitoring-plugins_UNSET+=DNS_BASE net-mgmt_monitoring-plugins_SET+=DNS_BINDTOOLS sysutils_bacula11-server_UNSET+=PGSQL sysutils_bacula11-server_SET+=SQLITE3 security_strongswan_SET+=UNITY security_strongswan_SET+=MYSQL graphics_pecl-imagick_SET+=X11 net-mgmt_nrpe_SET+=ARGS net-mgmt_nrpe_UNSET+=NAGPLUGINS net-mgmt_nrpe_SET+=MONPLUGINS net-mgmt_librenms_UNSET+=NAGPLUGINS www_nginx_SET+=HEADERS_MORE www_nginx_SET+=LUA www_nginx_SET+=SET_MISC mail_rspamd_UNSET+=LUAJIT www_nginx-devel_SET+=HEADERS_MORE www_nginx-devel_SET+=LUA www_nginx-devel_SET+=SET_MISC sysutils_iocage_UNSET+=GIT mail_postfix_SET+=MYSQL mail_postfix-current_SET+=MYSQL #graphics_zbar_UNSET+=X11 #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---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) 63795 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> procmail-3.22_11 depends on file: /usr/local/sbin/pkg - found =========================================================================== =================================================== ===== 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-3.22_11 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by procmail-3.22_11 for building => SHA256 Checksum OK for procmail-3.22.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Fetching all distfiles required by procmail-3.22_11 for building ===> Extracting for procmail-3.22_11 => SHA256 Checksum OK for procmail-3.22.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Patching for procmail-3.22_11 ===> Applying extra patch /usr/ports/mail/procmail/files/procmail-3.22-getline.patch with -p1 ===> Applying FreeBSD patches for procmail-3.22_11 from /usr/ports/mail/procmail/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Configuring for procmail-3.22_11 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building for procmail-3.22_11 --- 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" "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 --- echo Housekeeping file >config.check /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 17XX3aXX32 16XX32XX28 05XX28XX20 04XX20XX18 03XX18XX2XX10 02XX10 10XX2XXa 11XXa Starting test 2 on /tmp/_locktest 17 06 05 12 04 11 03 10 07 00 16 15 00 00 12 02 14 04 11 13 04 17 01 16 03 15 04 10 07 12 03 11 00 16 07 15 02 03 14 12 01 14 00 13 06 11 07 05 10 13 02 16 04 17 01 15 03 10 06 12 07 14 05 11 06 Starting test 2 on ./_locktest 17 03 16 02 15 01 14 00 13 07 12 06 15 03 11 02 01 14 01 10 17 00 00 16 15 05 13 12 14 04 11 17 07 10 16 06 15 05 13 05 12 03 02 14 04 11 04 17 10 16 15 05 13 12 14 04 11 17 07 10 16 06 13 03 12 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} #define setrgid_RUNTIME_CHECK #define MAILSPOOLDIR "/var/mail/" #define SENDMAIL "/usr/sbin/sendmail" #define CF_no_procmail_yet #define defPATH "PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin" #define defSPATH "PATH=/bin:/usr/bin:/usr/local/bin" #define PM_VERSION "3.22" /*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 14, /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/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 --- --- 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] --- sublib.o --- 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. */ | ^ --- recommend.o --- 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ --- sublib.o --- ./../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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] --- recommend.o --- | ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] --- 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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 */ | ^ --- recommend --- --- sublib.o --- 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ | ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] --- recommend.o --- 49 | /*#define GROUP_PER_USER /* uncomment this if each | ^ --- sublib.o --- 49 | /*#define GROUP_PER_USER /* uncomment this if each --- recommend.o --- ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] --- sublib.o --- | ^ ./../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] --- mans --- ./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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 119 | int main(argc,argv)int argc;const char*const argv[]; | ^ --- recommend --- 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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#define console "/dev/console" /* uncomment if you want procmail to --- recommend.o --- 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] --- sublib.o --- | ^ --- recommend.o --- 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ --- sublib.o --- In file included from sublib.c:13: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ --- recommend.o --- In file included from recommend.c:6: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] 29 | /* fork() getuid() geteuid() getgid() getegid() | ^ --- sublib.o --- ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ --- recommend.o --- ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] 38 | /* fopen() fread() fwrite() fgetc() getc() | ^ --- sublib.o --- ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ --- recommend.o --- ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] 49 | /* strtol() strtod() exit() EXIT_SUCCESS */ | ^ --- sublib.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] --- recommend.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] 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)) | ^ | == 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 C2x [-Wdeprecated-non-prototype] 15 | int main(argc,argv)const int argc;const char*const argv[]; | ^ --- sublib.o --- 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] --- recommend.o --- 25 warnings generated. --- sublib.o --- 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. --- recommend --- --- 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 --- --- lastdirsep.o --- --- lmtp.o --- --- lockfile.o --- --- locking.o --- --- mailfold.o --- --- mcommon.o --- --- memblk.o --- --- misc.o --- --- pipes.o --- --- procmail.o --- --- regexp.o --- --- robust.o --- --- variables.o --- --- from.o --- --- setid.o --- --- mcommon.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mcommon.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | qsignal P((const int sig,void(*action)(void))); | ^ 23 warnings generated. --- lastdirsep.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lastdirsep.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | *lastdirsep P((const char*filename)); | ^ 24 warnings generated. --- formisc.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing formisc.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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 */ | ^ ./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 | ^ formisc.c:20:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-Wdeprecated-non-prototype] 31 | char*skipwords(start)char*start; /* skips an RFC 822 address */ | ^ In file included from formisc.c:18: ./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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | skipwords P((char*start)); | ^ formisc.c:99:22: warning: passing arguments to 'loadchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 99 | { default:loadchar(' '); /* make sure it has leading whitespace */ | ^ formisc.c:102:10: warning: passing arguments to 'loadbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 102 | loadbuf(sp->rexp,sp->rexl); | ^ formisc.c:97:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 97 | void loadsaved(sp)const struct saved*const sp; /* load some saved text */ | ^ In file included from formisc.c:18: ./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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | loadsaved P((const struct saved*const sp)), | ^ formisc.c:107:10: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 107 | buf=realloc(buf,buflen+=Bsize); | ^ ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ formisc.c:105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 105 | void loadbuf(text,len)const char*const text;const size_t len; | ^ In file included from formisc.c:18: ./formisc.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | loadbuf Q((const char*const text,const size_t len)), | ^ formisc.c:113:10: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 113 | buf=realloc(buf,buflen+=Bsize); | ^ ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ formisc.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 111 | void loadchar(c)const int c; /* append one character to buf */ | ^ In file included from formisc.c:18: ./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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | loadchar P((const int c)), | ^ formisc.c:132:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 132 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | elog P((const char*const a)), | ^ formisc.c:136:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 136 | void tputssn(a,l)const char*a;size_t l; | ^ In file included from formisc.c:18: ./formisc.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | tputssn Q((const char*a,size_t l)), | ^ formisc.c:141:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 141 | void ltputssn(a,l)const char*a;size_t l; | ^ In file included from formisc.c:18: ./formisc.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | ltputssn Q((const char*a,size_t l)), | ^ formisc.c:148:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 148 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | lputcs P((const int i)), | ^ formisc.c:170:8: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 170 | ultstr(lenfileno-(val<0),val<0?-val:val,chp); | ^ formisc.c:185:35: warning: passing arguments to 'waitfor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 185 | for(--children;(excode=waitfor((pid_t)0))!=NO_PROCESS;) | ^ formisc.c:194:8: warning: passing arguments to 'shexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 194 | shexec(argv); | ^ formisc.c:201:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 201 | nlog("Can't fork\n"),exit(EX_OSERR); | ^ formisc.c:155:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 155 | void startprog(argv)const char*Const*const argv; | ^ In file included from formisc.c:18: ./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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | startprog P((const char*Const*const argv)), | ^ formisc.c:209:7: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 209 | { nlog("File table full\n");exit(EX_OSERR); | ^ formisc.c:212:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 212 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | nlog P((const char*const a)), | ^ formisc.c:216:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 216 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | logqnl P((const char*const a)), | ^ 53 warnings generated. --- foldinfo.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing foldinfo.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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] 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 | ^ foldinfo.c:60:12: warning: call to undeclared function 'ultoan'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | *p++='.';ultoan((unsigned long)stbuf->st_ino,p); /* i-node numbered */ | ^ foldinfo.c:62:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 62 | { nlog("Renaming bogus mailbox \"");elog(name);elog("\" info"); | ^ foldinfo.c:62:44: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 62 | { nlog("Renaming bogus mailbox \"");elog(name);elog("\" info"); | ^ foldinfo.c:62:55: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 62 | { nlog("Renaming bogus mailbox \"");elog(name);elog("\" info"); | ^ foldinfo.c:63:12: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 63 | logqnl(buf2); | ^ foldinfo.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 53 | int rnmbogus(name,stbuf,i,dolog)const char*const name; /* move a file */ | ^ foldinfo.c:76:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 76 | static mode_t trymkdir(dir,paranoid,i)const char*const dir; | ^ foldinfo.c:100:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 100 | static int mkmaildir(buffer,chp,paranoid)char*const buffer,*const chp; | ^ foldinfo.c:135:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 135 | nlog("Internal error: improper type ("); | ^ foldinfo.c:136:7: warning: passing arguments to 'ltstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 136 | ltstr(0,type,buf2);elog(buf2); | ^ foldinfo.c:136:25: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 136 | ltstr(0,type,buf2);elog(buf2); | ^ foldinfo.c:137:6: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 137 | elog(") passed to foldertype for folder ");logqnl(buf); | ^ foldinfo.c:137:51: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 137 | elog(") passed to foldertype for folder ");logqnl(buf); | ^ foldinfo.c:148:34: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 148 | memcpy(buf2,buf,i=lastdirsep(buf)-buf),buf2[i]='\0'; | ^ foldinfo.c:152:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 152 | { nlog("Unable to treat as directory");logqnl(buf); /* we can't make it */ | ^ foldinfo.c:152:49: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 152 | { nlog("Unable to treat as directory");logqnl(buf); /* we can't make it */ | ^ foldinfo.c:154:26: warning: passing arguments to 'skipped' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 154 | { *chp='\0';skipped(buf);type=ft_CANTCREATE; | ^ foldinfo.c:111:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 111 | int foldertype(type,forcedir,modep,paranoid)int type,forcedir; | ^ In file included from foldinfo.c:20: ./foldinfo.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | foldertype Q((int type,int forcedir,mode_t*const modep, | ^ foldinfo.c:183:23: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 183 | ch= *(chp=lastdirsep(buf)); | ^ foldinfo.c:198:12: warning: passing arguments to 'doumask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 198 | doumask(GROUPW_UMASK); /* make it group-writable */ | ^ foldinfo.c:205:14: warning: passing arguments to 'checkroot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 205 | checkroot('g',(unsigned long)sgid); | ^ foldinfo.c:252:27: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 252 | { int i=lastdirsep(buf)-buf; | ^ foldinfo.c:265:9: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 265 | { nlog("Autoforwarding mailbox found\n"); | ^ foldinfo.c:274:12: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 274 | nlog(enfperm);logqnl(buf); | ^ foldinfo.c:274:28: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 274 | nlog(enfperm);logqnl(buf); | ^ foldinfo.c:283:19: warning: passing arguments to 'xcreat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 283 | { if(!xcreat(buf,NORMperm,(time_t*)0,doCHOWN|doCHECK)) /* create */ | ^ foldinfo.c:289:16: warning: passing arguments to 'xcreat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 289 | if(!xcreat(buf,NORMperm,(time_t*)0,doCHECK)) /* try again */ | ^ foldinfo.c:293:13: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 293 | { nlog("Couldn't create");logqnl(buf); | ^ foldinfo.c:293:39: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 293 | { nlog("Couldn't create");logqnl(buf); | ^ foldinfo.c:300:24: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 300 | defdeflock=tstrdup(buf); | ^ foldinfo.c:303:25: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 303 | { int i=lastdirsep(buf)-buf; | ^ foldinfo.c:171:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 171 | int screenmailbox(chp,egid,Deliverymode) | ^ In file included from foldinfo.c:20: ./foldinfo.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | screenmailbox Q((char*chp,const gid_t egid,const int Deliverymode)); | ^ 55 warnings generated. --- fields.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing fields.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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 */ | ^ ./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 | ^ fields.c:26:25: warning: passing arguments to 'addfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 26 | *ah=0,(*(ah=addfield(ah,chp,i)))->fld_next=h,(h= *ah)->fld_ref=0; | ^ fields.c:20:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | *findf P((const struct field*const p,struct field**ah)), | ^ 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 C2x [-Wdeprecated-non-prototype] 45 | void clear_uhead(hdr)register struct field*hdr; | ^ In file included from fields.c:16: ./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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | clear_uhead P((struct field*hdr)), | ^ fields.c:54:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 54 | (*pp=p=malloc(FLD_HEADSIZ+totlen))->fld_next=0;idlen=breakfield(text,totlen); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ fields.c:54:66: warning: passing arguments to 'breakfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 54 | (*pp=p=malloc(FLD_HEADSIZ+totlen))->fld_next=0;idlen=breakfield(text,totlen); | ^ fields.c:50:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 50 | struct field**addfield(pointer,text,totlen)struct field**pointer; | ^ In file included from fields.c:16: ./fields.h:5:4: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | **addfield Q((struct field**pointer,const char*const text, | ^ fields.c:62:39: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-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) | ^ fields.c:60:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 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 C2x, 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 C2x [-Wdeprecated-non-prototype] 81 | { chp=skpspace(chp); | ^ fields.c:90:2: warning: passing arguments to 'tputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 90 | putssn(chp,echp-chp);putcs('\n'); | ^ ./formail.h:9:28: note: expanded from macro 'putssn' 9 | #define putssn(a,l) tputssn(a,(size_t)(l)) | ^ fields.c:96:3: warning: passing arguments to 'ltputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 96 | lputssn(p->fld_text,p->Tot_len); /* display it entirely */ | ^ ./formail.h:11:30: note: expanded from macro 'lputssn' 11 | #define lputssn(a,l) ltputssn(a,(size_t)(l)) | ^ fields.c:75:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 75 | static void extractfield(p)register const struct field*p; | ^ fields.c:102:36: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | flushfield P((struct field**pointer)), | ^ fields.c:105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | dispfield P((const struct field*p)), | ^ fields.c:114:23: warning: passing arguments to 'breakfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 114 | if((idlen=breakfield(buf,buffilled))<=0) /* not the start of a valid field */ | ^ fields.c:116:34: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 116 | if(idlen==STRLEN(FROM)&&eqFrom_(buf)) /* it's a From_ line */ | ^ 48 warnings generated. --- exopen.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing exopen.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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] 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 | ^ exopen.c:69:31: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 80 | { dot=ultstr(0,(unsigned long)t,p); /* time.pid_s.hostname */ | ^ exopen.c:82:15: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 97 | op=lastdirsep(full); | ^ exopen.c:113:14: warning: passing arguments to 'ropen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 113 | (0>(i=ropen(full,O_WRONLY|O_CREAT|O_EXCL,mode))&&errno==EEXIST))&& | ^ exopen.c:119:10: warning: passing arguments to 'writeerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 143 | rclose(i); | ^ exopen.c:54:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 54 | int unique(full,p,len,mode,verbos,flags)char*const full;char*p; | ^ In file included from exopen.c:17: ./exopen.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | unique Q((const char*const full,char*p,const size_t len,const mode_t mode, | ^ exopen.c:149:11: warning: passing arguments to 'hlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | rlink P((const char*const old,const char*const newn,struct stat*st)), | ^ exopen.c:183:14: warning: passing arguments to 'ropen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 183 | 0<=(fd=ropen(newn,O_WRONLY|O_CREAT|O_EXCL,stbuf.st_mode))) | ^ exopen.c:177:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 177 | int hlink(old,newn)const char*const old,*const newn; | ^ In file included from exopen.c:17: ./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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | hlink P((const char*const old,const char*const newn)); | ^ 43 warnings generated. --- ecommon.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ecommon.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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: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 C2x [-Wdeprecated-non-prototype] 23 | nlog(outofmem);exit(EX_OSERR); | ^ ecommon.c:19:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 19 | void*tmalloc(len)const size_t len; | ^ In file included from ecommon.c:12: ./ecommon.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | *tmalloc Q((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 C2x [-Wdeprecated-non-prototype] 29 | 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 C2x [-Wdeprecated-non-prototype] 26 | void*trealloc(old,len)void*old;const size_t len; | ^ In file included from ecommon.c:12: ./ecommon.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | *trealloc Q((void*old,const size_t len)), | ^ ecommon.c:32:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | tfree P((void*a)); | ^ 31 warnings generated. --- cstdio.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing cstdio.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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] 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 | ^ cstdio.c:25:16: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-Wdeprecated-non-prototype] 24 | static void refill(offset)const int offset; /* refill the buffer */ | ^ 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 43 | app_valo(inced,blasttell);app_vali(inced,ifdepth);/* position, brace */ | ^ ./misc.h:7:26: note: expanded from macro 'app_valo' 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 C2x [-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)) | ^ 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 46 | if(bopen(name)<0) /* try to open the new one */ | ^ cstdio.c:48:17: warning: passing arguments to 'readerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x, 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 74 | rclose(orc); /* success! drop the old and */ | ^ 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 C2x [-Wdeprecated-non-prototype] 76 | incnamed->enext=dp->enext,free(dp); | ^ ./shell.h:8:23: note: expanded from macro 'free' 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 C2x [-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 C2x, 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 C2x [-Wdeprecated-non-prototype] 83 | dp=incnamed;rclose(rc); | ^ cstdio.c:84:17: warning: passing arguments to 'ropen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 84 | if(0>(rc=ropen(dp->ename,O_RDONLY,0))) /* first reopen the current one */ | ^ cstdio.c:89:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 89 | rclose(acc_vali(inced,--i)); | ^ cstdio.c:90:20: warning: passing arguments to 'ropen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 90 | if(0>(fd=ropen(dp->ename,O_RDONLY,0))) /* reopen all (nested) others */ | ^ cstdio.c:92:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 106 | ifstack.filled=ifdepth,nlog("Missing closing brace\n"); | ^ cstdio.c:123:29: warning: passing arguments to 'ropen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 123 | { rcbufp=rcbufend=0;rc=ropen(name,O_RDONLY,0); | ^ cstdio.c:127:21: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x, 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 C2x [-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 C2x, 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 C2x [-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 C2x, 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 C2x [-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 C2x, 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 C2x [-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 C2x [-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 C2x, 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 C2x [-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 C2x, 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 C2x [-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 C2x [-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 C2x, 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 C2x [-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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | readLe P((char*,int)); | ^ 71 warnings generated. --- comsat.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing comsat.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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] 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 | ^ 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 C2x [-Wdeprecated-non-prototype] 36 | new=tstrdup(folder); | ^ comsat.c:38:27: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 38 | { const char*md=tgetenv(maildir); | ^ comsat.c:40:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 40 | new=malloc(len); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ comsat.c:50:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-Wdeprecated-non-prototype] 33 | void setlfcs(folder)const char*folder; /* set lastfolder for comsat */ | ^ In file included from comsat.c:27: ./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 C2x, 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 C2x [-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 C2x [-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 C2x [-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 C2x, 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 C2x [-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 C2x [-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 C2x, 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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | sendcomsat P((const char*folder)); | ^ 42 warnings generated. --- common.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing common.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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] 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 | ^ common.c:28:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 28 | newargv=malloc(i*sizeof*p); /* no shell script? -> trouble */ | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ 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 29 | for(*(p=(const char**)newargv)=binsh;*++p= *argv++;); | ^ | == common.c:30:27: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 30 | execv(*newargv,newargv);free(newargv);nlog("Failed to execute"); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ common.c:30:45: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 30 | execv(*newargv,newargv);free(newargv);nlog("Failed to execute"); | ^ common.c:31:9: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 31 | logqnl(*argv); | ^ common.c:18:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | shexec P((const char*const*argv)) __attribute__((noreturn)), | ^ common.c:36:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 36 | { while(p=strpbrk(p,"\t\n\v\f\r")) | ~^~~~~~~~~~~~~~~~~~~~~~~~ common.c:36:10: note: place parentheses around the assignment to silence this warning 36 | { while(p=strpbrk(p,"\t\n\v\f\r")) | ^ | ( ) common.c:36:10: note: use '==' to turn this assignment into an equality comparison 36 | { while(p=strpbrk(p,"\t\n\v\f\r")) | ^ | == common.c:35:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 35 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | detab P((char*p)); | ^ common.c:40:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 40 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | *skpspace P((const char*chp)); | ^ common.c:60:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 60 | int waitfor(pid)const pid_t pid; /* wait for a specific process */ | ^ In file included from common.c:16: ./common.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | waitfor Q((const pid_t pid)); | ^ 35 warnings generated. --- authenticate.o --- cc -c -DPROCMAIL -O2 -pipe -fstack-protector-strong -fno-strict-aliasing authenticate.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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 */ | ^ ./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 | ^ 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 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 C2x [-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 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 77 | /*const*/auth_identity*auth_finduser(user,sock)char*const user;const int sock; | ^ In file included from authenticate.c:39: ./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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | *auth_finduser P((char*const user,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 C2x [-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) | ^ authenticate.c:92:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 92 | /*const*/auth_identity*auth_finduid(uid,sock)const uid_t uid;const int sock; | ^ In file included from authenticate.c:39: ./authenticate.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | *auth_finduid Q((const uid_t uid,const int sock)); | ^ authenticate.c:123:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 123 | (pass=malloc(sizeof*pass))->pw=0;pass->mbox=0;return pass; | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ authenticate.c:130:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-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:133:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 133 | { np=(struct passwd*)(newpass->pw=malloc(sizeof*np)); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ authenticate.c:137:19: warning: passing arguments to 'cstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-Wdeprecated-non-prototype] 138 | np->pw_dir=cstr(np->pw_dir,op->pw_dir); | ^ authenticate.c:139:20: warning: passing arguments to 'cstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x, 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) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ 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 C2x [-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) | ^ | ( ) 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 C2x [-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 C2x [-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:39: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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:173:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x, 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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | auth_filledid P((const auth_identity*pass)); | ^ authenticate.c:192:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 192 | if(!(pass->mbox=malloc(STRLEN(mailspooldir)+MAILSPOOLHASH*2+ | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ authenticate.c:182:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, 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 C2x [-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 C2x, 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 C2x [-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 C2x, 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 C2x [-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 C2x, 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 C2x [-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 C2x, 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 C2x [-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 C2x, 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 C2x [-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) | ^ 67 warnings generated. --- 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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:32:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 32 | if(!(name=malloc(strlen(names.nodename)+1))) | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ acommon.c:40:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, 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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | *ultstr P((int minwidth,unsigned long val,char*dest)); | ^ 26 warnings generated. cp ../examples/mailstat mailstat --- lockfile.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lockfile.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ | ^ --- locking.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing locking.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ --- mailfold.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mailfold.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ --- memblk.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing memblk.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ --- misc.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing misc.c In file included from misc.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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ --- pipes.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing pipes.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ --- procmail.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing procmail.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ --- regexp.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing regexp.c In file included from regexp.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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ --- robust.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing robust.c In file included from robust.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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ --- formail.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing formail.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ | ^ --- variables.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing variables.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ --- goodies.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing goodies.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ --- from.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing from.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ --- lmtp.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lmtp.c 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ --- ../new/mailstat --- --- setid.o --- In file included from setid.c:7: 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:43: warning: '/*' within block comment [-Wcomment] 36 | /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ | ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] 37 | /*#define DEFPATH "PATH=$HOME/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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from setid.c:7: ./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 | ^ setid.c:11:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 11 | int main(argc,argv)const int argc;const char*const argv[]; | ^ 22 warnings generated. --- 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 | ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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] 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:33:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 33 | { mb->len=0;mb->p=malloc(1);set_fd(mb,-1); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ memblk.c:35:17: warning: passing arguments to 'resizeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | makeblock P((memblk*const,const long)), /* create block of the given length */ | ^ memblk.c:47:5: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 47 | free(mb->p); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ memblk.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 38 | void freeblock(mb)memblk*const mb; | ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | freeblock P((memblk*const)), /* deallocate it */ | ^ memblk.c:50:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 50 | void lockblock(mb)memblk*const mb; | ^ In file included from memblk.c:16: ./memblk.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | lockblock P((memblk*const)); /* protect this block from future changes */ | ^ memblk.c:71:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 71 | mb->len=0;mb->p=malloc(1);set_fd(mb,-1); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ memblk.c:120:16: warning: passing arguments to 'frealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 120 | p=frealloc(mb->p,(size_t)(len+1)); | ^ memblk.c:126:12: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 126 | mb->p=realloc(mb->p,len+1); | ^ ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ memblk.c:65:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 65 | int resizeblock(mb,len,nonfatal)memblk*const mb;const long len; | ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | resizeblock P((memblk*const,const long,const int)); /* change the size */ | ^ memblk.c:142:29: warning: passing arguments to 'nomemerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 142 | lcking|=lck_MEMORY,nomemerr(filled); | ^ memblk.c:151:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 151 | if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) | ^ memblk.c:151:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 151 | if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memblk.c:151:12: note: place parentheses around the assignment to silence this warning 151 | if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) | ^ | ( ) memblk.c:151:12: note: use '==' to turn this assignment into an equality comparison 151 | if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) | ^ | == memblk.c:163:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 163 | if(cleanup_func&&(*cleanup_func)(mb,&filled,origfilled,data)) | ^ memblk.c:133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 133 | char*read2blk(mb,filledp,read_func,cleanup_func,data)memblk*const mb; | ^ In file included from memblk.c:16: ./memblk.h:20:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | *read2blk P((memblk*const,long*const,read_func_type*,cleanup_func_type*,void*)); | ^ 41 warnings generated. --- locking.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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 49 | { yell("Locking",name); /* in order to cater for clock skew: get */ | ^ locking.c:50:16: warning: passing arguments to 'xcreat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 50 | if(!xcreat(name,LOCKperm,&t,locktype)) /* time t from the filesystem */ | ^ locking.c:64:21: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x, 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 C2x [-Wdeprecated-non-prototype] 115 | lckfile=tstrdup(noext); | ^ locking.c:118:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 118 | lckfile=malloc(len+strlen(lockext)+1); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ locking.c:122:13: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x, 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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | unlock P((char**const lockp)); | ^ locking.c:152:15: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 152 | i=lastdirsep(name)-name; | ^ locking.c:153:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 153 | memcpy(p=malloc(i+UNIQnamelen),name,i); /* try & rename */ | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ locking.c:154:12: warning: passing arguments to 'unique' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 154 | if(unique(p,p+i,i+UNIQnamelen,mode,verbose,chownit)) /* a unique filename */ | ^ locking.c:159:16: warning: passing arguments to 'myrename' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-Wdeprecated-non-prototype] 161 | free(p); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ locking.c:149:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 149 | int xcreat(name,mode,tim,chownit)const char*const name;const mode_t mode; | ^ In file included from locking.c:20: ./locking.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | xcreat Q((const char*const name,const mode_t mode,time_t*const tim, | ^ locking.c:191:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | fdlock P((int fd)), | ^ 67 warnings generated. --- lockfile.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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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 C2x [-Wdeprecated-non-prototype] 43 | i=lastdirsep(name)-name; | ^ lockfile.c:47:12: warning: passing arguments to 'unique' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 47 | if(unique(p,p+i,i+UNIQnamelen,LOCKperm,0,doCHECK|doLOCK)) | ^ lockfile.c:48:51: warning: passing arguments to 'myrename' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 78 | qsignal(SIGINT,failure);qsignal(SIGQUIT,failure);qsignal(SIGTERM,failure); | ^ lockfile.c:105:41: warning: passing arguments to 'auth_finduid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 105 | elog(auth_mailboxname(auth_finduid(getuid(),0))); | ^ 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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 139 | auth_whatuid(pass)==uid|| | ^ lockfile.c:140:26: warning: passing arguments to 'auth_finduid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 140 | (pass=auth_finduid(uid,0)))) | ^ 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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 282 | void ssleep(seconds)const unsigned seconds; /* stub */ | ^ 46 warnings generated. --- 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] --- 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] --- 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] --- 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] --- misc.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] --- recommend --- ================================================================ =============== --- mans --- 31 warnings generated. --- bins --- --- 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] --- procmail.o --- 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. | ^ ./../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] --- regexp.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] --- robust.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] --- 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 | ^ --- 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] --- setid --- --- lockfile --- --- goodies.o --- 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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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() | ^ --- from.o --- 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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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() | ^ --- mailfold.o --- 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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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() | ^ --- ../new/mailstat --- ln ../src/mailstat ../new/mailstat --- lmtp.o --- 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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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() | ^ --- misc.o --- 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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from misc.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() | ^ --- pipes.o --- 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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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() | ^ --- procmail.o --- 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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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() | ^ --- regexp.o --- 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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from regexp.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() | ^ --- robust.o --- 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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#define console "/dev/console" /* uncomment if you want procmail to | ^ In file included from robust.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() | ^ --- formail.o --- ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] 101 | /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if | ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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 */ --- variables.o --- 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:129:34: warning: '/*' within block comment [-Wcomment] 129 | /*#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() | ^ --- goodies.o --- ./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] --- from.o --- ./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] --- mailfold.o --- ./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] --- lmtp.o --- ./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] --- misc.o --- ./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] --- pipes.o --- ./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] --- procmail.o --- ./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] --- regexp.o --- ./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] --- robust.o --- ./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] --- formail.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] --- variables.o --- ./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] --- goodies.o --- 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 66 | early_eof: nlog(unexpeof); | ^ --- from.o --- 72 | /* SIGINT SIGQUIT SIGALRM SIGTERM */ | ^ --- mailfold.o --- 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 | ^ mailfold.c:39:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-Wdeprecated-non-prototype] 51 | doesc=0,rwrite(s,esc,STRLEN(esc)),lastdump++; /* escape it */ --- lmtp.o --- 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:54:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | 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 C2x [-Wdeprecated-non-prototype] 78 | { if(already&&already!=rwrite(savstdout,bufcur=buf2,already)|| | ^ --- misc.o --- 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 | ^ misc.c:51:20: warning: passing arguments to 'frealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 51 | if(p=lmax?frealloc(old,newmax):fmalloc(newmax))/* fragile allocation */ | ^ misc.c:51:40: warning: passing arguments to 'fmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- pipes.o --- 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 | ^ pipes.c:44:16: warning: passing arguments to 'cstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-Wdeprecated-non-prototype] 43 | void inittmout(progname)const char*const progname; | ^ In file included from pipes.c:18: --- procmail.o --- 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:74:19: warning: passing arguments to 'auth_filledid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 74 | if(auth_filledid(spass)&&auth_whatuid(spass)==uid) | ^ procmail.c:74:40: warning: passing arguments to 'auth_whatuid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 74 | if(auth_filledid(spass)&&auth_whatuid(spass)==uid) --- regexp.o --- 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 | ^ regexp.c:94:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 94 | static void puteps(spot,to)struct eps*const spot;const struct eps*const to; | ^ regexp.c:101:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 101 | static void bseti(i,j)unsigned i;const int j; | ^ --- robust.o --- 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 | ^ robust.c:27:18: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 27 | nextexit=2;nlog(outofmem);elog("\n"); | ^ robust.c:27:33: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 27 | nextexit=2;nlog(outofmem);elog("\n"); | ^ --- formail.o --- 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:120:6: warning: passing arguments to 'tputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 120 | { putssn(sfolder,STRLEN(sfolder));putssn(logsummary,i=strlen(logsummary)); | ^ ./formail.h:9:28: note: expanded from macro 'putssn' 9 | #define putssn(a,l) tputssn(a,(size_t)(l)) | ^ formail.c:120:38: warning: passing arguments to 'tputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 120 | { putssn(sfolder,STRLEN(sfolder));putssn(logsummary,i=strlen(logsummary)); --- variables.o --- 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 | ^ variables.c:57:7: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 57 | yell("Assigning",a);remove=0; | ^ variables.c:63:45: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 63 | { split=curr->ename;*last=curr->enext;free(curr); /* earlier? */ --- goodies.o --- goodies.c:71:12: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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) | ^ --- 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 C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] --- lmtp.o --- lmtp.c:79:23: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 114 | { ungetb(c); | ^ --- misc.o --- 51 | if(p=lmax?frealloc(old,newmax):fmalloc(newmax))/* fragile allocation */ | ^ misc.c:51:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 51 | if(p=lmax?frealloc(old,newmax):fmalloc(newmax))/* fragile allocation */ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:51:6: note: place parentheses around the assignment to silence this warning 51 | if(p=lmax?frealloc(old,newmax):fmalloc(newmax))/* fragile allocation */ | ^ | ( ) misc.c:51:6: note: use '==' to turn this assignment into an equality comparison 51 | if(p=lmax?frealloc(old,newmax):fmalloc(newmax))/* fragile allocation */ | ^ | == --- 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 C2x, 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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] --- procmail.o --- | ^ procmail.c:76:24: warning: passing arguments to 'auth_finduid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 76 | if(tpass=auth_finduid(uid,0)) /* save by copying */ | ^ procmail.c:76:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 76 | if(tpass=auth_finduid(uid,0)) /* save by copying */ | ~~~~~^~~~~~~~~~~~~~~~~~~~ procmail.c:76:11: note: place parentheses around the assignment to silence this warning 76 | if(tpass=auth_finduid(uid,0)) /* save by copying */ | ^ | ( ) procmail.c:76:11: note: use '==' to turn this assignment into an equality comparison 76 | if(tpass=auth_finduid(uid,0)) /* save by copying */ --- regexp.o --- regexp.c:114:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 114 | static struct eps*skiplen(ep)const struct eps*const ep; | ^ regexp.c:124:8: warning: passing arguments to 'por' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 124 | if(por(e)) | ^ regexp.c:121:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 121 | static void psimp(e)const struct eps*const e; | ^ regexp.c:222:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 222 | static int endgroup(p)register const uchar*const p; | ^ --- robust.o --- robust.c:31:46: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 31 | { buf[linebuf-1]=buf2[linebuf-1]='\0';elog("buffer 0:");logqnl(buf); | ^ robust.c:31:66: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 31 | { buf[linebuf-1]=buf2[linebuf-1]='\0';elog("buffer 0:");logqnl(buf); | ^ robust.c:32:10: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 32 | elog("buffer 1:");logqnl(buf2); | ^ robust.c:32:30: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- formail.o --- | ^ ./formail.h:9:28: note: expanded from macro 'putssn' 9 | #define putssn(a,l) tputssn(a,(size_t)(l)) | ^ formail.c:122:9: warning: passing arguments to 'tputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 122 | do putssn(tabchar,STRLEN(tabchar)); | ^ ./formail.h:9:28: note: expanded from macro 'putssn' 9 | #define putssn(a,l) tputssn(a,(size_t)(l)) | ^ formail.c:124:12: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 124 | ultstr(7,Totallen,num);putssn(num,strlen(num));putcs('\n'); | ^ formail.c:124:29: warning: passing arguments to 'tputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- variables.o --- | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ variables.c:70:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 70 | { while(*preenv=preenv[1]) /* wipe this entry out of the environment */ | ~~~~~~~^~~~~~~~~~ variables.c:70:22: note: place parentheses around the assignment to silence this warning 70 | { while(*preenv=preenv[1]) /* wipe this entry out of the environment */ | ^ | ( ) variables.c:70:22: note: use '==' to turn this assignment into an equality comparison 70 | { while(*preenv=preenv[1]) /* wipe this entry out of the environment */ | ^ | == --- goodies.o --- goodies.c:124:25: warning: passing arguments to 'fromprog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 124 | startb=fromprog( | ^ goodies.c:138:23: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 108 | jin: while(part&&(i=rwrite(s,source,BLKSIZ");*++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 */ | ^ --- variables.o --- variables.c:76:14: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 76 | environ=realloc(environ,i); | ^ ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ variables.c:78:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 78 | alloced=1,environ=tmemmove(malloc(i),environ,i-sizeof*environ); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ variables.c:81:62: warning: passing arguments to 'newdynstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- goodies.o --- 209 | if(numeric(*buf2)&&buf2[1]) | ^ ./includes.h:549:29: note: expanded from macro 'numeric' 549 | #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 C2x [-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 C2x [-Wdeprecated-non-prototype] 226 | badsub: nlog("Bad substitution of");logqnl(buf2); | ^ --- mailfold.o --- mailfold.c:126:9: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 126 | nlog("Kernel-unlock failed\n"); | ^ mailfold.c:129:14: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 129 | i=rclose(s)||i; | ^ mailfold.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 80 | long dump(s,type,source,len)const int s,type;const char*source; | ^ In file included from mailfold.c:29: ./mailfold.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- lmtp.o --- lmtp.c:245:9: warning: passing arguments to 'pushfd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 245 | pushfd(STDIN);overread=0;overlen=0;nliseol=1; | ^ lmtp.c:247:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 247 | currcpt=rcpts=malloc(INITIAL_RCPTS*sizeof*rcpts); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ lmtp.c:323:20: warning: passing arguments to 'rpipe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 323 | jumpout: rpipe(pipefds); | ^ --- misc.o --- misc.c:80:9: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 80 | { rclose(savstdout);closelog();closerc(); | ^ misc.c:90:7: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 90 | nlog(insufprivs); | ^ misc.c:84:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 84 | void checkroot(c,Xid)const int c;const unsigned long Xid; | ^ In file included from misc.c:17: ./misc.h:28:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | checkroot P((const int c,const unsigned long Xid)), | ^ --- pipes.o --- pipes.c:69:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 69 | nlog(rescdata),elog("succeeded\n"); | ^ pipes.c:69:25: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 69 | nlog(rescdata),elog("succeeded\n"); | ^ pipes.c:74:35: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 74 | { lexitcode=EX_UNAVAILABLE;qsignal(SIGTERM,stermchild); | ^ pipes.c:75:10: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 75 | qsignal(SIGINT,stermchild);qsignal(SIGHUP,stermchild); | ^ --- procmail.o --- 116 | case HELPOPT1:case HELPOPT2:elog(pmusage);elog(PM_HELP); | ^ procmail.c:116:50: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 116 | case HELPOPT1:case HELPOPT2:elog(pmusage);elog(PM_HELP); | ^ procmail.c:117:11: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 117 | elog(PM_QREFERENCE); | ^ procmail.c:132:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 132 | else if(chp2=(char*)argv[argc+1]) | ~~~~^~~~~~~~~~~~~~~~~~~~ --- regexp.o --- regexp.c:367:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 367 | por(Ceps 0);st=r=malloc((i=(char*)r-(char*)&aleps)+sizeof r->opc); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ regexp.c:373:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 373 | nlog("Invalid regexp"),logqnl(a); | ^ regexp.c:373:35: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 373 | nlog("Invalid regexp"),logqnl(a); | ^ --- robust.o --- robust.c:42:7: note: use '==' to turn this assignment into an equality comparison 42 | if(p=malloc(1)) | ^ | == robust.c:49:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 49 | if(p=malloc(len)) | ~^~~~~~~~~~~~ robust.c:49:7: note: place parentheses around the assignment to silence this warning 49 | if(p=malloc(len)) | ^ | ( ) robust.c:49:7: note: use '==' to turn this assignment into an equality comparison 49 | if(p=malloc(len)) | ^ | == robust.c:54:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 54 | if(p=malloc(len)) /* some other process has paniced (and died 8-) */ | ~^~~~~~~~~~~~ robust.c:54:10: note: place parentheses around the assignment to silence this warning 54 | if(p=malloc(len)) /* some other process has paniced (and died 8-) */ --- formail.o --- | ( ) 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 C2x [-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 */ | ^ --- variables.o --- 81 | preenv[1]=0;*(lastenv=preenv)=(char*)(split=newdynstring(&myenv,a)); | ^ variables.c:54:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 54 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | *sputenv P((const char*const a)), | ^ variables.c:87:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 87 | void primeStdout(varname)const char*const varname; /* changes are allowed! */ | ^ In file included from variables.c:25: --- goodies.o --- goodies.c:251:23: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] --- mailfold.o --- 4 | dump P((const int s,const int type,const char*source,long len)); | ^ mailfold.c:140:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 140 | if(dirp=opendir(buf)) | ~~~~^~~~~~~~~~~~~ mailfold.c:140:13: note: place parentheses around the assignment to silence this warning 140 | if(dirp=opendir(buf)) | ^ | ( ) mailfold.c:140:13: note: use '==' to turn this assignment into an equality comparison 140 | if(dirp=opendir(buf)) | ^ | == mailfold.c:141:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 141 | { while(dp=readdir(dirp)) /* there still are directory entries */ | ~~^~~~~~~~~~~~~~ mailfold.c:141:17: note: place parentheses around the assignment to silence this warning --- lmtp.o --- lmtp.c:333:10: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 333 | rclose(pipefds[0]); | ^ lmtp.c:336:12: warning: passing arguments to 'makeFrom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 336 | makeFrom(from+1,invoker); | ^ lmtp.c:338:4: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 338 | free(from); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ --- misc.o --- misc.c:111:7: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 111 | { nlog(errwwriting);logqnl(line); | ^ misc.c:111:27: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 111 | { nlog(errwwriting);logqnl(line); | ^ misc.c:110:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 110 | void writeerr(line)const char*const line; | ^ In file included from misc.c:17: ./misc.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | writeerr P((const char*const line)), | ^ --- pipes.o --- pipes.c:75:37: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 75 | qsignal(SIGINT,stermchild);qsignal(SIGHUP,stermchild); | ^ pipes.c:76:10: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 76 | qsignal(SIGQUIT,stermchild);shutdesc(); | ^ pipes.c:80:9: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 80 | { rclose(STDIN);rdup(pip);rclose(pip); | ^ pipes.c:80:21: warning: passing arguments to 'rdup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 80 | { rclose(STDIN);rdup(pip);rclose(pip); | ^ --- procmail.o --- procmail.c:132:19: note: place parentheses around the assignment to silence this warning 132 | else if(chp2=(char*)argv[argc+1]) | ^ | ( ) procmail.c:132:19: note: use '==' to turn this assignment into an equality comparison 132 | else if(chp2=(char*)argv[argc+1]) | ^ | == procmail.c:135:14: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 135 | nlog("Missing name\n"); | ^ procmail.c:141:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 141 | else if(chp2=(char*)argv[argc+1]) | ~~~~^~~~~~~~~~~~~~~~~~~~ --- regexp.o --- regexp.c:363:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 363 | struct eps*bregcomp(a,ign_case)const char*const a;const unsigned ign_case; | ^ In file included from regexp.c:19: ./regexp.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | bregcomp P((const char*const a,const unsigned ign_case)); | ^ regexp.c:431:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 431 | while(thiss= *(reg= &PC(oldthis=thiss,th1))) /* wipe out list till you */ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regexp.c:431:14: note: place parentheses around the assignment to silence this warning --- robust.o --- | ^ | ( ) robust.c:54:10: note: use '==' to turn this assignment into an equality comparison 54 | if(p=malloc(len)) /* some other process has paniced (and died 8-) */ | ^ | == robust.c:46:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 46 | void*tmalloc(len)const size_t len; /* this malloc can survive a temporary */ | ^ In file included from robust.c:14: ./robust.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | *tmalloc Q((const size_t len)), | ^ robust.c:65:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 65 | if(p=realloc(old,len)) | ~^~~~~~~~~~~~~~~~~ --- formail.o --- | ( ) 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='>'); | ^ --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | primeStdout P((const char*const varname)), | ^ variables.c:99:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 99 | free(newmyenv);*lastenv=Stdout=0; | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ variables.c:104:13: warning: passing arguments to 'retbStdout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 104 | retbStdout(newmyenv); | ^ --- goodies.o --- 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 267 | if(numeric(i)) /* $n positional argument */ | ^ ./includes.h:549:29: note: expanded from macro 'numeric' 549 | #define numeric(x) (alphanum((unsigned char)(x))>1) | ^ --- mailfold.o --- 141 | { while(dp=readdir(dirp)) /* there still are directory entries */ | ^ | ( ) mailfold.c:141:17: note: use '==' to turn this assignment into an equality comparison 141 | { while(dp=readdir(dirp)) /* there still are directory entries */ | ^ | == mailfold.c:147:9: warning: passing arguments to 'readerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 147 | readerr(buf); | ^ mailfold.c:150:13: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 150 | exlb: { nlog(exceededlb);setoverflow(); | ^ --- lmtp.o --- lmtp.c:339:25: warning: passing arguments to 'resizeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 339 | if(size&&!resizeblock(&themail,size+=filled+3,1))/* try for */ | ^ lmtp.c:343:13: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 343 | if(rwrite(pipefds[1],&status,sizeof(status))!=sizeof(status)) | ^ lmtp.c:351:14: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 351 | rclose(pipefds[1]); | ^ lmtp.c:352:19: warning: passing arguments to 'forkerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- misc.o --- misc.c:116:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 116 | { nlog("Failed forking");logqnl(a); | ^ misc.c:116:35: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 116 | { nlog("Failed forking");logqnl(a); | ^ misc.c:114:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 114 | int forkerr(pid,a)const pid_t pid;const char*const a; | ^ In file included from misc.c:17: ./misc.h:49:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- pipes.o --- pipes.c:80:33: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 80 | { rclose(STDIN);rdup(pip);rclose(pip); | ^ pipes.c:79:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 79 | static void getstdin(pip)const int pip; | ^ pipes.c:94:10: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 94 | yell(executing,newname);newargv[3]=0;newargv[2]=newname; | ^ pipes.c:95:44: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 95 | newargv[1]=shellflags;*newargv=tgetenv(shell);shexec(newargv); --- procmail.o --- procmail.c:141:19: note: place parentheses around the assignment to silence this warning 141 | else if(chp2=(char*)argv[argc+1]) | ^ | ( ) procmail.c:141:19: note: use '==' to turn this assignment into an equality comparison 141 | else if(chp2=(char*)argv[argc+1]) | ^ | == procmail.c:143:17: warning: passing arguments to 'app_val_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 143 | 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' --- regexp.o --- 431 | while(thiss= *(reg= &PC(oldthis=thiss,th1))) /* wipe out list till you */ | ^ | ( ) regexp.c:431:14: note: use '==' to turn this assignment into an equality comparison 431 | while(thiss= *(reg= &PC(oldthis=thiss,th1))) /* wipe out list till you */ | ^ | == regexp.c:428:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 428 | static struct eps*cleantail(start,thiss,th1)const char*const start; | ^ regexp.c:601:16: warning: passing arguments to 'primeStdout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 601 | primeStdout(amatch);p=realloc(Stdout,(Stdfilled+=len)+1); | ^ --- robust.o --- robust.c:65:7: note: place parentheses around the assignment to silence this warning 65 | if(p=realloc(old,len)) | ^ | ( ) robust.c:65:7: note: use '==' to turn this assignment into an equality comparison 65 | if(p=realloc(old,len)) | ^ | == robust.c:70:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 70 | if(p=realloc(old,len)) | ~^~~~~~~~~~~~~~~~~ robust.c:70:10: note: place parentheses around the assignment to silence this warning 70 | if(p=realloc(old,len)) | ^ | ( ) robust.c:70:10: note: use '==' to turn this assignment into an equality comparison 70 | if(p=realloc(old,len)) | ^ | == robust.c:62:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- formail.o --- | == formail.c:147:17: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 147 | *pointer=p=realloc(p,FLD_HEADSIZ+p->Tot_len); | ^ ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ formail.c:128:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-Wdeprecated-non-prototype] 157 | (fp2=findf(fldp,&iheader))&& | ^ --- variables.o --- variables.c:110:15: warning: passing arguments to 'asenvtext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 110 | asenvtext(p+1); /* we always have to update the pointers for these */ | ^ variables.c:112:11: warning: passing arguments to 'asenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 112 | asenv(p+1); /* invoke any magic */ | ^ variables.c:94:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 94 | void retStdout(newmyenv,fail,unset) /* see note on primeStdout() */ | ^ In file included from variables.c:25: --- goodies.o --- goodies.c:273:15: warning: passing arguments to 'alphanum' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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] --- mailfold.o --- mailfold.c:154:11: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 154 | do ultstr(0,++i,chp); /* find first empty MH folder */ | ^ mailfold.c:155:26: warning: passing arguments to 'rlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 155 | while((ok=linkonly?rlink(buf2,buf,0):hlink(buf2,buf))&&errno==EEXIST); | ^ mailfold.c:155:44: warning: passing arguments to 'hlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 155 | while((ok=linkonly?rlink(buf2,buf,0):hlink(buf2,buf))&&errno==EEXIST); | ^ --- lmtp.o --- 352 | if(!forkerr(childserverpid,buf)) | ^ lmtp.c:354:9: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 354 | rread(pipefds[0],&status,sizeof(status)); | ^ lmtp.c:356:13: warning: passing arguments to 'pushfd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 356 | { pushfd(pipefds[0]); /* pick up what the child */ | ^ lmtp.c:362:14: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 362 | rclose(pipefds[0]); | ^ --- misc.o --- 49 | forkerr Q((const pid_t pid,const char*const a)), | ^ misc.c:124:7: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 124 | nlog(okay?"Non-zero exitcode (":"Program failure ("); | ^ misc.c:125:8: warning: passing arguments to 'ltstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 125 | ltstr(0,(long)xitcode,num);elog(num);elog(okay?") from":") of"); | ^ misc.c:126:9: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 126 | logqnl(line); | ^ misc.c:122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 122 | void progerr(line,xitcode,okay)const char*const line;int xitcode,okay; --- pipes.o --- | ^ pipes.c:95:58: warning: passing arguments to 'shexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 95 | newargv[1]=shellflags;*newargv=tgetenv(shell);shexec(newargv); | ^ pipes.c:100:13: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 100 | { nlog(executing);elog(oquote); | ^ pipes.c:100:29: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 100 | { nlog(executing);elog(oquote); | ^ pipes.c:105:9: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- 6 | #define app_val_type(sp,t,s,v) (*(t*)app_val_(&sp,sizeof(s))=(v)) | ^ procmail.c:148:14: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 148 | nlog("Missing argument\n"); | ^ procmail.c:153:14: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 153 | { nlog(misrecpt); | ^ procmail.c:173:16: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 173 | default:nlog("Unrecognised options:");logqnl(chp2); | ^ --- regexp.o --- regexp.c:601:27: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 601 | primeStdout(amatch);p=realloc(Stdout,(Stdfilled+=len)+1); | ^ ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ regexp.c:602:56: warning: passing arguments to 'retbStdout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 602 | tmemmove(q=p+Stdfilled-(int)len,bom,len);retbStdout(p); | ^ regexp.c:604:6: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 604 | yell("Matched",q); | ^ --- robust.o --- 62 | void*trealloc(old,len)void*const old;const size_t len; | ^ In file included from robust.c:14: ./robust.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | *trealloc Q((void*const old,const size_t len)), | ^ robust.c:78:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 78 | void*fmalloc(len)const size_t len; /* 'fragile' malloc */ | ^ In file included from robust.c:14: ./robust.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | *fmalloc Q((const size_t len)), | ^ --- formail.o --- formail.c:162:19: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 */ --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | retStdout P((char*const newmyenv,const int fail,const int unset)), | ^ variables.c:115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 115 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | retbStdout P((char*const newmyenv)), | ^ --- goodies.o --- 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 C2x [-Wdeprecated-non-prototype] 50 | int readparse(p,fpgetc,sarg,skipping)register char*p;int(*const fpgetc)(); | ^ In file included from goodies.c:23: --- mailfold.o --- mailfold.c:157:9: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 157 | { yell(lkingto,buf); | ^ mailfold.c:166:16: warning: passing arguments to 'unique' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 166 | { if(!unique(buf,chp,linebuf,NORMperm,verbose,doMAILDIR)) | ^ mailfold.c:176:12: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 176 | ultoan((unsigned long)stbuf.st_ino,strcpy(chp,msgprefix)+mpl); | ^ mailfold.c:179:10: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 179 | { yell(lkingto,buf); | ^ --- lmtp.o --- lmtp.c:386:14: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 386 | rcpts=realloc(rcpts,(num+INCR_RCPTS)*sizeof*rcpts); | ^ ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ lmtp.c:397:31: warning: passing arguments to 'auth_finduser' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 397 | if(!(temp=auth_finduser(mailbox,0))) | ^ lmtp.c:399:4: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 399 | free(path); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) --- misc.o --- | ^ In file included from misc.c:17: ./misc.h:31:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | progerr P((const char*const line,int xitcode,int okay)), | ^ misc.c:130:7: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 130 | { nlog("Couldn't chdir to");logqnl(dir); | ^ misc.c:130:35: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 130 | { nlog("Couldn't chdir to");logqnl(dir); | ^ misc.c:129:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- pipes.o --- 105 | { elog(comma); | ^ pipes.c:107:9: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 107 | elog(p); | ^ pipes.c:114:12: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 114 | { elog(comma); | ^ pipes.c:115:19: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 115 | No_1st_comma: elog(*walkargs); /* expand it */ | ^ pipes.c:124:6: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- procmail.c:173:48: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 173 | default:nlog("Unrecognised options:");logqnl(chp2); | ^ procmail.c:174:11: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 174 | elog(pmusage);elog("Processing continued\n"); | ^ procmail.c:174:25: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 174 | elog(pmusage);elog("Processing continued\n"); | ^ --- regexp.o --- regexp.c:439:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 439 | char*bregexec(code,text,str,len,ign_case)struct eps*code; | ^ In file included from regexp.c:19: ./regexp.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | bregexec Q((struct eps*code,const uchar*const text,const uchar*str,size_t len, | ^ --- robust.o --- robust.c:84:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 84 | void*frealloc(old,len)void*const old;const size_t len; /* 'fragile' realloc */ | ^ In file included from robust.c:14: ./robust.h:8:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | *frealloc Q((void*const old,const size_t len)), | ^ robust.c:90:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 90 | void tfree(p)void*const p; | ^ In file included from robust.c:14: --- formail.o --- | ^ | ( ) 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 C2x [-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 C2x [-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)) | ~~~^~~~~~~~~~~~~~~~~~~~~ --- variables.o --- variables.c:125:5: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 125 | p=realloc(Stdout,(Stdfilled=len+1+strlen(value))+1); | ^ ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ variables.c:121:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 121 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | appendlastvar P((const char*const value)), | ^ --- goodies.o --- ./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 C2x, 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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | *simplesplit P((char*to,const char*from,const char*fencepost,int*gotp)); | ^ --- mailfold.o --- mailfold.c:180:14: warning: passing arguments to 'rlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 180 | if(rlink(buf2,buf,0)) /* hardlink the new file, it's a directory folder */ | ^ mailfold.c:181:12: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 181 | nolnk: nlog("Couldn't make link to"),logqnl(buf); | ^ mailfold.c:181:44: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 181 | nolnk: nlog("Couldn't make link to"),logqnl(buf); | ^ mailfold.c:183:22: warning: passing arguments to 'appendlastvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- lmtp.o --- | ^ lmtp.c:402:19: warning: passing arguments to 'auth_copyid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 402 | auth_copyid(*currcpt=auth_newid(),temp); | ^ lmtp.c:403:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 403 | free(path); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ lmtp.c:438:20: warning: passing arguments to 'readmail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 438 | deliver: readmail(2,0L); /* fix up things */ | ^ --- misc.o --- 129 | void chderr(dir)const char*const dir; | ^ In file included from misc.c:17: ./misc.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | chderr P((const char*const dir)), | ^ misc.c:134:7: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 134 | { nlog("Couldn't read");logqnl(file); | ^ misc.c:134:31: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 134 | { nlog("Couldn't read");logqnl(file); | ^ misc.c:133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- pipes.o --- 124 | elog(cquote); /* allocate argv array */ | ^ pipes.c:126:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 126 | newargv=malloc(argc*sizeof*newargv);p=newname;argc=0; | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ pipes.c:133:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 133 | while(newargv[argc]= *walkargs++) | ~~~~~~~~~~~~~^~~~~~~~~~~~~ pipes.c:133:27: note: place parentheses around the assignment to silence this warning 133 | while(newargv[argc]= *walkargs++) | ^ | ( ) --- procmail.o --- procmail.c:181:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 181 | nlog(misrecpt),Deliverymode=0; | ^ procmail.c:188:19: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 188 | conflopt: nlog(conflicting);elog("options\n");elog(pmusage); | ^ procmail.c:188:37: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 188 | conflopt: nlog(conflicting);elog("options\n");elog(pmusage); | ^ procmail.c:188:55: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- robust.o --- ./robust.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | tfree P((void*const p)), | ^ robust.c:98:23: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 98 | zombiecollect();elog(empty);r=noforkretry; /* flush log, just in case */ | ^ robust.c:103:16: warning: passing arguments to 'waitfor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 103 | if(waitfor((pid_t)0)==NO_PROCESS) | ^ robust.c:112:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- formail.o --- 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 187 | delfld: { fldp=delfield(afldp); | ^ --- variables.o --- variables.c:131:19: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 131 | return readparse(dst,sgetc,2,0)?0:sputenv(buf); | ^ variables.c:129:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 129 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | *eputenv P((const char*const src,char*const dst)), | ^ variables.c:134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- goodies.o --- goodies.c:375:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, 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 --- mailfold.o --- 183 | didlnk: appendlastvar(buf); /* lastvar is "LASTFOLDER" here */ | ^ mailfold.c:186:12: warning: passing arguments to 'rlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 186 | if(!rlink(buf2,buf,0)) /* try rename-via-link */ | ^ mailfold.c:188:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 188 | else if(errno=EEXIST||!stat(buf,&stbuf)||errno!=ENOENT||rename(buf2,buf)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailfold.c:188:16: note: place parentheses around the assignment to silence this warning 188 | else if(errno=EEXIST||!stat(buf,&stbuf)||errno!=ENOENT||rename(buf2,buf)) | ^ | ( ) --- lmtp.o --- lmtp.c:440:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 440 | rcpts=realloc(rcpts,(currcpt-rcpts)*sizeof*rcpts); | ^ ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ lmtp.c:483:26: warning: passing arguments to 'resizeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 483 | { if(!resizeblock(&themail,size=filled+length+BLKSIZ,1)) | ^ lmtp.c:486:18: warning: passing arguments to 'readLe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 486 | { i=readLe(buf,linebuf); | ^ --- misc.o --- 133 | void readerr(file)const char*const file; | ^ 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 C2x, 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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] --- pipes.o --- pipes.c:133:27: note: use '==' to turn this assignment into an equality comparison 133 | while(newargv[argc]= *walkargs++) | ^ | == pipes.c:138:24: warning: passing arguments to 'shexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 138 | newargv[argc]=0;shexec(newargv); | ^ pipes.c:83:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 83 | static void callnewprog(newname)const char*const newname; | ^ pipes.c:155:11: warning: passing arguments to 'rpipe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 155 | pip: rpipe(pbackfd); | ^ --- procmail.o --- 188 | conflopt: nlog(conflicting);elog("options\n");elog(pmusage); | ^ procmail.c:207:16: warning: passing arguments to 'cleanupenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 207 | cleanupenv(presenviron); | ^ procmail.c:212:44: warning: passing arguments to 'auth_username' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 212 | checkprivFrom_(euid,passinvk?auth_username(passinvk):0,override); | ^ procmail.c:212:16: warning: passing arguments to 'checkprivFrom_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 212 | checkprivFrom_(euid,passinvk?auth_username(passinvk):0,override); | ^ --- robust.o --- 112 | elog(empty); /* flush stderr */ | ^ robust.c:115:16: warning: passing arguments to 'opena' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 115 | 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 118 | rclose(STDERR),rdup(i),rclose(i),logopened=1; | ^ --- formail.o --- formail.c:151:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 151 | static void procfields(sareply)const int sareply; | ^ formail.c:222:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 222 | tmp=malloc(j=fldp->Tot_len-j);tmemmove(tmp,chp,j);(chp=tmp)[j-1]='\0'; | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ 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 --- variables.o --- 134 | void setdef(name,value)const char*const name,*const value; | ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | setdef P((const char*const name,const char*const value)), | ^ variables.c:142:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 142 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | *tgetenv P((const char*const a)); | ^ --- goodies.o --- 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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 384 | void metaparse(p)const char*p; /* result in buf */ | ^ In file included from goodies.c:23: --- mailfold.o --- mailfold.c:188:16: note: use '==' to turn this assignment into an equality comparison 188 | else if(errno=EEXIST||!stat(buf,&stbuf)||errno!=ENOENT||rename(buf2,buf)) | ^ | == mailfold.c:190:16: warning: passing arguments to 'setlastfolder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 190 | setlastfolder(buf); | ^ mailfold.c:191:15: warning: passing arguments to 'opena' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 191 | return opena(buf); | ^ mailfold.c:134:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 134 | static int dirfile(chp,linkonly,type)char*const chp;const int linkonly,type; | ^ --- lmtp.o --- lmtp.c:491:26: warning: passing arguments to 'readLe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 491 | if(length&&0>readLe(buf,length)) | ^ lmtp.c:500:23: warning: passing arguments to 'readLe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 500 | { int i=readLe(themail.p+filled,length); | ^ lmtp.c:520:18: warning: passing arguments to 'resizeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 520 | resizeblock(&themail,(filled-=in-out)+1,1); | ^ lmtp.c:538:31: warning: passing arguments to 'auth_finduser' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- misc.o --- 148 | { nlog(name);elog(notabsolute);elog(newline); | ^ misc.c:137:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, 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 C2x [-Wdeprecated-non-prototype] 168 | qsignal(SIGUSR1,verboff); | ^ --- pipes.o --- pipes.c:156:8: warning: passing arguments to 'rpipe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 156 | rpipe(pinfd); /* main pipes setup */ | ^ pipes.c:162:25: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 162 | childsetup();rclose(PRDI);rclose(PRDB); | ^ pipes.c:162:38: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 162 | childsetup();rclose(PRDI);rclose(PRDB); | ^ pipes.c:163:11: warning: passing arguments to 'rpipe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 163 | rpipe(poutfd);rclose(STDOUT); | ^ --- procmail.o --- procmail.c:213:9: warning: passing arguments to 'doumask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 213 | doumask(INIT_UMASK); /* allowed to set the From_ line? */ | ^ procmail.c:214:23: warning: passing arguments to 'rdup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 214 | while((savstdout=rdup(STDOUT))<=STDERR) | ^ procmail.c:215:11: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 215 | { rclose(savstdout); /* move stdout out of the way */ | ^ procmail.c:216:26: warning: passing arguments to 'opena' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- 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 C2x [-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 C2x [-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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- formail.o --- 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:234:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 234 | savetmp=malloc(1+(j=pastad-chp)+1+1);tmemmove(savetmp,chp,j); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ formail.c:263:5: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- variables.o --- variables.c:159:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 159 | for(ep=emax;p= *ep;ep++) /* scan for this keeper */ | ~^~~~~ variables.c:159:15: note: place parentheses around the assignment to silence this warning 159 | for(ep=emax;p= *ep;ep++) /* scan for this keeper */ | ^ | ( ) variables.c:159:15: note: use '==' to turn this assignment into an equality comparison 159 | for(ep=emax;p= *ep;ep++) /* scan for this keeper */ | ^ | == variables.c:184:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 184 | for(pp=ld_;p= *pp;pp++) /* does it start with LD_ or similar? */ | ~^~~~~ --- goodies.o --- ./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 C2x, 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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] --- mailfold.o --- mailfold.c:198:19: warning: passing arguments to 'setlastfolder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 198 | { setlastfolder(boxname); | ^ mailfold.c:199:13: warning: passing arguments to 'rdup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 199 | fd=rdup(Deliverymode==2?STDOUT:savstdout); | ^ mailfold.c:207:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 207 | if(blen=Tmnate-linkfolder) /* copy the names into safety */ | ~~~~^~~~~~~~~~~~~~~~~~ mailfold.c:207:13: note: place parentheses around the assignment to silence this warning 207 | if(blen=Tmnate-linkfolder) /* copy the names into safety */ | ^ | ( ) --- lmtp.o --- 538 | if(!(temp=auth_finduser(mailbox,0))) | ^ lmtp.c:540:4: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 540 | free(path); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ lmtp.c:543:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 543 | free(path); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ lmtp.c:551:14: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- misc.o --- misc.c:175:10: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-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 C2x [-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 C2x [-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: --- pipes.o --- pipes.c:163:26: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 163 | rpipe(poutfd);rclose(STDOUT); | ^ pipes.c:165:15: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 165 | { rclose(PWRB);rclose(PWRO);rdup(PWRI);rclose(PWRI);getstdin(PRDO); | ^ pipes.c:165:28: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 165 | { rclose(PWRB);rclose(PWRO);rdup(PWRI);rclose(PWRI);getstdin(PRDO); | ^ pipes.c:165:39: warning: passing arguments to 'rdup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- 216 | if(0>(savstdout=opena(devnull))) | ^ procmail.c:220:23: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 220 | fclose(stdout);rclose(STDOUT); /* just to make sure */ | ^ procmail.c:221:12: warning: passing arguments to 'opena' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 221 | if(0>opena(devnull)) | ^ procmail.c:223:13: warning: passing arguments to 'writeerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 223 | { writeerr(devnull);syslog(LOG_EMERG,slogstr,errwwriting,devnull); | ^ --- 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 C2x [-Wdeprecated-non-prototype] 122 | { yell("Opening",a); | ^ robust.c:124:15: warning: passing arguments to 'ropen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 124 | return ropen(a,O_WRONLY|O_APPEND|O_CREAT,NORMperm); | ^ robust.c:121:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- formail.o --- 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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] --- variables.o --- variables.c:184:18: note: place parentheses around the assignment to silence this warning 184 | for(pp=ld_;p= *pp;pp++) /* does it start with LD_ or similar? */ | ^ | ( ) variables.c:184:18: note: use '==' to turn this assignment into an equality comparison 184 | for(pp=ld_;p= *pp;pp++) /* does it start with LD_ or similar? */ | ^ | == variables.c:151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 151 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | cleanupenv P((int preserve)), | ^ --- goodies.o --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | ltstr P((const int minwidth,const long val,char*dest)); | ^ --- mailfold.o --- mailfold.c:207:13: note: use '==' to turn this assignment into an equality comparison 207 | if(blen=Tmnate-linkfolder) /* copy the names into safety */ | ^ | == mailfold.c:208:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 208 | Tmnate=(linkfolder=tmemmove(malloc(blen),linkfolder,blen))+blen; | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ mailfold.c:212:18: warning: passing arguments to 'foldertype' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 212 | type=foldertype(0,0,&mode,0); /* the envelope please! */ | ^ --- lmtp.o --- 551 | { rwrite(ctopfd,cQUIT,STRLEN(cQUIT)); | ^ lmtp.c:552:14: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 552 | rclose(ctopfd); | ^ lmtp.c:237:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 237 | struct auth_identity **lmtp(lrout,invoker) | ^ In file included from lmtp.c:23: ./lmtp.h:6:4: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | **lmtp P((struct auth_identity***lrout,char*invoker)); | ^ --- misc.o --- ./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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 194 | void nlog(a)const char*const a; | ^ In file included from misc.c:17: --- pipes.o --- 165 | { rclose(PWRB);rclose(PWRO);rdup(PWRI);rclose(PWRI);getstdin(PRDO); | ^ pipes.c:165:52: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 165 | { rclose(PWRB);rclose(PWRO);rdup(PWRI);rclose(PWRI);getstdin(PRDO); | ^ pipes.c:168:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 168 | rclose(PWRI);rclose(PRDO); | ^ pipes.c:168:25: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 168 | rclose(PWRI);rclose(PRDO); | ^ --- procmail.o --- procmail.c:229:37: warning: passing arguments to 'allocbuffers' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 229 | setbuf(stdin,(char*)0);allocbuffers(linebuf,1); | ^ procmail.c:245:11: warning: passing arguments to 'setcomsat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 245 | setcomsat(empty); /* turn on biff by default */ | ^ procmail.c:246:8: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 246 | ultstr(0,(unsigned long)uid,buf);filled=0; | ^ procmail.c:247:43: warning: passing arguments to 'auth_username' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- robust.o --- 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 C2x [-Wdeprecated-non-prototype] 132 | int ropen(name,mode,mask)const char*const name;const int mode; | ^ In file included from robust.c:14: ./robust.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | ropen Q((const char*const name,const 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 C2x [-Wdeprecated-non-prototype] 142 | int rpipe(fd)int fd[2]; | ^ In file included from robust.c:14: --- formail.o --- 275 | case '<':skipwords(saddr=chp); /* hurray, machine useable */ | ^ formail.c:295:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 295 | pnewname: lastm=nowm;saddr=strcpy(malloc(strlen(saddr)+1),saddr); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ formail.c:297:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 297 | free(namep); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ --- variables.o --- variables.c:195:21: warning: passing arguments to 'auth_username' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 195 | { p=auth_username(pass); | ^ variables.c:199:18: warning: passing arguments to 'auth_shell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 199 | p=auth_shell(pass); | ^ variables.c:203:30: warning: passing arguments to 'auth_homedir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 203 | setdef(home,auth_homedir(pass));setdef(orgmail,auth_mailboxname(pass)); | ^ variables.c:203:69: warning: passing arguments to 'auth_mailboxname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- mailfold.o --- mailfold.c:217:16: warning: passing arguments to 'concatenate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 217 | concatenate(linkfolder),skipped(linkfolder),free(linkfolder); | ^ mailfold.c:217:36: warning: passing arguments to 'skipped' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 217 | concatenate(linkfolder),skipped(linkfolder),free(linkfolder); | ^ mailfold.c:217:49: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 217 | concatenate(linkfolder),skipped(linkfolder),free(linkfolder); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) --- 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 -fstack-protector-strong -s -lm -ldl -lc --- lmtp.o --- lmtp.c:587:20: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 587 | { if(0>(i=rwrite(ctopfd,overread,overlen))) | ^ lmtp.c:597:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 597 | free(overread); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ lmtp.c:633:17: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 633 | if(len!=rwrite(savstdout,message,len)) | ^ lmtp.c:622:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- misc.o --- ./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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | nlog P((const char*const a)), | ^ misc.c:206:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, 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 C2x [-Wdeprecated-non-prototype] 210 | void skipped(x)const char*const x; | ^ --- pipes.o --- pipes.c:169:16: warning: passing arguments to 'forkerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 169 | if(forkerr(pidfilt,line)) | ^ pipes.c:170:8: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 170 | rclose(PWRO),stermchild(); | ^ pipes.c:171:13: warning: passing arguments to 'dump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 171 | if(dump(PWRO,ft_PIPE,source,len)&&!ignwerr) /* send in the text */ | ^ pipes.c:172:10: warning: passing arguments to 'writeerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 172 | writeerr(line),lexitcode=EX_IOERR,stermchild(); /* to be filtered */ | ^ --- procmail.o --- 247 | if(!passinvk||!(chp2=(char*)auth_username(passinvk))) | ^ procmail.c:252:23: warning: passing arguments to 'lmtp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 252 | currcpt=rcpts=lmtp(&lastrcpt,chp2); | ^ procmail.c:254:17: warning: passing arguments to 'lockblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 254 | lockblock(&themail); /* then no one can write to the block */ | ^ procmail.c:262:18: warning: passing arguments to 'auth_freeid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 262 | auth_freeid(*currcpt++); | ^ --- robust.o --- ./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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | rpipe P((int fd[2])), | ^ robust.c:153:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, 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 C2x [-Wdeprecated-non-prototype] --- formail.o --- formail.c:301:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 324 | nlog("Duplicate key found:"),elog(key),elog("\n"); | ^ --- variables.o --- 203 | setdef(home,auth_homedir(pass));setdef(orgmail,auth_mailboxname(pass)); | ^ variables.c:209:10: warning: passing arguments to 'setlgcs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 209 | setlgcs(tgetenv(lgname)); /* make sure sendcomsat has a copy */ | ^ variables.c:191:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 191 | void initdefenv(pass,fallback,do_presets)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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- mailfold.o --- | ^ mailfold.c:225:22: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 225 | lockit(tstrdup(buf),&loclock); | ^ mailfold.c:225:14: warning: passing arguments to 'lockit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 225 | lockit(tstrdup(buf),&loclock); | ^ mailfold.c:228:15: warning: passing arguments to 'setlastfolder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 228 | setlastfolder(boxname); | ^ mailfold.c:229:10: warning: passing arguments to 'opena' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 229 | fd=opena(boxname); --- lmtp.o --- 622 | void lmtpresponse(retcode)int retcode; | ^ In file included from lmtp.c:23: ./lmtp.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | lmtpresponse P((int retcode)); | ^ lmtp.c:652:22: warning: passing arguments to 'readL' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 652 | { if(0>=(got=readL(p,left))) /* read mail */ | ^ lmtp.c:702:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 702 | tmemmove(overread=malloc(overlen),in,overlen); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' --- misc.o --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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:235:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 235 | return tmemmove(malloc(i),a,i); | ^ --- pipes.o --- pipes.c:174:27: warning: passing arguments to 'waitfor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 174 | if(pwait&&(excode=waitfor(pidfilt))!=EXIT_SUCCESS) | ^ pipes.c:182:20: warning: passing arguments to 'progerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 182 | perr: progerr(line,excode,pwait==4); /* I'm going to tell my mommy! */ | ^ pipes.c:186:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 186 | rclose(PWRB);exit(EXIT_SUCCESS); /* allow parent to proceed */ | ^ pipes.c:188:9: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- procmail.c:264:4: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 264 | free(rcpts);newid();gargv=&nullp; | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:267:18: warning: passing arguments to 'forkerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 267 | if(forkerr(pidchild,procmailn)) | ^ procmail.c:270:11: warning: passing arguments to 'waitfor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 270 | waitfor(pidchild); | ^ --- robust.o --- 162 | int rclose(fd)const int fd; /* a SysV secure close (signal immune) */ | ^ In file included from robust.c:14: ./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 C2x, 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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | rread P((const int fd,void*const a,const int len)), | ^ --- formail.o --- formail.c:324:37: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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] --- variables.o --- 13 | initdefenv Q((auth_identity*pass,const char*fallback,int do_presets)), | ^ variables.c:227:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 227 | int alphanum(c)const unsigned c; | ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | alphanum P((const unsigned c)); | ^ variables.c:247:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 247 | void setmaildir(newdir)const char*const newdir; /* destroys buf2 */ | ^ In file included from variables.c:25: --- mailfold.o --- | ^ mailfold.c:232:24: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 232 | { case ENOSPC:nlog("No space left to finish writing"),logqnl(buf); | ^ mailfold.c:232:66: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 232 | { case ENOSPC:nlog("No space left to finish writing"),logqnl(buf); | ^ mailfold.c:235:24: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 235 | case EDQUOT:nlog("Quota exceeded while writing"),logqnl(buf); | ^ --- lmtp.o --- 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ lmtp.c:719:22: warning: passing arguments to 'readL' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 719 | { if(0>=(got=readL(p,left))) /* read mail */ | ^ lmtp.c:758:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 758 | tmemmove(overread=malloc(overlen),in,overlen); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ lmtp.c:774:11: warning: passing arguments to 'read2blk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- misc.o --- ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ misc.c:232:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 240 | free(a); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ --- pipes.o --- 188 | rclose(PWRB);rclose(PWRI);getstdin(PRDI); | ^ pipes.c:188:22: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 188 | rclose(PWRB);rclose(PWRI);getstdin(PRDI); | ^ pipes.c:189:13: warning: passing arguments to 'forkerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 189 | if(forkerr(pidchild,procmailn)) | ^ pipes.c:193:46: warning: passing arguments to 'primeStdout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 193 | *eq='=';name=Stdout;Stdout=0;primeStdout(name);free(name); | ^ pipes.c:193:53: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- procmail.c:271:20: warning: passing arguments to 'lmtpresponse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 271 | lmtpresponse(lexitcode); | ^ procmail.c:273:19: warning: passing arguments to 'auth_freeid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 273 | auth_freeid(*currcpt++); | ^ procmail.c:275:5: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 275 | free(rcpts); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ --- 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 C2x [-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 C2x, 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 C2x [-Wdeprecated-non-prototype] 180 | void ssleep(seconds)const unsigned seconds; | ^ --- formail.o --- 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 416 | case HELPOPT1:case HELPOPT2:elog(fmusage);elog(FM_HELP); | ^ --- variables.o --- ./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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | setmaildir P((const char*const newdir)), | ^ variables.c:255:10: warning: passing arguments to 'setlfcs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 255 | setlfcs(folder); | ^ variables.c:257:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 257 | strcpy(chp=malloc(len),lastfolder); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ --- mailfold.o --- mailfold.c:235:63: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 235 | case EDQUOT:nlog("Quota exceeded while writing"),logqnl(buf); | ^ mailfold.c:238:24: warning: passing arguments to 'writeerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 238 | default:writeerr(buf); | ^ mailfold.c:241:12: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 241 | nlog("Truncated file to former size\n"); /* undo garbage */ | ^ --- lmtp.o --- 774 | read2blk(&themail,&filled,nliseol?&lmtp_read_nl:&lmtp_read_crnl, | ^ --- misc.o --- misc.c:238:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | *cstr P((char*const a,const char*const b)), | ^ 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) | ^ | ( ) --- pipes.o --- 193 | *eq='=';name=Stdout;Stdout=0;primeStdout(name);free(name); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ pipes.c:194:15: warning: passing arguments to 'makeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 194 | makeblock(&temp,Stdfilled); | ^ pipes.c:196:13: warning: passing arguments to 'readdyn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 196 | readdyn(&temp,&Stdfilled,Stdfilled+backlen+1); | ^ pipes.c:197:13: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 197 | Stdout=realloc(Stdout,Stdfilled+1); | ^ --- procmail.o --- procmail.c:281:10: warning: passing arguments to 'makeFrom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 281 | makeFrom(fromwhom,chp2); | ^ procmail.c:282:10: warning: passing arguments to 'readmail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 282 | readmail(0,0L); /* read in the mail completely */ | ^ procmail.c:286:17: warning: passing arguments to 'lockblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 286 | lockblock(&themail); | ^ procmail.c:293:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 293 | if(pidchild=sfork()) | ~~~~~~~~^~~~~~~~ --- 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 C2x, 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 C2x [-Wdeprecated-non-prototype] 190 | void doumask(mask)const mode_t mask; | ^ In file included from robust.c:14: ./robust.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | doumask Q((const mode_t mask)); | ^ --- formail.o --- formail.c:416:54: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-Wdeprecated-non-prototype] 417 | elog(FM_HELP2); /* had to split up FM_HELP, compiler limits */ | ^ formail.c:430:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 430 | { nlog("Couldn't open");logqnl(chp); | ^ --- variables.o --- variables.c:260:16: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 260 | sputenv(chp);free(chp); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ variables.c:253:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 253 | void setlastfolder(folder)const char*const folder; | ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | setlastfolder P((const char*const folder)), | ^ --- mailfold.o --- mailfold.c:246:11: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 246 | exlb: nlog(exceededlb);setoverflow(); | ^ mailfold.c:249:5: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 249 | free(linkfolder); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ mailfold.c:253:21: warning: passing arguments to 'skipFrom_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 253 | source=skipFrom_(source,&len); | ^ mailfold.c:260:23: warning: passing arguments to 'unique' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- misc.o --- 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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 288 | sendcomsat(0); | ^ --- pipes.o --- ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ pipes.c:199:15: warning: passing arguments to 'freeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 199 | freeblock(&temp); | ^ pipes.c:200:15: warning: passing arguments to 'retStdout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 200 | retStdout(Stdout,pwait&&pipw,!backblock); | ^ pipes.c:143:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 143 | int pipthrough(line,source,len)char*line,*source;const long len; | ^ In file included from pipes.c:18: --- procmail.o --- procmail.c:293:15: note: place parentheses around the assignment to silence this warning 293 | if(pidchild=sfork()) | ^ | ( ) procmail.c:293:15: note: use '==' to turn this assignment into an equality comparison 293 | if(pidchild=sfork()) | ^ | == procmail.c:294:17: warning: passing arguments to 'forkerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 294 | { if(forkerr(pidchild,procmailn)|| | ^ procmail.c:295:17: warning: passing arguments to 'waitfor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 295 | waitfor(pidchild)!=EXIT_SUCCESS) | ^ --- formail.o --- formail.c:430:34: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 430 | { nlog("Couldn't open");logqnl(chp); | ^ formail.c:445:28: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 445 | case FM_VERSION:elog(formailn);elog(VERSION); | ^ formail.c:445:43: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 445 | case FM_VERSION:elog(formailn);elog(VERSION); | ^ --- variables.o --- variables.c:266:26: warning: passing arguments to 'renvint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 266 | { if((forceret=renvint(-2L,p))>=0) /* yes, is it positive? */ | ^ variables.c:274:8: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 274 | ultstr(0,(unsigned long)retval,p+1);sputenv(buf2); | ^ variables.c:263:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 263 | int setexitcode(trapisset)int trapisset; | ^ In file included from variables.c:25: --- mailfold.o --- 260 | if(0>(fd=unique(buf,chp,linebuf,NORMperm,verbose,doFD|doMAILDIR))) | ^ mailfold.c:268:17: warning: passing arguments to 'rlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 268 | if(!rlink(buf,buf2,0)) | ^ mailfold.c:280:15: warning: passing arguments to 'setlastfolder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 280 | setlastfolder(buf2); | ^ mailfold.c:291:12: warning: passing arguments to 'unique' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 291 | if(!unique(buf2,chp2,linebuf,NORMperm,verbose,0)|| | ^ --- misc.o --- misc.c:290:17: warning: passing arguments to 'logabstract' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 296 | nextexit=2;unlock(&loclock);unlock(&globlock); | ^ --- pipes.o --- ./pipes.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | pipthrough P((char*line,char*source,const long len)); | ^ pipes.c:239:8: warning: passing arguments to 'rpipe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 239 | rpipe(poutfd); | ^ pipes.c:241:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 241 | rclose(PWRO),shutdesc(),getstdin(PRDO),callnewprog(line); | ^ pipes.c:242:9: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 242 | rclose(PRDO); | ^ --- procmail.o --- procmail.c:299:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 299 | else | ^ procmail.c:305:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 305 | while(chp=(char*)argv[argc]); | ~~~^~~~~~~~~~~~~~~~~~ procmail.c:305:14: note: place parentheses around the assignment to silence this warning 305 | while(chp=(char*)argv[argc]); | ^ | ( ) procmail.c:305:14: note: use '==' to turn this assignment into an equality comparison 305 | while(chp=(char*)argv[argc]); | ^ | == procmail.c:309:28: warning: passing arguments to 'auth_finduser' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- formail.o --- formail.c:450:16: warning: passing arguments to 'breakfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 450 | i=breakfield(chp,lnl=strlen(chp)); | ^ formail.c:468:18: warning: passing arguments to 'addfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 468 | afldp=addfield(lastm==FM_REN_INSERT?&iheader: | ^ formail.c:484:23: warning: passing arguments to 'breakfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 484 | if((i=breakfield(chp,(size_t)(namep-chp)))<0) /* partial */ | ^ formail.c:487:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 487 | else | ^ --- variables.o --- ./variables.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | setexitcode P((int trapisset)), | ^ variables.c:285:19: warning: passing arguments to 'ungetb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 285 | *chp='\0';ungetb(i); | ^ variables.c:287:10: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 287 | { nlog(exceededlb);setoverflow(); | ^ variables.c:280:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 280 | char*gobenv(chp,end)char*chp,*end; | ^ In file included from variables.c:25: --- mailfold.o --- mailfold.c:293:15: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 293 | nfail: { nlog("Couldn't create or rename temp file");logqnl(buf); | ^ mailfold.c:293:61: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 293 | nfail: { nlog("Couldn't create or rename temp file");logqnl(buf); | ^ mailfold.c:300:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 300 | free(linkfolder); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ --- misc.o --- misc.c:305:9: warning: passing arguments to 'ssleep' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 322 | qsignal(SIGHUP,sbounce);qsignal(SIGQUIT,slose); | ^ --- pipes.o --- pipes.c:243:13: warning: passing arguments to 'forkerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 243 | if(forkerr(pidchild,line)) | ^ pipes.c:244:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 244 | { rclose(PWRO); | ^ pipes.c:247:15: warning: passing arguments to 'dump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 247 | if((len=dump(PWRO,ft_PIPE,source,len))&&(!ignwerr||(len=0))) | ^ pipes.c:248:14: warning: passing arguments to 'writeerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 248 | writeerr(line); /* pipe was shut in our face, get mad */ | ^ --- procmail.o --- 309 | { if(!(pass=auth_finduser(chp2,-1))) /* chp2 is the recipient */ | ^ procmail.c:311:12: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 311 | nlog(unkuser);logqnl(chp2);syslog(LOG_ERR,slogstr,unkuser,chp2); | ^ procmail.c:311:28: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 311 | nlog(unkuser);logqnl(chp2);syslog(LOG_ERR,slogstr,unkuser,chp2); | ^ procmail.c:314:58: warning: passing arguments to 'auth_whatuid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 314 | dorcpt: if(enoughprivs(passinvk,euid,egid,auth_whatuid(pass), --- formail.o --- formail.c:493:23: warning: passing arguments to 'breakfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 493 | (!(i=breakfield(chp,strlen(chp)))&& /* fieldish? */ | ^ formail.c:496:22: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 496 | invfield: { nlog("Invalid field-name:");logqnl(chp?chp:""); | ^ formail.c:496:52: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 496 | invfield: { nlog("Invalid field-name:");logqnl(chp?chp:""); | ^ --- variables.o --- ./variables.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | *gobenv P((char*chp,char*end)); | ^ variables.c:300:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 300 | if(chp=strchr(src,'=')) /* is it an assignment? */ | ~~~^~~~~~~~~~~~~~~~ variables.c:300:9: note: place parentheses around the assignment to silence this warning 300 | if(chp=strchr(src,'=')) /* is it an assignment? */ | ^ | ( ) variables.c:300:9: note: use '==' to turn this assignment into an equality comparison 300 | if(chp=strchr(src,'=')) /* is it an assignment? */ | ^ | == --- mailfold.o --- mailfold.c:313:24: warning: passing arguments to 'foldertype' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 313 | switch(type=foldertype(0,1,&mode,0)) | ^ mailfold.c:327:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 327 | free(linkfolder); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ mailfold.c:194:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 194 | int writefolder(boxname,linkfolder,source,len,ignwerr,dolock) | ^ In file included from mailfold.c:29: --- misc.o --- misc.c:322:34: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 354 | bregcomp(expr,!casesens)),(const uchar*)source,(const uchar*)source, | ^ misc.c:353:34: warning: passing arguments to 'bregexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 353 | { source=(const char*)bregexec((struct eps*)(expr=(char*) --- pipes.o --- pipes.c:250:31: warning: passing arguments to 'waitfor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 250 | if(pwait&&(excode=waitfor(pidchild))!=EXIT_SUCCESS) | ^ pipes.c:252:12: warning: passing arguments to 'progerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 252 | progerr(line,excode,pwait&2); | ^ pipes.c:259:17: warning: passing arguments to 'concatenate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 259 | concatenate(line); | ^ pipes.c:261:19: warning: passing arguments to 'setlastfolder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 261 | setlastfolder(line); | ^ --- procmail.o --- | ^ procmail.c:315:18: warning: passing arguments to 'auth_whatgid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 315 | auth_whatgid(pass))) | ^ procmail.c:314:26: warning: passing arguments to 'enoughprivs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 314 | dorcpt: if(enoughprivs(passinvk,euid,egid,auth_whatuid(pass), | ^ procmail.c:317:9: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 317 | nlog(insufprivs); | ^ procmail.c:328:17: warning: passing arguments to 'setcomsat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- formail.o --- formail.c:500:8: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 500 | realloc(fldp,FLD_HEADSIZ+(fldp->Tot_len=lnl+i)); | ^ ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ formail.c:532:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 532 | tmemmove(ep=malloc(envlen+sizeof*environ),environ,envlen); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ formail.c:547:15: warning: passing arguments to 'startprog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- variables.o --- variables.c:309:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 309 | nlog("Assignment to variable with excessively long name skipped\n"); | ^ variables.c:314:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 314 | if(chp=eputenv(chp,src)) | ~~~^~~~~~~~~~~~~~~~~ variables.c:314:8: note: place parentheses around the assignment to silence this warning 314 | if(chp=eputenv(chp,src)) | ^ | ( ) variables.c:314:8: note: use '==' to turn this assignment into an equality comparison 314 | if(chp=eputenv(chp,src)) | ^ | == --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | writefolder P((char*boxname,char*linkfolder,const char*source,long len, | ^ mailfold.c:337:12: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 337 | if(eqFrom_(chp=themail.p)) /* any "From " header */ | ^ mailfold.c:338:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 338 | { if(chp=strchr(themail.p,'\n')) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ mailfold.c:338:11: note: place parentheses around the assignment to silence this warning 338 | { if(chp=strchr(themail.p,'\n')) | ^ --- misc.o --- | ^ misc.c:356:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | *egrepin P((char*expr,const char*source,const long len,int casesens)); | ^ --- pipes.o --- pipes.c:206:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 206 | long pipin(line,source,len,asgnlastf)char*const line;char*source;long len; | ^ In file included from pipes.c:18: ./pipes.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | pipin P((char*const line,char*source,long len,int asgnlastf)); | ^ pipes.c:268:22: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 268 | if(0>=(got=rread(STDIN,p,left))) /* read mail */ | ^ --- procmail.o --- 328 | setcomsat(DEFcomsat); /* the internal flag */ | ^ procmail.c:330:10: warning: passing arguments to 'setdef' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 330 | setdef(scomsat,DEFcomsat); | ^ procmail.c:334:15: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 334 | { nlog("Missing rcfile\n"); | ^ procmail.c:372:22: warning: passing arguments to 'enoughprivs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 372 | !enoughprivs(passinvk,euid,egid,stbuf.st_uid, | ^ --- formail.o --- 547 | startprog((const char*Const*)argv); | ^ formail.c:555:10: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 555 | { elog(fmusage); /* impossible mix */ | ^ formail.c:563:7: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 563 | buf=malloc(buflen=Bsize);Totallen=0;i=maxindex(rex); /* prime some buffers */ | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ formail.c:564:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 564 | do rex[i].rexp=malloc(1); | ^ --- variables.o --- variables.c:316:10: warning: passing arguments to 'asenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 316 | asenv(chp); | ^ variables.c:298:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 298 | int asenvcpy(src)char*src; | ^ In file included from variables.c:25: ./variables.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | asenvcpy P((char*src)), | ^ variables.c:328:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 328 | free(buf2); | ^ ./shell.h:8:23: note: expanded from macro 'free' --- mailfold.o --- | ( ) mailfold.c:338:11: note: use '==' to turn this assignment into an equality comparison 338 | { if(chp=strchr(themail.p,'\n')) | ^ | == mailfold.c:342:9: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 342 | elog(themail.p);elog(newline);*chp='\n'; /* (any length) */ | ^ mailfold.c:342:25: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 342 | elog(themail.p);elog(newline);*chp='\n'; /* (any length) */ | ^ mailfold.c:346:15: warning: passing arguments to 'egrepin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- misc.o --- 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 C2x [-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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | enoughprivs Q((const auth_identity*const passinvk,const uid_t euid, | ^ --- pipes.o --- pipes.c:265:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 265 | static char*read_read(p,left,data)char*p;long left;void*data; | ^ pipes.c:280:13: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 280 | if(1==rread(STDIN,buf,1)) /* backup pipe closed? */ | ^ pipes.c:281:16: warning: passing arguments to 'resizeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 281 | { resizeblock(mb,oldfilled,0); | ^ pipes.c:289:14: warning: passing arguments to 'waitfor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- procmail.c:379:14: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 379 | nlog(densppr);logqnl(rcfile); | ^ procmail.c:379:30: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 379 | nlog(densppr);logqnl(rcfile); | ^ procmail.c:391:39: warning: passing arguments to 'auth_finduser' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 391 | { auth_identity*idpass=auth_finduser((char*)idhint,0); | ^ --- formail.o --- ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ formail.c:566:19: warning: passing arguments to 'addfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 566 | fdate=0;addfield(&fdate,date,STRLEN(date)); /* fdate is only for searching */ | ^ formail.c:567:24: warning: passing arguments to 'addfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 567 | fcntlength=0;addfield(&fcntlength,cntlength,STRLEN(cntlength)); /* ditto */ | ^ formail.c:568:20: warning: passing arguments to 'addfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 568 | fFrom_=0;addfield(&fFrom_,From_,STRLEN(From_)); | ^ --- variables.o --- 8 | #define free(p) tfree(p) | ^ variables.c:329:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 329 | free(p); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ variables.c:331:7: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 331 | buf=malloc(lineb+XTRAlinebuf);buf2=malloc(lineb+XTRAlinebuf); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ variables.c:331:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- mailfold.o --- 346 | (chp=egrepin(NSUBJECT,chp,(long)(thebody-chp),0))) | ^ mailfold.c:351:60: warning: passing arguments to 'detab' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 351 | ((char*)tmemmove(buf,chp2,subjlen))[subjlen]='\0';detab(buf); | ^ mailfold.c:352:9: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 352 | elog(" ");elog(buf);elog(newline); | ^ mailfold.c:352:19: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 352 | elog(" ");elog(buf);elog(newline); | ^ --- misc.o --- misc.c:371:8: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 371 | curr=malloc(ioffsetof(struct dynstring,ename[0])+(len=strlen(chp)+1)); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ misc.c:368:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | *newdynstring P((struct dynstring**const adrp,const char*const chp)); | ^ --- pipes.o --- 289 | pipw=waitfor(pidchild); /* reap your child in any case */ | ^ pipes.c:274:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 274 | static int read_cleanup(mb,filledp,origfilled,data)memblk*mb; | ^ pipes.c:296:18: warning: passing arguments to 'read2blk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 296 | { return read2blk(mb,filled,&read_read,&read_cleanup,&oldfilled); | ^ pipes.c:295:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 295 | char*readdyn(mb,filled,oldfilled)memblk*const mb;long*const filled,oldfilled; | ^ In file included from pipes.c:18: --- procmail.o --- procmail.c:393:23: warning: passing arguments to 'auth_whatuid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 393 | { if(auth_whatuid(passinvk)==auth_whatuid(idpass)) | ^ procmail.c:393:47: warning: passing arguments to 'auth_whatuid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 393 | { if(auth_whatuid(passinvk)==auth_whatuid(idpass)) | ^ procmail.c:398:28: warning: passing arguments to 'auth_whatgid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 398 | Setuser: { gid=auth_whatgid(pass);uid=auth_whatuid(pass); | ^ --- formail.o --- formail.c:569:22: warning: passing arguments to 'addfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 569 | fsubject=0;addfield(&fsubject,subject,STRLEN(subject)); /* likewise */ | ^ formail.c:575:15: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 575 | !findf(fcntlength,&Xheader)); /* getting Content-Length: */ | ^ formail.c:577:14: warning: passing arguments to 'addfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 577 | addfield(&iheader,xloop,STRLEN(xloop)); /* preserve X-Loop: fields */ | ^ --- variables.o --- 331 | buf=malloc(lineb+XTRAlinebuf);buf2=malloc(lineb+XTRAlinebuf); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ variables.c:335:12: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 335 | ultstr(0,lineb,chp+1); | ^ variables.c:324:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 324 | void allocbuffers(lineb,setenv)size_t lineb;int setenv; | ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- mailfold.o --- mailfold.c:352:29: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 352 | elog(" ");elog(buf);elog(newline); | ^ mailfold.c:355:10: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 355 | elog(sfolder);strlcpy(buf,lstfolder,MAXfoldlen);detab(buf);elog(buf); | ^ mailfold.c:355:59: warning: passing arguments to 'detab' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 355 | elog(sfolder);strlcpy(buf,lstfolder,MAXfoldlen);detab(buf);elog(buf); | ^ --- misc.o --- misc.c:379:24: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 379 | sp->vals=sp->vals?realloc(sp->vals,len):malloc(len); /* expand */ | ^ ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ misc.c:379:46: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 379 | sp->vals=sp->vals?realloc(sp->vals,len):malloc(len); /* expand */ | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ --- pipes.o --- ./pipes.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | *readdyn P((struct memblk*const mb,long*const filled,long oldfilled)), | ^ pipes.c:301:9: warning: passing arguments to 'concon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 301 | concon('\n');rpipe(pinfd);inittmout(name); | ^ pipes.c:301:21: warning: passing arguments to 'rpipe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 301 | concon('\n');rpipe(pinfd);inittmout(name); | ^ pipes.c:303:37: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- procmail.c:398:51: warning: passing arguments to 'auth_whatuid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 398 | Setuser: { gid=auth_whatgid(pass);uid=auth_whatuid(pass); | ^ procmail.c:399:49: warning: passing arguments to 'auth_username' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 399 | if(euid==ROOT_uid&&(chp=(char*)auth_username(pass))&&*chp) | ^ procmail.c:405:12: warning: passing arguments to 'initdefenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 405 | initdefenv(pass,buf,!presenviron||!mailfilter); /* override */ | ^ --- formail.o --- formail.c:601:24: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 601 | eqFrom_(tmp2=skpspace(tmp+STRLEN(mailfrom)))) | ^ formail.c:601:10: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 601 | eqFrom_(tmp2=skpspace(tmp+STRLEN(mailfrom)))) | ^ formail.c:609:17: warning: passing arguments to 'clear_uhead' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 609 | clear_uhead(uheader);clear_uhead(Uheader); | ^ formail.c:609:38: warning: passing arguments to 'clear_uhead' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- variables.o --- 17 | allocbuffers Q((size_t lineb,int setenv)), | ^ variables.c:340:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 340 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static void asenvtext P((const char*const chp)); /* needed by retStdout */ | ^ variables.c:354:23: warning: passing arguments to 'renvint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 354 | if((lineb=renvint(0L,chp))fld_text); | ^ formail.c:618:5: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 618 | realloc(fldp,FLD_HEADSIZ+(i=fldp->Tot_len++)+1))->fld_text; | ^ ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ formail.c:622:33: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- variables.o --- variables.c:360:15: warning: passing arguments to 'chderr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 360 | { chderr(chp); | ^ variables.c:367:12: warning: passing arguments to 'opnlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 367 | opnlog(chp); | ^ variables.c:369:10: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 369 | elog(chp); | ^ variables.c:373:13: warning: passing arguments to 'setlgcs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 373 | setlgcs(chp); | ^ --- mailfold.o --- 359 | ultstr(7,lastdump,buf);elog(buf);elog(newline); | ^ mailfold.c:359:43: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 359 | ultstr(7,lastdump,buf);elog(buf);elog(newline); | ^ mailfold.c:332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 332 | void logabstract(lstfolder)const char*const lstfolder; | ^ In file included from mailfold.c:29: ./mailfold.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | logabstract P((const char*const lstfolder)), | ^ --- misc.o --- misc.c:422:16: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] --- pipes.o --- | ^ pipes.c:305:19: warning: passing arguments to 'rdup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 305 | rclose(PWRO),rdup(PWRI),rclose(PWRI),getstdin(PRDO),callnewprog(name); | ^ pipes.c:305:32: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 305 | rclose(PWRO),rdup(PWRI),rclose(PWRI),getstdin(PRDO),callnewprog(name); | ^ pipes.c:306:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 306 | rclose(PWRI);rclose(PRDO); | ^ pipes.c:306:25: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- 416 | chp=(char*)tgetenv(orgmail); | ^ procmail.c:417:35: warning: passing arguments to 'screenmailbox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 417 | if(mailfilter||!screenmailbox(chp,egid,Deliverymode)) | ^ procmail.c:419:16: warning: passing arguments to 'sputenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 419 | { sputenv(orgmail); /* nix delivering to system mailbox */ | ^ procmail.c:423:5: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 423 | free((char*)fdefault),fdefault=empty; /* so panic */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) --- formail.o --- 622 | { *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:621:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 621 | else if(fldp->Tot_len<=j+2) | ^ formail.c:627:16: warning: passing arguments to 'concatenate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 627 | concatenate(fldp); /* save fields for later perusal */ | ^ formail.c:633:26: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 633 | { tmemmove(rex[i].rexp=realloc(rex[i].rexp,(rex[i].rexl=j)+1),chp,j); | ^ --- variables.o --- variables.c:375:13: warning: passing arguments to 'setlfcs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 375 | setlfcs(chp); | ^ variables.c:377:19: warning: passing arguments to 'setcomsat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 377 | { if(!setcomsat(chp)) | ^ variables.c:382:19: warning: passing arguments to 'renvint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 382 | if((i=renvint(0L,chp))>0) | ^ variables.c:389:16: warning: passing arguments to 'renvint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 389 | { if(renvint(0L,chp)) | ^ --- mailfold.o --- mailfold.c:365:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 365 | void concon(ch)const int ch; /* flip between concatenated and split fields */ | ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | concon P((const int ch)), | ^ mailfold.c:374:15: warning: parameter 'rhead' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 374 | void readmail(rhead,tobesent)const long tobesent; | ^ 375 | { char*chp,*pastend;static size_t contlengthoffset; --- misc.o --- 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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 465 | chp2=skpspace(chp3); | ^ --- pipes.o --- 306 | rclose(PWRI);rclose(PRDO); | ^ pipes.c:307:16: warning: passing arguments to 'forkerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 307 | if(forkerr(pidfilt,name)) | ^ pipes.c:308:8: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 308 | rclose(PWRO),stermchild(); | ^ pipes.c:309:10: warning: passing arguments to 'dump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 309 | dump(PWRO,ft_PIPE,themail.p,filled);waitfor(pidfilt);exit(lexitcode); | ^ pipes.c:309:49: warning: passing arguments to 'waitfor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- | ^ procmail.c:426:10: warning: passing arguments to 'doumask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 426 | doumask(INIT_UMASK); | ^ procmail.c:427:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 427 | while(chp=(char*)argv[argc]) /* interpret command line specs first */ | ~~~^~~~~~~~~~~~~~~~~~ procmail.c:427:12: note: place parentheses around the assignment to silence this warning 427 | while(chp=(char*)argv[argc]) /* interpret command line specs first */ | ^ | ( ) procmail.c:427:12: note: use '==' to turn this assignment into an equality comparison 427 | while(chp=(char*)argv[argc]) /* interpret command line specs first */ | ^ | == --- formail.o --- ./shell.h:7:30: note: expanded from macro 'realloc' 7 | #define realloc(p,n) trealloc(p,(size_t)(n)) | ^ formail.c:641:33: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 641 | if(!forgetclen&&(fldp=findf(fcntlength,&rdheader))) | ^ formail.c:646:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 646 | tmemmove(parkedbuf=malloc(buffilled),buf,lenparkedbuf=buffilled); | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ formail.c:650:19: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- variables.o --- variables.c:391:9: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 391 | nlog("Assuming identity of the recipient, VERBOSE=off\n"); | ^ variables.c:396:16: warning: passing arguments to 'renvint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 396 | { if(renvint(0L,chp)) /* is it really? */ | ^ variables.c:400:13: warning: passing arguments to 'forkerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 400 | if(!forkerr(thepid,procmailn)) | ^ variables.c:406:24: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- mailfold.o --- mailfold.c:381:30: warning: passing arguments to 'makeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 381 | dfilled=mailread=0;makeblock(&new,0); | ^ mailfold.c:382:9: warning: passing arguments to 'readdyn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 382 | readdyn(&new,&dfilled,thebody-themail.p); | ^ mailfold.c:386:16: warning: passing arguments to 'resizeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 386 | resizeblock(&themail,filled+=dfilled,1); | ^ mailfold.c:387:14: warning: passing arguments to 'freeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 387 | freeblock(&new); --- misc.o --- misc.c:473:16: warning: passing arguments to 'alphanum' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] --- pipes.o --- 309 | dump(PWRO,ft_PIPE,themail.p,filled);waitfor(pidfilt);exit(lexitcode); | ^ pipes.c:311:9: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 311 | rclose(PWRI);p=dest; | ^ pipes.c:312:14: warning: passing arguments to 'forkerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 312 | if(!forkerr(pidchild,name)) | ^ pipes.c:313:18: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 313 | { name=tstrdup(name); | ^ pipes.c:314:22: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- procmail.c:429:18: warning: passing arguments to 'asenvcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 429 | if(!asenvcpy(chp)&&mailfilter) | ^ procmail.c:436:17: warning: passing arguments to 'bopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 436 | { if(0<=bopen(etcrc)) | ^ procmail.c:437:13: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 437 | { yell(drcfile,etcrc); | ^ procmail.c:442:9: warning: passing arguments to 'eputenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 442 | eputenv(defspath,buf); /* use the secure PATH */ | ^ --- formail.o --- 650 | if(!(fp2=findf(fldp,&iheader))||fp2->id_lenTot_len-1) | ^ formail.c:651:30: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 651 | *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:654:9: warning: passing arguments to 'loadbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 654 | loadbuf(To,STRLEN(To));loadchar(' '); /* generate the To: field */ | ^ formail.c:654:33: warning: passing arguments to 'loadchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- variables.o --- 406 | { if(!lockit(tstrdup((char*)chp),&globlock)) | ^ variables.c:406:16: warning: passing arguments to 'lockit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 406 | { if(!lockit(tstrdup((char*)chp),&globlock)) | ^ variables.c:410:13: warning: passing arguments to 'doumask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 410 | doumask((mode_t)strtol(chp,(char**)0,8)); | ^ variables.c:413:8: warning: passing arguments to 'pushrc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 413 | pushrc(chp); /* inside rcfiles */ | ^ --- mailfold.o --- | ^ mailfold.c:390:16: warning: passing arguments to 'resizeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 390 | { resizeblock(&new,filled-tobesent+dfilled,0); | ^ mailfold.c:392:14: warning: passing arguments to 'freeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 392 | freeblock(&themail); --- recommend --- ================================================================ =============== --- bins --- | ^ mailfold.c:403:14: warning: passing arguments to 'makeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 403 | makeblock(&new,filled); | ^ mailfold.c:406:14: warning: passing arguments to 'freeblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 406 | freeblock(&themail); --- misc.o --- 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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 531 | re=bregcomp(chp,igncase);chp=lstartchar; | ^ --- pipes.o --- 314 | while(0<(i=rread(PRDI,p,(int)max))&&(p+=i,max-=i)); /* read its lips */ | ^ pipes.c:315:16: warning: passing arguments to 'rread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 315 | if(0rexp),Re,STRLEN(Re))) /* Re: */ | ^ formail.c:662:55: warning: sizeof on pointer operation will return size of 'char *' instead of 'char[5]' [-Wsizeof-array-decay] 662 | if(strncasecmp(skpspace(chp=subj->rexp),Re,STRLEN(Re))) /* Re: */ | ^~ ./formail.h:8:16: note: expanded from macro 'Re' 8 | #define Re (re+1) | ~~^ --- variables.o --- ./variables.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | asenv P((const char*const chp)), | ^ variables.c:438:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 438 | long renvint(i,env)const long i;const char*const env; | ^ In file included from variables.c:25: ./variables.h:27:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | renvint P((const long i,const char*const env)); | ^ --- mailfold.o --- mailfold.c:418:27: warning: passing arguments to 'app_val_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 418 | { case '\t':case ' ':app_vall(confield,(long)(thebody-1-themail.p)); | ^ ./misc.h:10:26: note: expanded from macro 'app_vall' 10 | #define app_vall(sp,val) app_val_type(sp,long,long,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)) | ^ mailfold.c:428:17: warning: passing arguments to 'egrepin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 428 | (chp=egrepin("^Content-Length:",themail.p, | ^ --- misc.o --- misc.c:570:17: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] --- pipes.o --- | ^ pipes.c:299:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 299 | char*fromprog(name,dest,max)char*name;char*const dest;size_t max; | ^ In file included from pipes.c:18: ./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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | *fromprog Q((char*name,char*const dest,size_t max)); | ^ pipes.c:333:23: warning: passing arguments to 'setexitcode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 333 | forceret=setexitcode(*tp); /* whether TRAP is set matters */ | ^ --- procmail.o --- procmail.c:500:17: warning: passing arguments to 'allocbuffers' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 500 | allocbuffers(linebuf=len,1); /* to perform the lock & delivery */ | ^ procmail.c:501:16: warning: passing arguments to 'writefolder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 501 | if(writefolder(chp,(char*)0,themail.p,filled,0,1)) /* default */ | ^ procmail.c:504:40: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 504 | if(!succeed&&*(chp2=(char*)tgetenv(orgmail))&&strcmp(chp2,chp)) | ^ --- formail.o --- ./includes.h:547:27: note: expanded from macro 'STRLEN' 547 | #define STRLEN(x) (sizeof(x)-1) | ^ formail.c:663:15: warning: passing arguments to 'loadbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 663 | loadbuf(re,STRLEN(re)); /* no Re: , add one ourselves */ | ^ formail.c:664:14: warning: passing arguments to 'loadsaved' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 664 | loadsaved(subj);addbuf(); | ^ formail.c:667:12: warning: passing arguments to 'loadbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 667 | { loadbuf(references,STRLEN(references)); /* yes insert References: */ | ^ --- mailfold.o --- mailfold.c:456:12: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 456 | ultstr(places,cntlen,num); /* our preferred size */ | ^ mailfold.c:374:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 374 | void readmail(rhead,tobesent)const long tobesent; | ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | readmail P((int rhead,const long tobesent)); | ^ --- misc.o --- 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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 594 | if(readparse(buf,sgetc,2,0)&&(i=0,1)) | ^ --- pipes.o --- pipes.c:337:15: warning: passing arguments to 'metaparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 337 | metaparse(tp);concon('\n'); /* expand $TRAP */ | ^ pipes.c:337:26: warning: passing arguments to 'concon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 337 | metaparse(tp);concon('\n'); /* expand $TRAP */ | ^ pipes.c:338:11: warning: passing arguments to 'rpipe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 338 | rpipe(poutfd);inittmout(buf); | ^ pipes.c:340:15: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- procmail.c:506:16: warning: passing arguments to 'writefolder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 506 | if(writefolder(chp2,(char*)0,themail.p,filled,0,0)) /* don't panic */ | ^ procmail.c:512:9: warning: passing arguments to 'unlock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 512 | unlock(&loclock);Terminate(); | ^ procmail.c:97:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 97 | int main(argc,argv)int argc;const char*const argv[]; | ^ procmail.c:516:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 516 | { elog(procmailn);elog(Version); | ^ --- formail.o --- formail.c:671:17: warning: passing arguments to 'loadsaved' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 671 | loadsaved(refr); | ^ formail.c:674:17: warning: passing arguments to 'loadsaved' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 674 | loadsaved(msid); /* here's our missing newline */ | ^ formail.c:678:12: warning: passing arguments to 'loadbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 678 | loadbuf(inreplyto,STRLEN(inreplyto)),loadsaved(msid),addbuf(); | ^ formail.c:678:51: warning: passing arguments to 'loadsaved' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- misc.o --- misc.c:599:21: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] --- pipes.o --- 340 | { rclose(PWRO);getstdin(PRDO);rclose(STDOUT);rdup(STDERR); | ^ pipes.c:340:43: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 340 | { rclose(PWRO);getstdin(PRDO);rclose(STDOUT);rdup(STDERR); | ^ pipes.c:340:56: warning: passing arguments to 'rdup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 340 | { rclose(PWRO);getstdin(PRDO);rclose(STDOUT);rdup(STDERR); | ^ pipes.c:343:12: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 343 | rclose(PRDO); /* neat & clean */ | ^ --- procmail.o --- procmail.c:516:23: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 516 | { elog(procmailn);elog(Version); | ^ procmail.c:517:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 517 | elog("\nLocking strategies:\tdotlocking"); | ^ procmail.c:522:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 522 | elog(", lockf()"); | ^ procmail.c:527:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 527 | elog("\nDefault rcfile:\t\t");elog(pmrc); | ^ --- formail.o --- 678 | loadbuf(inreplyto,STRLEN(inreplyto)),loadsaved(msid),addbuf(); | ^ formail.c:682:27: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 682 | (!rdheader||!eqFrom_(rdheader->fld_text))&& /* is it missing? */ | ^ formail.c:683:19: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 683 | ((fldp=findf(fFrom_,&aheader))&&STRLEN(From_)+1>=fldp->Tot_len|| | ^ formail.c:685:14: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 685 | !findf(fFrom_,&iheader)&& /* and From_ is not being */ --- misc.o --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | conditions P((char flags[],const int prevcond,const int lastsucc, | ^ --- pipes.o --- pipes.c:344:17: warning: passing arguments to 'forkerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 344 | if(!forkerr(pidchild,buf)) | ^ pipes.c:346:6: warning: passing arguments to 'dump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 346 | dump(PWRO,ft_PIPE,themail.p,filled); /* try and shove down the mail */ | ^ pipes.c:347:20: warning: passing arguments to 'waitfor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 347 | if((newret=waitfor(pidchild))!=EXIT_SUCCESS&&forceret==-2) | ^ pipes.c:352:8: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 352 | rclose(PWRO); | ^ --- procmail.o --- procmail.c:527:37: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 527 | elog("\nDefault rcfile:\t\t");elog(pmrc); | ^ procmail.c:531:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 531 | elog("\nYour system mailbox:\t"); | ^ procmail.c:532:37: warning: passing arguments to 'auth_finduid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 532 | elog(auth_mailboxname(auth_finduid(getuid(),0))); | ^ procmail.c:532:24: warning: passing arguments to 'auth_mailboxname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 532 | elog(auth_mailboxname(auth_finduid(getuid(),0))); --- formail.o --- | ^ formail.c:686:14: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 686 | !findf(fFrom_,&Iheader)&& /* supressed */ | ^ formail.c:687:14: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 687 | !findf(fFrom_,&Rheader))) | ^ formail.c:690:9: warning: passing arguments to 'loadbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 690 | loadbuf(From_,STRLEN(From_)); | ^ formail.c:692:12: warning: passing arguments to 'loadbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 692 | loadbuf(namep,strlen(namep)); --- pipes.o --- pipes.c:331:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 331 | void exectrap(tp)const char*const tp; | ^ In file included from pipes.c:18: ./pipes.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | exectrap P((const char*const tp)); | ^ --- procmail.o --- | ^ procmail.c:532:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 532 | elog(auth_mailboxname(auth_finduid(getuid(),0))); | ^ procmail.c:533:7: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 533 | elog(newline); | ^ procmail.c:552:13: warning: passing arguments to 'bopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 552 | if(0>bopen(buf)) /* try opening the rcfile */ | ^ procmail.c:554:14: warning: passing arguments to 'readerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 554 | rerr: readerr(buf); | ^ --- formail.o --- | ^ formail.c:694:12: warning: passing arguments to 'loadbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 694 | loadbuf(unknown,STRLEN(unknown)); | ^ formail.c:695:10: warning: passing arguments to 'loadchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 695 | loadchar(' '); /* insert one extra blank */ | ^ formail.c:696:25: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 696 | if(!hdate->rexl||!findf(fdate,&aheader)) /* Date: */ | ^ --- procmail.o --- procmail.c:560:16: warning: passing arguments to 'bopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 560 | if(0>bopen(buf)) /* and try again */ | ^ procmail.c:570:20: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 570 | closerc();nlog(susprcf);logqnl(buf); | ^ procmail.c:570:36: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 570 | closerc();nlog(susprcf);logqnl(buf); | ^ procmail.c:578:12: warning: passing arguments to 'setmaildir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 578 | setmaildir(curdir); --- formail.o --- formail.c:697:13: warning: passing arguments to 'loadchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 697 | loadchar(' '),chp=ctime(&t),loadbuf(chp,strlen(chp)); /* no Date: */ | ^ formail.c:697:40: warning: passing arguments to 'loadbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 697 | loadchar(' '),chp=ctime(&t),loadbuf(chp,strlen(chp)); /* no Date: */ | ^ formail.c:699:14: warning: passing arguments to 'loadsaved' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 699 | loadsaved(hdate); /* yes, found Date:, then copy from it */ | ^ --- procmail.o --- | ^ procmail.c:588:34: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 588 | { register char*chp=lastdirsep(buf),c; | ^ procmail.c:609:7: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 609 | yell(drcfile,buf); | ^ procmail.c:615:18: warning: passing arguments to 'buildpath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 615 | if(buildpath(maildir,defmaildir,(char*)0)) | ^ procmail.c:618:15: warning: passing arguments to 'chderr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 618 | { chderr(buf); /* no, well, then try an initial chdir */ --- formail.o --- formail.c:703:11: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 703 | if(!findf(fldp,&rdheader)) /* only add what didn't exist */ | ^ formail.c:713:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 713 | p=chp=malloc(fldp->id_len+2+((sizeof h1*8+5)/6+1)*4+ | ^ ./shell.h:6:26: note: expanded from macro 'malloc' 6 | #define malloc(n) tmalloc((size_t)(n)) | ^ formail.c:716:27: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 716 | *++p='<';*(p=ultoan(h3,p+1))='.';*(p=ultoan(h4,p+1))='.'; | ^ --- procmail.o --- | ^ procmail.c:619:13: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 619 | chp=tgetenv(home); | ^ procmail.c:621:11: warning: passing arguments to 'chderr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 621 | chderr(chp),chp=curdir; /* that didn't work, use "." */ | ^ procmail.c:623:16: warning: passing arguments to 'setmaildir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 623 | setmaildir(chp); | ^ procmail.c:546:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 546 | static int tryopen(delay_setid,rctype,dowarning) | ^ --- formail.o --- formail.c:716:51: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 716 | *++p='<';*(p=ultoan(h3,p+1))='.';*(p=ultoan(h4,p+1))='.'; | ^ formail.c:717:18: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 717 | *(p=ultoan(h2,p+1))='.';*(p=ultoan(h1,p+1))='@';strcpy(p+1,name); | ^ formail.c:717:42: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 717 | *(p=ultoan(h2,p+1))='.';*(p=ultoan(h1,p+1))='@';strcpy(p+1,name); | ^ --- procmail.o --- procmail.c:94:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | tryopen P((const int delay_setid,const int rctype,const int dowarning)), | ^ procmail.c:633:12: warning: passing arguments to 'unlock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 633 | { unlock(&loclock); /* unlock any local lockfile */ | ^ procmail.c:638:13: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 638 | while(testB('\n')); | ^ procmail.c:640:17: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- formail.o --- formail.c:718:50: warning: passing arguments to 'addfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 718 | *(p=strchr(p,'\0'))='>';*++p='\n';addfield(&nheader,chp,p-chp+1); | ^ formail.c:719:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 719 | free(chp);h4++; /* put it in */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ formail.c:722:16: warning: passing arguments to 'addfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 722 | addfield(&nheader,fldp->fld_text,fldp->Tot_len); | ^ --- procmail.o --- 640 | while(testB('#')); /* no comment :-) */ | ^ procmail.c:641:14: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 641 | if(testB(':')) /* check for a recipe */ | ^ procmail.c:646:17: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 646 | if(readparse(buf,getb,0,skiprc)) | ^ procmail.c:654:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 654 | free(tolock); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ --- formail.o --- formail.c:721:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 721 | else | ^ formail.c:724:19: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 724 | { if(eqFrom_(rdheader->fld_text)) | ^ formail.c:725:5: warning: passing arguments to 'tputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 725 | putssn(rdheader->fld_text,rdheader->Tot_len); | ^ ./formail.h:9:28: note: expanded from macro 'putssn' 9 | #define putssn(a,l) tputssn(a,(size_t)(l)) | ^ formail.c:726:15: warning: passing arguments to 'findf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 726 | if(fldp=findf(fsubject,&rdheader)) --- procmail.o --- procmail.c:658:20: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 658 | { chp=skpspace(chp); | ^ procmail.c:674:24: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 674 | tolock=tstrdup(chp),chp=strchr(chp,'\0')+1; | ^ procmail.c:676:19: warning: passing arguments to 'concatenate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 676 | concatenate(chp);skipped(chp); /* display leftovers */ | ^ procmail.c:676:32: warning: passing arguments to 'skipped' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- formail.o --- | ^ formail.c:726:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 726 | if(fldp=findf(fsubject,&rdheader)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ formail.c:726:9: note: place parentheses around the assignment to silence this warning 726 | if(fldp=findf(fsubject,&rdheader)) | ^ | ( ) formail.c:726:9: note: use '==' to turn this assignment into an equality comparison 726 | if(fldp=findf(fsubject,&rdheader)) | ^ | == formail.c:727:16: warning: passing arguments to 'concatenate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 727 | { concatenate(fldp);(chp=fldp->fld_text)[i=fldp->Tot_len-1]='\0'; | ^ --- procmail.o --- 676 | concatenate(chp);skipped(chp); /* display leftovers */ | ^ procmail.c:679:17: warning: passing arguments to 'conditions' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 679 | i=conditions(flags,prevcond,lastsucc,lastcond,skiprc!=0,nrcond); | ^ procmail.c:699:27: warning: passing arguments to 'concon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 699 | zombiecollect(),concon('\n'); | ^ procmail.c:700:17: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 700 | progrm: if(testB('!')) /* forward the mail */ | ^ --- formail.o --- formail.c:728:10: warning: passing arguments to 'detab' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 728 | detab(chp);putcs(' '); | ^ formail.c:729:5: warning: passing arguments to 'tputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 729 | putssn(chp,i>=MAXSUBJECTSHOW?MAXSUBJECTSHOW:i);putcs('\n'); | ^ ./formail.h:9:28: note: expanded from macro 'putssn' 9 | #define putssn(a,l) tputssn(a,(size_t)(l)) | ^ formail.c:732:53: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 732 | tmemmove(buf,parkedbuf,buffilled=lenparkedbuf);free(parkedbuf); | ^ ./shell.h:8:23: note: expanded from macro 'free' --- procmail.o --- procmail.c:708:26: warning: passing arguments to 'simplesplit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 708 | if(!(q=simplesplit(chp+1,flagsendmail,buf+linebuf-1,&got))) | ^ procmail.c:712:17: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 712 | if(readparse(chp+1,getb,0,skiprc)) | ^ procmail.c:717:30: warning: passing arguments to 'skipFrom_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 717 | startchar=(char*)skipFrom_(startchar,&tobesent); | ^ --- formail.o --- 8 | #define free(p) tfree(p) | ^ formail.c:734:13: warning: passing arguments to 'flushfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 734 | flushfield(&rdheader);flushfield(&nheader);dispfield(Aheader); | ^ formail.c:734:35: warning: passing arguments to 'flushfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 734 | flushfield(&rdheader);flushfield(&nheader);dispfield(Aheader); | ^ formail.c:734:55: warning: passing arguments to 'dispfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 734 | flushfield(&rdheader);flushfield(&nheader);dispfield(Aheader); | ^ --- procmail.o --- procmail.c:723:15: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 723 | else if(testB('|')) /* pipe the mail */ | ^ procmail.c:725:16: warning: passing arguments to 'getlline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 725 | if(getlline(chp,buf2+linebuf)) /* get the command to start */ | ^ procmail.c:728:17: warning: passing arguments to 'metaparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 728 | { metaparse(buf2); | ^ procmail.c:736:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 736 | for(chp=buf;i= *chp++;) --- formail.o --- formail.c:735:12: warning: passing arguments to 'dispfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 735 | dispfield(iheader);dispfield(Iheader); | ^ formail.c:735:31: warning: passing arguments to 'dispfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 735 | dispfield(iheader);dispfield(Iheader); | ^ formail.c:737:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 737 | free(namep); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ formail.c:739:12: warning: passing arguments to 'lputcs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- | ~^~~~~~~~ procmail.c:736:20: note: place parentheses around the assignment to silence this warning 736 | for(chp=buf;i= *chp++;) | ^ | ( ) procmail.c:736:20: note: use '==' to turn this assignment into an equality comparison 736 | for(chp=buf;i= *chp++;) | ^ | == procmail.c:738:18: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 738 | { chp=skpspace(chp+1); | ^ procmail.c:742:20: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- formail.o --- 739 | lputcs('\n'); /* make sure it is followed by an empty line */ | ^ formail.c:758:2: warning: passing arguments to 'ltputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 758 | lputssn(buf,buffilled),ctlength-=buffilled,buffilled=lnl=0; | ^ ./formail.h:11:30: note: expanded from macro 'lputssn' 11 | #define lputssn(a,l) ltputssn(a,(size_t)(l)) | ^ formail.c:767:6: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 767 | nlog(cntlength);elog(" field exceeds actual length by "); | ^ formail.c:767:22: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- 742 | { chp=tstrdup(buf);sgetcp=buf2; | ^ procmail.c:743:21: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 743 | if(readparse(buf,sgetc,0,0)) | ^ procmail.c:747:42: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 747 | strcpy(buf2,buf);strcpy(buf,chp);free(chp); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ --- formail.o --- 767 | nlog(cntlength);elog(" field exceeds actual length by "); | ^ formail.c:768:8: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 768 | ultstr(0,(unsigned long)ctlength,num);elog(num);elog(" bytes\n"); | ^ formail.c:768:44: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 768 | ultstr(0,(unsigned long)ctlength,num);elog(num);elog(" bytes\n"); | ^ formail.c:768:54: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 768 | ultstr(0,(unsigned long)ctlength,num);elog(num);elog(" bytes\n"); | ^ --- procmail.o --- procmail.c:752:21: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 752 | nolock: { nlog("Couldn't determine implicit lockfile from"); | ^ procmail.c:753:16: warning: passing arguments to 'logqnl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 753 | logqnl(buf); | ^ procmail.c:756:11: warning: passing arguments to 'lcllock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 756 | lcllock(tolock,buf2); | ^ procmail.c:762:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- formail.o --- formail.c:776:15: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 776 | { if(eqFrom_(chp=rdheader->fld_text)) /* check if it's From_ */ | ^ formail.c:780:27: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 780 | (k=strcspn(chp=skpspace(chp+STRLEN(From_))," \t\n"))&& | ^ formail.c:781:13: warning: passing arguments to 'skpspace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 781 | *skpspace(chp+k)!='\n') | ^ formail.c:784:4: warning: passing arguments to 'ltputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- 762 | nlog(extrns),elog("copy-flag"),elog(ignrd); | ^ procmail.c:762:21: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 762 | nlog(extrns),elog("copy-flag"),elog(ignrd); | ^ procmail.c:762:39: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 762 | nlog(extrns),elog("copy-flag"),elog(ignrd); | ^ procmail.c:763:17: warning: passing arguments to 'inittmout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 763 | inittmout(buf); | ^ --- formail.o --- 784 | lputssn(escap,escaplen); | ^ ./formail.h:11:30: note: expanded from macro 'lputssn' 11 | #define lputssn(a,l) ltputssn(a,(size_t)(l)) | ^ formail.c:790:13: warning: passing arguments to 'lputcs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 790 | lputcs('\n'); /* but now it does :-) */ | ^ formail.c:795:14: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 795 | nlog(couldntw),elog(", continuing...\n"); | ^ formail.c:795:29: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- procmail.c:766:21: warning: passing arguments to 'pipthrough' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 766 | { if(!pipthrough(buf,startchar,tobesent)) | ^ procmail.c:767:18: warning: passing arguments to 'readmail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 767 | readmail(1,tobesent),succeed=!pipw; | ^ procmail.c:769:23: warning: passing arguments to 'pipthrough' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 769 | else if(!pipthrough(buf,startchar,tobesent)) | ^ --- formail.o --- 795 | nlog(couldntw),elog(", continuing...\n"); | ^ formail.c:799:25: warning: passing arguments to 'waitfor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 799 | if((excode=waitfor(child))!=EXIT_SUCCESS&& | ^ formail.c:805:13: warning: passing arguments to 'startprog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 805 | startprog((const char*Const*)argv); | ^ formail.c:810:17: warning: passing arguments to 'eqFrom_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 810 | else if(eqFrom_(buf)) /* special case, From_ line */ | ^ --- procmail.o --- procmail.c:771:15: warning: passing arguments to 'readmail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 771 | readmail(0,tobesent); | ^ procmail.c:776:23: warning: passing arguments to 'pipthrough' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 776 | succeed=!pipthrough(buf,startchar,tobesent); | ^ procmail.c:777:22: warning: passing arguments to 'pipin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 777 | else if(!pipin(buf,startchar,tobesent,1)) /* regular program */ | ^ procmail.c:787:15: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- formail.o --- formail.c:842:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 842 | if(fldp=rdheader) /* we already read some "valid" fields */ | ~~~~^~~~~~~~~ formail.c:842:9: note: place parentheses around the assignment to silence this warning 842 | if(fldp=rdheader) /* we already read some "valid" fields */ | ^ | ( ) formail.c:842:9: note: use '==' to turn this assignment into an equality comparison 842 | if(fldp=rdheader) /* we already read some "valid" fields */ | ^ | == formail.c:848:11: warning: passing arguments to 'ltputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 848 | { lputssn(escap,escaplen); | ^ ./formail.h:11:30: note: expanded from macro 'lputssn' --- procmail.o --- 787 | else if(testB(EOF)) | ^ procmail.c:788:9: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 788 | nlog("Incomplete recipe\n"); | ^ procmail.c:791:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 791 | if(ofiltflag=flags[FILTER]) | ~~~~~~~~~^~~~~~~~~~~~~~ procmail.c:791:17: note: place parentheses around the assignment to silence this warning 791 | if(ofiltflag=flags[FILTER]) | ^ | ( ) procmail.c:791:17: note: use '==' to turn this assignment into an equality comparison 791 | if(ofiltflag=flags[FILTER]) | ^ | == --- formail.o --- 11 | #define lputssn(a,l) ltputssn(a,(size_t)(l)) | ^ formail.c:849:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 849 | if(p=memchr(chp,'\n',fldp->Tot_len)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formail.c:849:8: note: place parentheses around the assignment to silence this warning 849 | if(p=memchr(chp,'\n',fldp->Tot_len)) | ^ | ( ) formail.c:849:8: note: use '==' to turn this assignment into an equality comparison 849 | if(p=memchr(chp,'\n',fldp->Tot_len)) | ^ | == formail.c:853:4: warning: passing arguments to 'ltputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- procmail.o --- procmail.c:792:28: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 792 | flags[FILTER]=0,nlog(extrns),elog("filter-flag"),elog(ignrd); | ^ procmail.c:792:41: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 792 | flags[FILTER]=0,nlog(extrns),elog("filter-flag"),elog(ignrd); | ^ procmail.c:792:61: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 792 | flags[FILTER]=0,nlog(extrns),elog("filter-flag"),elog(ignrd); | ^ --- formail.o --- 853 | lputssn(chp,p-chp); | ^ ./formail.h:11:30: note: expanded from macro 'lputssn' 11 | #define lputssn(a,l) ltputssn(a,(size_t)(l)) | ^ formail.c:856:8: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 856 | free(fldp); /* delete it */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ formail.c:858:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 858 | while(fldp=fp2); /* escape all fields we found */ | ~~~~^~~~ formail.c:858:15: note: place parentheses around the assignment to silence this warning --- procmail.o --- procmail.c:793:18: warning: passing arguments to 'gobenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 793 | if(chp=gobenv(buf,end)) /* can it be an environment name? */ | ^ procmail.c:793:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 793 | if(chp=gobenv(buf,end)) /* can it be an environment name? */ | ~~~^~~~~~~~~~~~~~~~ procmail.c:793:11: note: place parentheses around the assignment to silence this warning 793 | if(chp=gobenv(buf,end)) /* can it be an environment name? */ | ^ | ( ) procmail.c:793:11: note: use '==' to turn this assignment into an equality comparison 793 | if(chp=gobenv(buf,end)) /* can it be an environment name? */ | ^ --- formail.o --- 858 | while(fldp=fp2); /* escape all fields we found */ | ^ | ( ) formail.c:858:15: note: use '==' to turn this assignment into an equality comparison 858 | while(fldp=fp2); /* escape all fields we found */ | ^ | == formail.c:862:8: warning: passing arguments to 'ltputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 862 | lputssn(escap,escaplen); | ^ ./formail.h:11:30: note: expanded from macro 'lputssn' 11 | #define lputssn(a,l) ltputssn(a,(size_t)(l)) | ^ formail.c:867:52: warning: passing arguments to 'flushfield' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- goodies.o --- 57 warnings generated. --- 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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | eqFrom_ P((const char*const a)); | ^ --- procmail.o --- | == procmail.c:795:19: warning: passing arguments to 'getlline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 795 | { getlline(buf,buf+linebuf); | ^ procmail.c:800:16: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 800 | if(testB('=')) /* is it really an assignment? */ | ^ procmail.c:805:10: warning: passing arguments to 'ungetb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 805 | ungetb(c=getb()); | ^ procmail.c:809:22: warning: passing arguments to 'tstrdup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- formail.o --- 867 | ox=xheader;oX=Xheader;xheader=Xheader=0;flushfield(&rdheader); | ^ formail.c:871:8: warning: passing arguments to 'ltputssn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 871 | flbuf: lputssn(buf,buffilled),buffilled=0; | ^ ./formail.h:11:30: note: expanded from macro 'lputssn' 11 | #define lputssn(a,l) ltputssn(a,(size_t)(l)) | ^ formail.c:880:27: warning: passing arguments to 'waitfor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 880 | while((excode=waitfor((pid_t)0))!=NO_PROCESS) | ^ formail.c:365:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- 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 C2x [-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 C2x, 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 C2x [-Wdeprecated-non-prototype] 45 | start=skpspace(start);start+=strcspn(start," \t\n"); /* jump over address */ | ^ --- procmail.o --- 809 | Stdout = tstrdup(buf); | ^ procmail.c:815:11: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 815 | testB('{')&& | ^ procmail.c:816:33: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 816 | (*chp++='{',*chp='\0',testB(' ')|| /* } } */ | ^ procmail.c:817:12: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 817 | testB('\t')|| | ^ --- formail.o --- 365 | int main(lastm,argv)int lastm;const char*const argv[]; | ^ formail.c:889:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 889 | 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | eqFrom_ P((const char*const a)), | ^ formail.c:893:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 893 | int breakfield(line,len)const char*const line;size_t len; /* look where the */ | ^ In file included from formail.c:18: --- 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 C2x [-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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] --- procmail.o --- procmail.c:818:12: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 818 | testB('\n'))) | ^ procmail.c:820:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 820 | nlog(extrns),elog("locallockfile"),elog(ignrd); | ^ procmail.c:820:21: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 820 | nlog(extrns),elog("locallockfile"),elog(ignrd); | ^ procmail.c:820:43: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] --- formail.o --- ./formail.h:43:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | breakfield Q((const char*const line,size_t len)); | ^ --- 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 C2x [-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 C2x [-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 C2x [-Wdeprecated-non-prototype] 115 | { if((extra=rread(STDIN,themail.p,(int)(linebuf-2)))<=0) | ^ --- procmail.o --- 820 | nlog(extrns),elog("locallockfile"),elog(ignrd); | ^ procmail.c:822:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 822 | nlog(extrns),elog("deliver-body flag"),elog(ignrd); | ^ procmail.c:822:21: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 822 | nlog(extrns),elog("deliver-body flag"),elog(ignrd); | ^ procmail.c:822:47: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 822 | nlog(extrns),elog("deliver-body flag"),elog(ignrd); | ^ --- from.o --- from.c:127:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 127 | nlog(insufprivs); | ^ from.c:137:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 137 | else | ^ from.c:161:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 161 | 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 C2x [-Wdeprecated-non-prototype] 69 | void makeFrom(from,invoker)const char*from,*const invoker; | ^ In file included from from.c:19: --- procmail.o --- procmail.c:824:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 824 | nlog(extrns),elog("deliver-head flag"),elog(ignrd); | ^ procmail.c:824:21: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 824 | nlog(extrns),elog("deliver-head flag"),elog(ignrd); | ^ procmail.c:824:47: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 824 | nlog(extrns),elog("deliver-head flag"),elog(ignrd); | ^ --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | makeFrom P((const char*from,const char*const invoker)), | ^ from.c:179:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 179 | if(grp=getgrgid(gid)) /* check out the invoker's gid */ | ~~~^~~~~~~~~~~~~~ from.c:179:12: note: place parentheses around the assignment to silence this warning 179 | if(grp=getgrgid(gid)) /* check out the invoker's gid */ | ^ | ( ) from.c:179:12: note: use '==' to turn this assignment into an equality comparison 179 | if(grp=getgrgid(gid)) /* check out the invoker's gid */ | ^ | == --- procmail.o --- procmail.c:826:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 826 | nlog(extrns),elog("ignore-write-error flag"),elog(ignrd); | ^ procmail.c:826:21: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 826 | nlog(extrns),elog("ignore-write-error flag"),elog(ignrd); | ^ procmail.c:826:53: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 826 | nlog(extrns),elog("ignore-write-error flag"),elog(ignrd); | ^ --- from.o --- from.c:169:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 169 | void checkprivFrom_(euid,logname,override)uid_t euid;const char*logname; | ^ In file included from from.c:19: ./from.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | checkprivFrom_ Q((uid_t euid,const char*logname,int override)); | ^ --- procmail.o --- procmail.c:828:8: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 828 | nlog(extrns),elog("raw-mode flag"),elog(ignrd); | ^ procmail.c:828:21: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 828 | nlog(extrns),elog("raw-mode flag"),elog(ignrd); | ^ procmail.c:828:43: warning: passing arguments to 'elog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 828 | nlog(extrns),elog("raw-mode flag"),elog(ignrd); | ^ procmail.c:832:11: warning: passing arguments to 'app_val_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 832 | { 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:833:4: warning: passing arguments to 'app_val_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 833 | 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:835:14: warning: passing arguments to 'lcllock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 835 | { lcllock(tolock,""); | ^ procmail.c:841:11: warning: passing arguments to 'yell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 841 | { yell("Forking",procmailn); | ^ procmail.c:843:16: warning: passing arguments to 'inittmout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 843 | inittmout(procmailn);onguard(); | ^ procmail.c:846:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 846 | free(loclock),loclock=0; | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:848:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 848 | free(globlock),globlock=0; /* clear up the */ | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:853:20: warning: passing arguments to 'forkerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 853 | if(forkerr(pidchild,procmailn)) | ^ procmail.c:858:24: warning: passing arguments to 'waitfor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 858 | (excode=waitfor(pidchild))!=EXIT_SUCCESS) | ^ procmail.c:860:12: warning: passing arguments to 'progerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 860 | progerr(procmailn,excode,pwait&2); | ^ procmail.c:874:17: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 874 | if(readparse(chp,getb,0,skiprc)) | ^ procmail.c:883:11: warning: passing arguments to 'lcllock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 883 | lcllock(tolock,buf); | ^ procmail.c:884:17: warning: passing arguments to 'inittmout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 884 | inittmout(buf); /* to break messed-up kernel locks */ | ^ procmail.c:885:22: warning: passing arguments to 'writefolder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 885 | if(writefolder(buf,strchr(buf,'\0')+1,startchar,tobesent, | ^ procmail.c:889:7: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 889 | free(ifstack.vals); | ^ ./shell.h:8:23: note: expanded from macro 'free' 8 | #define free(p) tfree(p) | ^ procmail.c:893:23: warning: passing arguments to 'tgetenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 893 | logabstract(tgetenv(lastfolder)); | ^ procmail.c:893:15: warning: passing arguments to 'logabstract' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 893 | logabstract(tgetenv(lastfolder)); | ^ procmail.c:900:19: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 900 | else if(testB('}')) /* end block */ | ^ procmail.c:908:9: warning: passing arguments to 'nlog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 908 | nlog("Closing brace unexpected\n"); /* stack empty */ | ^ procmail.c:912:17: warning: passing arguments to 'gobenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 912 | if(!(chp=gobenv(buf,end))) | ^ procmail.c:914:13: warning: passing arguments to 'getbl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 914 | getbl(buf,end); /* then a line */ | ^ procmail.c:915:12: warning: passing arguments to 'skipped' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 915 | skipped(buf); /* display leftovers */ | ^ procmail.c:921:10: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 921 | if(testB('=')) /* removal or assignment? */ | ^ procmail.c:923:17: warning: passing arguments to 'readparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 923 | if(readparse(++chp,getb,1,skiprc)) | ^ procmail.c:930:14: warning: passing arguments to 'sputenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 930 | p=sputenv(buf); | ^ procmail.c:932:10: warning: passing arguments to 'asenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 932 | asenv(p); | ^ procmail.c:938:15: warning: passing arguments to 'testB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 938 | while(!testB(EOF)||(skiprc=0,poprc())); | ^ --- variables.o --- 115 warnings generated. --- ../new/lockfile --- --- formail.o --- 184 warnings generated. --- pipes.o --- 148 warnings generated. --- formail --- --- ../new/lockfile --- ln ../src/lockfile ../new/lockfile --- 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 -fstack-protector-strong -s -lm -ldl -lc --- mans --- --- procmail.1 --- --- formail.1 --- --- lockfile.1 --- --- procmailrc.5 --- --- procmailsc.5 --- --- procmailex.5 --- --- procmail.1 --- /bin/sh ./mansed /bin/sh procmail.man procmail.1 "/bin/rm -f" /dev/null --- formail.1 --- /bin/sh ./mansed /bin/sh formail.man formail.1 "/bin/rm -f" /dev/null --- lockfile.1 --- /bin/sh ./mansed /bin/sh lockfile.man lockfile.1 "/bin/rm -f" /dev/null --- procmailrc.5 --- /bin/sh ./mansed /bin/sh procmailrc.man procmailrc.5 "/bin/rm -f" /dev/null --- procmailsc.5 --- /bin/sh ./mansed /bin/sh procmailsc.man procmailsc.5 "/bin/rm -f" /dev/null --- procmailex.5 --- /bin/sh ./mansed /bin/sh procmailex.man procmailex.5 "/bin/rm -f" /dev/null --- bins --- --- mailfold.o --- 122 warnings generated. --- from.o --- 41 warnings generated. --- regexp.o --- 44 warnings generated. --- procmail.o --- 243 warnings generated. --- ../new/formail --- --- misc.o --- 138 warnings generated. --- ../new/formail --- ln ../src/formail ../new/formail --- mans --- --- ../new/procmailrc.5 --- ln ../man/procmailrc.5 ../new/procmailrc.5 --- bins --- --- lmtp.o --- 72 warnings generated. --- mans --- --- ../new/procmailsc.5 --- --- bins --- --- 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 -fstack-protector-strong -s -lm -ldl -lc --- mans --- ln ../man/procmailsc.5 ../new/procmailsc.5 --- ../new/procmailex.5 --- ln ../man/procmailex.5 ../new/procmailex.5 --- ../new/formail.1 --- --- ../new/lockfile.1 --- --- ../new/formail.1 --- ln ../man/formail.1 ../new/formail.1 --- bins --- --- ../new/procmail --- ln ../src/procmail ../new/procmail --- mans --- --- ../new/lockfile.1 --- ln ../man/lockfile.1 ../new/lockfile.1 --- ../new/procmail.1 --- ln ../man/procmail.1 ../new/procmail.1 --- 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=nobody UID=65534 GID=65534 ===> Staging for procmail-3.22_11 ===> 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/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/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/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/work/stage/usr/local/share/doc/procmail/ /wrkdirs/usr/ports/mail/procmail/work/stage/usr/local/share/examples/procmail/ cd /wrkdirs/usr/ports/mail/procmail/work/procmail-3.22/ && install -m 0644 FAQ FEATURES HISTORY KNOWN_BUGS README /wrkdirs/usr/ports/mail/procmail/work/stage/usr/local/share/doc/procmail/ cd /wrkdirs/usr/ports/mail/procmail/work/procmail-3.22/examples/ && install -m 0644 1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail advanced dirname forward local_procmail_lmtp.m4 mailstat /wrkdirs/usr/ports/mail/procmail/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=2024-04-09T07:43:31+0000' 'PKG_NOTE_ports_top_git_hash=3d100fcffcd' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=f139e51116d' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building packages for procmail-3.22_11 ===> Building procmail-3.22_11 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for procmail-3.22_11 build of mail/procmail | procmail-3.22_11 ended at Tue Apr 9 09:44:46 CEST 2024 build time: 00:01:18